KDStateMachineEditor API Documentation 2.1
|
Modifies the initial state of a KDSME::State. More...
#include <modifyinitialstatecommand_p.h>
Public Member Functions | |
ModifyInitialStateCommand (State *state, State *initialState, QUndoCommand *parent=nullptr) | |
~ModifyInitialStateCommand () | |
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 initial state of a KDSME::State.
On undo the previous initial state is restored.
Definition at line 32 of file modifyinitialstatecommand_p.h.
|
explicit |
Definition at line 25 of file modifyinitialstatecommand.cpp.
References KDSME::Element::label.
|
default |
|
override |
Definition at line 36 of file modifyinitialstatecommand.cpp.
References KDSME::Command::ModifyInitialState.
|
override |
Definition at line 49 of file modifyinitialstatecommand.cpp.
References KDSME::ElementUtil::findInitialState(), and KDSME::ElementUtil::setInitialState().
|
override |
Definition at line 41 of file modifyinitialstatecommand.cpp.
References KDSME::ElementUtil::setInitialState().