KDStateMachineEditor
1.0.0
A framework for creating Qt State Machine metacode using a graphical user interface
|
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) |
Public Member Functions | |
StateMachineView (QWidget *parent=nullptr) | |
StateMachineScene * | scene () const |
CommandController * | commandController () const |
EditController * | editController () const |
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 |
Widget for displaying a KDSME::StateMachine in a Qt Quick based view.
Simple example building up and display a state machine in a view: