ui: Show namespace label on left side of graph nodes

* Added arrow indicating namespace and package name on left side of node
* Show namespace label when hovering arrow
* Activate namespace when clicking label
* New design for namespace nodes
This commit is contained in:
Eberhard Graether
2016-11-28 16:28:52 +01:00
parent 1b15933819
commit e9cadbed8d
18 changed files with 397 additions and 73 deletions
@@ -41,7 +41,7 @@ public:
std::list<std::shared_ptr<QtGraphNode>> getSubNodes() const;
Vec2i getPosition() const;
bool setPosition(const Vec2i& position);
virtual bool setPosition(const Vec2i& position);
Vec2i getSize() const;
void setSize(const Vec2i& size);
@@ -76,6 +76,7 @@ public:
virtual bool isAccessNode() const;
virtual bool isExpandToggleNode() const;
virtual bool isBundleNode() const;
virtual bool isQualifierNode() const;
virtual Id getTokenId() const;