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
+4
View File
@@ -27,9 +27,13 @@ public:
const std::vector<Id>& activeTokenIds
);
void setActiveTokenIds(const std::vector<Id>& activeTokenIds);
void setShowMaximizeButton(bool show);
private:
std::vector<std::shared_ptr<QtCodeSnippet> > m_snippets;
const std::string m_fileName;
bool m_showMaximizeButton;
};
#endif // QT_CODE_FILE_H