KDStateMachineEditor API Documentation 2.1
|
#include <commandfactory_p.h>
Signals | |
void | modelChanged (KDSME::StateModel *model) |
Properties | |
KDSME::StateModel * | model |
Definition at line 39 of file commandfactory_p.h.
|
explicit |
Definition at line 34 of file commandfactory.cpp.
ChangeStateMachineCommand * CommandFactory::changeStateMachineElement | ( | KDSME::StateMachineScene * | view, |
KDSME::StateMachine * | statemachine | ||
) |
Definition at line 103 of file commandfactory.cpp.
CreateElementCommand * CommandFactory::createElement | ( | KDSME::StateModel * | model, |
KDSME::Element::Type | type, | ||
KDSME::Element * | parentElement = nullptr |
||
) | const |
Definition at line 61 of file commandfactory.cpp.
References model.
DeleteElementCommand * CommandFactory::deleteElement | ( | KDSME::StateMachineScene * | view, |
KDSME::Element * | element | ||
) | const |
Definition at line 68 of file commandfactory.cpp.
LayoutSnapshotCommand * CommandFactory::layoutSnapshot | ( | KDSME::StateMachineScene * | view, |
const QString & | text = QString() |
||
) | const |
Definition at line 73 of file commandfactory.cpp.
StateModel * CommandFactory::model | ( | ) | const |
Definition at line 47 of file commandfactory.cpp.
|
signal |
Referenced by setModel().
ModifyElementCommand * CommandFactory::modifyElement | ( | KDSME::Element * | item | ) |
Definition at line 88 of file commandfactory.cpp.
ModifyPropertyCommand * CommandFactory::modifyProperty | ( | QObject * | object, |
const char * | property, | ||
const QVariant & | value, | ||
const QString & | text = QString() |
||
) |
Definition at line 78 of file commandfactory.cpp.
ModifyPropertyCommand * CommandFactory::modifyProperty | ( | QObject * | object, |
const QJsonObject & | propertyMap, | ||
const QString & | text = QString() |
||
) |
Definition at line 83 of file commandfactory.cpp.
KDSME::ModifyTransitionCommand * CommandFactory::modifyTransition | ( | KDSME::Transition * | transition, |
KDSME::StateModel * | model | ||
) |
Definition at line 93 of file commandfactory.cpp.
References model.
ReparentElementCommand * CommandFactory::reparentElement | ( | KDSME::StateMachineScene * | view, |
KDSME::Element * | element | ||
) |
Definition at line 98 of file commandfactory.cpp.
void CommandFactory::setModel | ( | KDSME::StateModel * | model | ) |
Definition at line 52 of file commandfactory.cpp.
References model, and modelChanged().
|
readwrite |
Definition at line 42 of file commandfactory_p.h.
Referenced by createElement(), modifyTransition(), and setModel().