|  | 
#include <ArmarXGui/gui-plugins/StatechartViewerPlugin/view/StateItem.h>
 Inheritance diagram for StateItem:
 Inheritance diagram for StateItem:| Public Slots | |
| void | adjustSize () | 
| void | forwardTransitionContextMenuRequested (statechartmodel::TransitionCPtr transition, QPoint mouseScreenPos, QPointF mouseItemPos) | 
| void | notifyStateChanged (statechartmodel::SignalType signalType) | 
| void | notifySubstateChanged (statechartmodel::StateInstancePtr substate, statechartmodel::SignalType signalType) | 
| void | notifyTransitionChanged (statechartmodel::TransitionCPtr transition, statechartmodel::SignalType signalType) | 
| void | notifyTransitionsChanged (statechartmodel::StateInstancePtr transition, statechartmodel::SignalType signalType) | 
| void | setActiveState (bool active) | 
| void | setActiveSubstate (const QString &substateName) | 
| void | setInstanceName (const QString &value) | 
| void | transitionMoved (statechartmodel::TransitionCPtr transition, QPointF dropPoint) | 
| void | viewAll () | 
| Signals | |
| void | stateContextMenuRequested (statechartmodel::StateInstancePtr stateInstace, QPoint mouseScreenPos, QPointF mouseItemPos) | 
| void | stateItemBoundingBoxChanged (float newSquareBoundingBoxSize) | 
| void | stateItemMoved (QPointF newPosition) | 
| void | stateItemResized (QSizeF newSize) | 
| void | transitionContextMenuRequested (statechartmodel::TransitionCPtr transition, statechartmodel::StatePtr state, QPoint mouseScreenPos, QPointF mouseItemPos) | 
| Public Member Functions | |
| void | clearActiveSubstate () | 
| QString | getFullStatePath () const | 
| QString | getInstanceName () const | 
| LevelOfDetail | getLevelOfDetail (float levelOfDetail) const override | 
| int | getMaxShownSubstateLevel () const | 
| StateItem * | getParentStateItem () const | 
| statechartmodel::StateInstancePtr | getStateInstance () const | 
| QVector< StateItem * > | getSubstateItems () const | 
| QVector< TransitionItem * > | getTransitionItems () const | 
| bool | hasAncestor (statechartmodel::StatePtr state) const | 
| bool | hasDescendant (statechartmodel::StatePtr state) const | 
| void | setMaxShownSubstateLevel (int value) | 
| StateItem (statechartmodel::StateInstancePtr state, QGraphicsItem *parent=0) | |
| ~StateItem () override | |
|  Public Member Functions inherited from RoundRectItem | |
| void | adjustScale (float &resultScalefactor) | 
| QRectF | boundingRect () const override | 
| bool | isEditable () const | 
| bool | isLevelOfDetailLow (QGraphicsSceneEvent *event) const | 
| QVariant | itemChange (QGraphicsItem::GraphicsItemChange change, const QVariant &value) override | 
| void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0) override | 
| RoundRectItem (const QRectF &bounds, const QColor &color, QGraphicsItem *parent=0) | |
| void | setBounds (QRectF newBounds) | 
| void | setColor (QColor newColor) | 
| void | setEditable (bool editable) | 
| void | setRimPen (QPen newPen) | 
| void | setSize (const QSizeF &newSize) | 
|  Public Member Functions inherited from Logging | |
| SpamFilterDataPtr | deactivateSpam (float deactivationDurationSec=10.0f, const std::string &identifier="", bool deactivate=true) const | 
| disables the logging for the current line for the given amount of seconds.  More... | |
| MessageTypeT | getEffectiveLoggingLevel () const | 
| Logging () | |
| void | setLocalMinimumLoggingLevel (MessageTypeT level) | 
| With setLocalMinimumLoggingLevel the minimum verbosity-level of log-messages can be set.  More... | |
| void | setTag (const LogTag &tag) | 
| void | setTag (const std::string &tagName) | 
| virtual | ~Logging () | 
|  Public Member Functions inherited from MorphingItem | |
| virtual LevelOfDetail | getLevelOfDetail (QPainter *painter) const | 
| virtual LevelOfDetail | getLevelOfDetailByParent (QPainter *painter, MorphingItem *parent) const | 
| MorphingItem (QGraphicsItem *derivedItem) | |
| Protected Types | |
| using | StateInstanceItemMap = QMap< statechartmodel::StateInstancePtr, QPointer< StateItem > > | 
| using | TransitionMap = QMap< statechartmodel::TransitionCPtr, QPointer< TransitionItem > > | 
| Protected Member Functions | |
| QPointF | adjustPosition (QPointF &newPos) override | 
| void | connectSlots () | 
| void | contextMenuEvent (QGraphicsSceneContextMenuEvent *event) override | 
| void | dragEnterEvent (QGraphicsSceneDragDropEvent *event) override | 
| void | dragMoveEvent (QGraphicsSceneDragDropEvent *event) override | 
| void | dropEvent (QGraphicsSceneDragDropEvent *event) override | 
| int | getInstanceLevel () const | 
| void | initialCreation () | 
| void | itemBoundingBoxChanged (float oldSize, float size) override | 
| QVariant | itemChange (GraphicsItemChange change, const QVariant &value) override | 
| void | itemMoved (const QPointF &oldPos, const QPointF &newPos) override | 
| void | itemResized (const QRectF &oldSize, const QRectF &newSize) override | 
| bool | itemResizing (const QRectF &oldSize, QRectF &proposedSize) override | 
| void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override | 
| void | removeChildren () | 
| void | setRimColor () | 
| void | setStateColor () | 
| void | setup (QGraphicsItem *parent) | 
| void | updateToolTip () | 
|  Protected Member Functions inherited from RoundRectItem | |
| void | adjustCursor (Qt::CursorShape shape) | 
| QRectF | getBottomResizeBB () const | 
| QRectF | getLeftResizeBB () const | 
| QRectF | getRightResizeBB () const | 
| QRectF | getTopResizeBB () const | 
| void | hoverEnterEvent (QGraphicsSceneHoverEvent *event) override | 
| void | hoverLeaveEvent (QGraphicsSceneHoverEvent *event) override | 
| void | hoverMoveEvent (QGraphicsSceneHoverEvent *event) override | 
| void | mouseDoubleClickEvent (QGraphicsSceneMouseEvent *event) override | 
| void | mouseMoveEvent (QGraphicsSceneMouseEvent *event) override | 
| void | mousePressEvent (QGraphicsSceneMouseEvent *event) override | 
| void | mouseReleaseEvent (QGraphicsSceneMouseEvent *event) override | 
|  Protected Member Functions inherited from Logging | |
| bool | checkLogLevel (MessageTypeT level) const | 
| const LogSenderPtr & | getLogSender () const | 
| Retrieve log sender.  More... | |
| LogSenderPtr | loghelper (const char *file, int line, const char *function) const | 
| Protected Attributes | |
| bool | active = false | 
| QString | instanceName | 
| int | maxShownSubstateLevel = -1 | 
| statechartmodel::StateInstancePtr | state | 
| StateScene * | stateScene | 
| StateInstanceItemMap | subStates | 
| QWidget * | subWidget | 
| TransitionMap | transitions | 
|  Protected Attributes inherited from RoundRectItem | |
| QRectF | bounds | 
|  Protected Attributes inherited from Logging | |
| MessageTypeT | minimumLoggingLevel | 
| SpamFilterDataPtr | spamFilter | 
| LogTag | tag | 
| Additional Inherited Members | |
|  Static Public Member Functions inherited from MorphingItem | |
| static QGraphicsView * | getView (QGraphicsSceneEvent *event) | 
|  Static Public Attributes inherited from MorphingItem | |
| static constexpr float | hideOnHighDeZoomThreshold = 10.f | 
| static constexpr float | minSizeToShowSubstates = 70.f | 
Definition at line 58 of file StateItem.h.
| 
 | protected | 
