KDStateMachineEditor API Documentation 2.1
|
#include <command_p.h>
Public Types | |
enum | Id { CreateElement = 0 , DeleteElement , ReparentElement , LayoutSnapshot , ModifyProperty , ModifyInitialState , ModifyDefaultState , ModifyElement , ModifyTransition , ChangeStateMachine } |
Public Member Functions | |
Command (const QString &text=QString(), QUndoCommand *parent=nullptr) | |
Command (StateModel *model, QUndoCommand *parent=nullptr) | |
StateModel * | model () const |
Definition at line 26 of file command_p.h.
enum KDSME::Command::Id |
Enumerator | |
---|---|
CreateElement | |
DeleteElement | |
ReparentElement | |
LayoutSnapshot | |
ModifyProperty | |
ModifyInitialState | |
ModifyDefaultState | |
ModifyElement | |
ModifyTransition | |
ChangeStateMachine |
Definition at line 31 of file command_p.h.
|
explicit |
Definition at line 22 of file command.cpp.
|
explicit |
Definition at line 28 of file command.cpp.
KDSME::StateModel * Command::model | ( | ) | const |
Definition at line 34 of file command.cpp.
Referenced by KDSME::CreateElementCommand::redo(), KDSME::DeleteElementCommand::redo(), KDSME::ModifyTransitionCommand::redo(), KDSME::CreateElementCommand::undo(), KDSME::DeleteElementCommand::undo(), and KDSME::ModifyTransitionCommand::undo().