ui: styled nodes in graph view
This change styles the nodes in the QtGraphView. Since Stylesheets can't be applied to QGraphicsItems, the style implementation was done in the source files. The containers for public/protected/private nodes are now subclassed from QtGraphNode as QtGraphNodeAccess, including a helper class QtAccessArrow for indicating the opened/colapsed state.
This commit is contained in:
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 760 B |
Binary file not shown.
|
After Width: | Height: | Size: 697 B |
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.6 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.1 KiB |
@@ -133,3 +133,14 @@ public:
|
||||
private:
|
||||
int m_importantInt;
|
||||
};
|
||||
|
||||
class AnotherClass
|
||||
: public A
|
||||
{
|
||||
public:
|
||||
int publicInt;
|
||||
protected:
|
||||
int protectedInt;
|
||||
private:
|
||||
int privateInt;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user