Definition at line 131 of file StateItem.h.
| 
 | protected | 
Definition at line 134 of file StateItem.h.
| 
 | explicit | 
Definition at line 50 of file StateItem.cpp.
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | override | 
Definition at line 75 of file StateItem.cpp.
| 
 | overrideprotectedvirtual | 
Reimplemented from RoundRectItem.
Definition at line 659 of file StateItem.cpp.
| 
 | slot | 
| void clearActiveSubstate | ( | ) | 
| 
 | protected | 
Definition at line 470 of file StateItem.cpp.
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | overrideprotected | 
| 
 | overrideprotected | 
| 
 | overrideprotected | 
| 
 | overrideprotected | 
| 
 | slot | 
| QString getFullStatePath | ( | ) | const | 
Definition at line 711 of file StateItem.cpp.
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
| QString getInstanceName | ( | ) | const | 
| 
 | overridevirtual | 
Reimplemented from MorphingItem.
Definition at line 1069 of file StateItem.cpp.
 Here is the call graph for this function:
 Here is the call graph for this function:| int getMaxShownSubstateLevel | ( | ) | const | 
Definition at line 670 of file StateItem.cpp.
| StateItem * getParentStateItem | ( | ) | const | 
Definition at line 724 of file StateItem.cpp.
| 
 | inline | 
| QVector< StateItem * > getSubstateItems | ( | ) | const | 
| QVector< TransitionItem * > getTransitionItems | ( | ) | const | 
Definition at line 746 of file StateItem.cpp.
| bool hasAncestor | ( | statechartmodel::StatePtr | state | ) | const | 
| bool hasDescendant | ( | statechartmodel::StatePtr | state | ) | const | 
Definition at line 1059 of file StateItem.cpp.
| 
 | protected | 
Definition at line 507 of file StateItem.cpp.
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:Reimplemented from RoundRectItem.
Definition at line 815 of file StateItem.cpp.
| 
 | overrideprotected | 
Definition at line 845 of file StateItem.cpp.
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | overrideprotectedvirtual | 
Reimplemented from RoundRectItem.
Definition at line 804 of file StateItem.cpp.
| 
 | overrideprotectedvirtual | 
Reimplemented from RoundRectItem.
Definition at line 795 of file StateItem.cpp.
| 
 | overrideprotectedvirtual | 
Reimplemented from RoundRectItem.
Definition at line 784 of file StateItem.cpp.
| 
 | slot | 
Definition at line 207 of file StateItem.cpp.
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | slot | 
Definition at line 224 of file StateItem.cpp.
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | slot | 
Definition at line 319 of file StateItem.cpp.
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | slot | 
Definition at line 393 of file StateItem.cpp.
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | overrideprotected | 
| 
 | protected | 
| 
 | slot | 
| 
 | slot | 
| 
 | slot | 
Definition at line 767 of file StateItem.cpp.
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| void setMaxShownSubstateLevel | ( | int | value | ) | 
Definition at line 676 of file StateItem.cpp.
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Definition at line 590 of file StateItem.cpp.
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Definition at line 533 of file StateItem.cpp.
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
| 
 | signal | 
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | signal | 
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | signal | 
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | signal | 
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | signal | 
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | slot | 
Definition at line 419 of file StateItem.cpp.
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Definition at line 604 of file StateItem.cpp.
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | slot | 
Definition at line 447 of file StateItem.cpp.
| 
 | protected | 
Definition at line 137 of file StateItem.h.
| 
 | protected | 
Definition at line 133 of file StateItem.h.
| 
 | protected | 
Definition at line 136 of file StateItem.h.
| 
 | protected | 
Definition at line 130 of file StateItem.h.
| 
 | protected | 
Definition at line 129 of file StateItem.h.
| 
 | protected | 
Definition at line 132 of file StateItem.h.
| 
 | protected | 
Definition at line 128 of file StateItem.h.
| 
 | protected | 
Definition at line 135 of file StateItem.h.