KDStateMachineEditor API Documentation 2.1
|
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 |
![]() | |
Command (const QString &text=QString(), QUndoCommand *parent=nullptr) | |
Command (StateModel *model, QUndoCommand *parent=nullptr) | |
StateModel * | model () const |
Additional Inherited Members | |
![]() | |
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.