ui: draw scope annotations in CodeView using one big rectangle

And refactored QtCodeFile classes.
This commit is contained in:
Eberhard Graether
2015-05-16 12:57:47 +02:00
parent 8e9b7ec7bc
commit e4d71f8a01
9 changed files with 181 additions and 119 deletions
+3
View File
@@ -31,6 +31,8 @@ public:
void clearCodeSnippets();
Id getFocusedTokenId() const;
const std::vector<Id>& getActiveTokenIds() const;
void setActiveTokenIds(const std::vector<Id>& activeTokenIds);
@@ -49,6 +51,7 @@ private:
std::shared_ptr<QFrame> m_frame;
std::vector<std::shared_ptr<QtCodeFile>> m_files;
Id m_focusedTokenId;
std::vector<Id> m_activeTokenIds;
std::vector<std::string> m_errorMessages;
bool m_showMaximizeButton;