|
Envision
A visual programming IDE for object-oriented languages
|
Public Member Functions | |
| VCommentDiagram (Visualization::Item *parent, NodeType *node) | |
| VCommentDiagramShape * | diagramShape (int index) |
| bool | editing () const |
| QPair< int, int > | lastConnector () const |
| QPoint | lastRightClick () const |
| void | resize (QSize size) |
| void | selectLastShape () |
| void | setLastConnector (int shape, int point) |
| void | setLastRightClick (QPoint pos) |
| void | setShowConnectorPoints (bool show) |
| bool | showConnectorPoints () const |
| void | toggleEditing () |
| CommentDiagramToolbar * | toolbar () |
Protected Member Functions | |
| virtual void | determineChildren () override |
| virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override |
| virtual void | updateGeometry (int availableWidth, int availableHeight) override |
Private Member Functions | |
| void | clearChildren () |
Private Attributes | |
| QVector< VCommentDiagramConnector * > | connectors_ |
| bool | editing_ {} |
| QPair< int, int > | lastConnector_ {-1, -1} |
| QPoint | lastRightClick_ |
| QVector< VCommentDiagramShape * > | shapes_ |
| bool | showConnectorPoints_ {} |
Static Private Attributes | |
| static const int | EDIT_OUTLINE_SIZE = 10 |
| static CommentDiagramToolbar * | toolbar_ = new CommentDiagramToolbar{} |
Additional Inherited Members | |
Protected Types inherited from Core::Reflect< Base > | |
| using | Super = Reflect< Base > |
| Comments::VCommentDiagram::VCommentDiagram | ( | Visualization::Item * | parent, |
| NodeType * | node | ||
| ) |
|
private |
|
overrideprotectedvirtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
overrideprotectedvirtual |
| void Comments::VCommentDiagram::resize | ( | QSize | size | ) |
| void Comments::VCommentDiagram::selectLastShape | ( | ) |
|
inline |
|
inline |
| void Comments::VCommentDiagram::setShowConnectorPoints | ( | bool | show | ) |
|
inline |
| void Comments::VCommentDiagram::toggleEditing | ( | ) |
| CommentDiagramToolbar * Comments::VCommentDiagram::toolbar | ( | ) |
|
overrideprotectedvirtual |
|
private |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |