|
#include <ArmarXGui/gui-plugins/StatechartViewerPlugin/view/TransitionItem.h>
Public Slots | |
void | attachToMouse (int supportPointIndex) |
void | highlightAnimation (int duration=5000) |
void | recalcPath () |
void | recalcShape () |
void | setEditable (bool editable) |
void | setSelected (bool selected) |
void | updateLabel () |
Signals | |
void | transitionContextMenuRequested (statechartmodel::TransitionCPtr transition, QPoint mouseScreenPos, QPointF mouseItemPos) |
void | transitionEndPlaced (statechartmodel::TransitionCPtr transition, QPointF dropPosition) |
void | transitionSupportPointPlaced (QPointF dropPosition) |
Public Member Functions | |
QRectF | boundingRect () const override |
QPolygonF | calcHull (QPainter *painter=0) const |
QColor | getColor () const |
QColor | getHighlightColor () const |
IceUtil::Time | getLastHighlightTimestamp () const |
statechartmodel::TransitionCPtr | getTransition () const |
bool | isInitialTransition () const |
void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override |
void | setColor (const QColor &color) |
void | setHighlightColor (const QColor &color) |
QPainterPath | shape () const override |
TransitionItem (statechartmodel::TransitionCPtr transition, QGraphicsItem *parent=0) | |
Public Member Functions inherited from MorphingItem | |
virtual LevelOfDetail | getLevelOfDetail (float levelOfDetail) const |
virtual LevelOfDetail | getLevelOfDetail (QPainter *painter) const |
virtual LevelOfDetail | getLevelOfDetailByParent (QPainter *painter, MorphingItem *parent) const |
MorphingItem (QGraphicsItem *derivedItem) | |
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 () |
Protected Member Functions | |
void | contextMenuEvent (QGraphicsSceneContextMenuEvent *event) override |
void | hoverEnterEvent (QGraphicsSceneHoverEvent *event) override |
void | hoverLeaveEvent (QGraphicsSceneHoverEvent *event) override |
void | hoverMoveEvent (QGraphicsSceneHoverEvent *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 | |
QPolygonF | shapePolygon |
Protected Attributes inherited from Logging | |
MessageTypeT | minimumLoggingLevel |
SpamFilterDataPtr | spamFilter |
LogTag | tag |
Properties | |
QColor | color |
QColor | highlightColor |
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 44 of file TransitionItem.h.
|
explicit |
|
slot |
Definition at line 257 of file TransitionItem.cpp.
|
override |
QPolygonF calcHull | ( | QPainter * | painter = 0 | ) | const |
Definition at line 293 of file TransitionItem.cpp.
|
overrideprotected |
Definition at line 795 of file TransitionItem.cpp.
QColor getColor | ( | ) | const |
Definition at line 359 of file TransitionItem.cpp.
QColor getHighlightColor | ( | ) | const |
Definition at line 370 of file TransitionItem.cpp.
IceUtil::Time getLastHighlightTimestamp | ( | ) | const |
Definition at line 79 of file TransitionItem.cpp.
statechartmodel::TransitionCPtr getTransition | ( | ) | const |
|
slot |
|
overrideprotected |
|
overrideprotected |
|
overrideprotected |
bool isInitialTransition | ( | ) | const |
|
overrideprotected |
|
overrideprotected |
Definition at line 719 of file TransitionItem.cpp.
|
overrideprotected |
Definition at line 781 of file TransitionItem.cpp.
|
override |
|
slot |
Definition at line 129 of file TransitionItem.cpp.
|
slot |
Definition at line 247 of file TransitionItem.cpp.
void setColor | ( | const QColor & | color | ) |
Definition at line 364 of file TransitionItem.cpp.
|
slot |
Definition at line 124 of file TransitionItem.cpp.
void setHighlightColor | ( | const QColor & | color | ) |
Definition at line 375 of file TransitionItem.cpp.
|
slot |
Definition at line 252 of file TransitionItem.cpp.
|
override |
|
signal |
|
signal |
|
signal |
|
slot |
|
protected |
Definition at line 90 of file TransitionItem.h.
|
readwrite |
Definition at line 51 of file TransitionItem.h.
|
readwrite |
Definition at line 52 of file TransitionItem.h.