42 int id()
const override
44 return ModifyTransition;
47 Q_INVOKABLE
void setSourceState(
KDSME::State *sourceState);
48 Q_INVOKABLE
void setTargetState(
KDSME::State *targetState);
49 Q_INVOKABLE
void setShape(
const QPainterPath &shape);
53 bool mergeWith(
const QUndoCommand *other)
override;
58 QPointer<Transition> m_transition;
63 SetSourceStateOperation,
64 SetTargetStateOperation,
68 QPointer<State> m_sourceState, m_oldSourceState;
69 QPointer<State> m_targetState, m_oldTargetState;
70 QPainterPath m_shape, m_oldShape;