|
KDStateMachineEditor API Documentation
1.2.50
|
Widget for displaying a KDSME::StateMachine in a Qt Quick based view. More...
#include <statemachineview.h>

Classes | |
| struct | Private |
Signals | |
| void | sceneChanged (KDSME::StateMachineScene *scene) |
| void | themeNameChanged (const QString &themeName) |
Public Member Functions | |
| StateMachineView (QWidget *parent=nullptr) | |
| StateMachineScene * | scene () const |
| CommandController * | commandController () const |
| EditController * | editController () const |
| QString | defaultThemeName () const |
| QString | themeName () const |
| void | setThemeName (const QString &themeName) |
| Q_INVOKABLE void | sendCommand (KDSME::Command *cmd) |
| Q_INVOKABLE void | fitInView () |
| Q_INVOKABLE void | changeStateMachine (KDSME::StateMachine *stateMachine) |
| Q_INVOKABLE void | deleteElement (KDSME::Element *element) |
Protected Member Functions | |
| QQuickItem * | viewPortObject () const |
| QQuickItem * | sceneObject () const |
Properties | |
| KDSME::StateMachineScene | scene |
| KDSME::CommandController | commandController |
| KDSME::EditController | editController |
| QString | themeName |
Widget for displaying a KDSME::StateMachine in a Qt Quick based view.
Simple example building up and display a state machine in a view: