ui: improved ui of maximized code file window

* Annotations updated when active token Id changes
* FileName in window title
* Maximize button not shown
* Scrolls roughly to the maximized location.
* Maximizing also on double click in code snippet
This commit is contained in:
Eberhard Graether
2014-07-28 01:17:01 +02:00
parent dea79f701b
commit 95929db6e0
11 changed files with 245 additions and 115 deletions
+5
View File
@@ -29,9 +29,14 @@ public:
void clearCodeSnippets();
void setActiveTokenIds(const std::vector<Id>& activeTokenIds);
void setShowMaximizeButton(bool show);
private:
std::shared_ptr<QFrame> m_frame;
std::vector<std::shared_ptr<QtCodeFile> > m_files;
bool m_showMaximizeButton;
};
#endif // QT_CODE_FILE_LIST