23 #ifndef KDSME_MODEL_TRANSITION_H
24 #define KDSME_MODEL_TRANSITION_H
33 Q_PROPERTY(
KDSME::State* sourceState READ sourceState WRITE setSourceState NOTIFY sourceStateChanged FINAL)
34 Q_PROPERTY(
KDSME::State* targetState READ targetState WRITE setTargetState NOTIFY targetStateChanged FINAL)
35 Q_PROPERTY(QString guard READ guard WRITE setGuard NOTIFY guardChanged FINAL)
37 Q_PROPERTY(QPainterPath shape READ shape WRITE setShape NOTIFY shapeChanged FINAL)
38 Q_PROPERTY(QRectF labelBoundingRect READ labelBoundingRect WRITE setLabelBoundingRect NOTIFY labelBoundingRectChanged FINAL)
46 State* sourceState() const;
47 void setSourceState(
State* sourceState);
49 State* targetState() const;
50 void setTargetState(
State* targetState);
52 virtual Type type() const override;
59 QString guard() const;
60 void setGuard(const QString& guard);
62 QPainterPath shape() const;
63 void setShape(const QPainterPath& path);
65 QRectF labelBoundingRect() const;
66 void setLabelBoundingRect(const QRectF& rect);
69 void sourceStateChanged(
State* sourceState);
70 void targetStateChanged(
State* targetState);
71 void guardChanged(const QString& guard);
72 void shapeChanged(const QPainterPath& path);
73 void labelBoundingRectChanged(const QRectF& rect);
77 QScopedPointer<Private> d;
80 KDSME_CORE_EXPORT QDebug operator<<(QDebug dbg, const Transition* transition);
85 Q_PROPERTY(QString signal READ signal WRITE setSignal NOTIFY signalChanged)
91 virtual Type type()
const override;
93 QString signal()
const;
94 void setSignal(
const QString& signal);
97 void signalChanged(
const QString& signal);
101 QScopedPointer<Private> d;
107 Q_PROPERTY(
int timeout READ timeout WRITE setTimeout NOTIFY timeoutChanged)
113 virtual Type type()
const override;
116 void setTimeout(
int timeout);
119 void timeoutChanged(
int timeout);
123 QScopedPointer<Private> d;
Definition: transition.h:82
Definition: transition.h:30
Definition: transition.h:104
Definition: abstractexporter.h:33