Inheritance diagram for ModuleItem:Public Member Functions | |
| ModuleItem (Module *module, int moduleId, bool nestedInApp=false, bool editingMode=false, Manager *manager=NULL, BuilderItem *parent=0) | |
| ~ModuleItem () | |
| QRectF | boundingRect () const override |
| QPointF | connectionPoint () override |
| int | getId () |
| void | setRunning (bool) |
| void | setModuleSelected (bool selected) |
| int | type () const override |
| void | updateGraphicModel () |
| Module * | getInnerModule () |
Public Member Functions inherited from BuilderItem | |
| BuilderItem (QGraphicsObject *parent=0) | |
| QString | getItemName () |
| QPointF | getStartingPoint () |
| ItemSignalHandler * | signalHandler () |
| void | removeArrow (Arrow *arrow) |
| void | removeArrows () |
| void | addArrow (Arrow *arrow) |
| QList< Arrow * > * | getArrows () |
| bool | arrowAlreadyPresent (BuilderItem *endItem) |
| void | updateConnections () |
| bool | allowInputConnections () |
| bool | allowOutputConnections () |
| void | snapToGrid (bool snap) |
| QPointF | computeTopLeftGridPoint (const QPointF &pointP) |
| QList< QAction * > | getActions () |
| void | setActions (QList< QAction * >) |
| bool | isNestedInApp () |
Public Attributes | |
| QList< PortItem * > | iPorts |
| QList< PortItem * > | oPorts |
Protected Member Functions | |
| void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0) override |
| void | mouseMoveEvent (QGraphicsSceneMouseEvent *e) override |
| void | mousePressEvent (QGraphicsSceneMouseEvent *e) override |
| void | mouseReleaseEvent (QGraphicsSceneMouseEvent *e) override |
| QVariant | itemChange (GraphicsItemChange change, const QVariant &value) override |
| void | portPressed (PortItem *port, QGraphicsSceneMouseEvent *e) |
| void | portReleased (PortItem *port, QGraphicsSceneMouseEvent *e) |
| void | portMoved (PortItem *port, QGraphicsSceneMouseEvent *e) |
Friends | |
| class | Arrow |
| class | PortItem |
Additional Inherited Members | |
Protected Attributes inherited from BuilderItem | |
| QFont | font |
| ItemType | itemType |
| QString | itemName |
| QRectF | mainRect |
| QRectF | boundingR |
| QPointF | offset |
| bool | pressed |
| bool | moved |
| bool | creatingNewConnection |
| bool | allowInputs |
| bool | allowOutputs |
| bool | snap |
| bool | nestedInApp |
| ItemSignalHandler * | sigHandler |
| QList< Arrow * > | arrows |
| QList< QAction * > | actions |
| QPointF | startingPoint |
Definition at line 29 of file moduleitem.h.
| ModuleItem::ModuleItem | ( | Module * | module, |
| int | moduleId, | ||
| bool | nestedInApp = false, |
||
| bool | editingMode = false, |
||
| Manager * | manager = NULL, |
||
| BuilderItem * | parent = 0 |
||
| ) |
Definition at line 16 of file moduleitem.cpp.
| ModuleItem::~ModuleItem | ( | ) |
Definition at line 149 of file moduleitem.cpp.
|
overridevirtual |
Implements BuilderItem.
Definition at line 285 of file moduleitem.cpp.
|
overridevirtual |
Implements BuilderItem.
Definition at line 323 of file moduleitem.cpp.
| int ModuleItem::getId | ( | ) |
Definition at line 50 of file moduleitem.cpp.
| Module * ModuleItem::getInnerModule | ( | ) |
Definition at line 396 of file moduleitem.cpp.
|
overrideprotected |
Definition at line 365 of file moduleitem.cpp.
|
overrideprotected |
Definition at line 298 of file moduleitem.cpp.
|
overrideprotected |
Definition at line 312 of file moduleitem.cpp.
|
overrideprotected |
Definition at line 340 of file moduleitem.cpp.
|
overrideprotected |
Definition at line 180 of file moduleitem.cpp.
|
protected |
Definition at line 411 of file moduleitem.cpp.
|
protected |
Definition at line 391 of file moduleitem.cpp.
|
protected |
Definition at line 401 of file moduleitem.cpp.
| void ModuleItem::setModuleSelected | ( | bool | selected | ) |
Definition at line 359 of file moduleitem.cpp.
| void ModuleItem::setRunning | ( | bool | running | ) |
Definition at line 56 of file moduleitem.cpp.
|
overridevirtual |
Implements BuilderItem.
Definition at line 176 of file moduleitem.cpp.
| void ModuleItem::updateGraphicModel | ( | ) |
Definition at line 330 of file moduleitem.cpp.
|
friend |
Definition at line 32 of file moduleitem.h.
|
friend |
Definition at line 33 of file moduleitem.h.
| QList<PortItem*> ModuleItem::iPorts |
Definition at line 51 of file moduleitem.h.
| QList<PortItem*> ModuleItem::oPorts |
Definition at line 52 of file moduleitem.h.