|
KDStateMachineEditor API Documentation 2.3
|
Modifies the default state of a KDSME::HistoryState. More...
#include <modifydefaultstatecommand_p.h>


Public Member Functions | |
| ModifyDefaultStateCommand (HistoryState *state, State *defaultState, QUndoCommand *parent=nullptr) | |
| ~ModifyDefaultStateCommand () | |
| int | id () const override |
| void | redo () override |
| void | undo () override |
Public Member Functions inherited from KDSME::Command | |
| Command (const QString &text=QString(), QUndoCommand *parent=nullptr) | |
| Command (StateModel *model, QUndoCommand *parent=nullptr) | |
| StateModel * | model () const |
Additional Inherited Members | |
Public Types inherited from KDSME::Command | |
| enum | Id { CreateElement = 0 , DeleteElement , ReparentElement , LayoutSnapshot , ModifyProperty , ModifyInitialState , ModifyDefaultState , ModifyElement , ModifyTransition , ChangeStateMachine } |
Modifies the default state of a KDSME::HistoryState.
On undo, the previous default state is restored.
Definition at line 33 of file modifydefaultstatecommand_p.h.
|
explicit |
Definition at line 25 of file modifydefaultstatecommand.cpp.
References KDSME::Element::label.
|
default |
|
override |
Definition at line 36 of file modifydefaultstatecommand.cpp.
References KDSME::Command::ModifyDefaultState.
|
override |
Definition at line 49 of file modifydefaultstatecommand.cpp.
|
override |
Definition at line 41 of file modifydefaultstatecommand.cpp.