diff options
author | Brett Stottlemyer <bstottle@ford.com> | 2014-07-31 09:45:14 +0300 |
---|---|---|
committer | Brett Stottlemyer <bstottle@ford.com> | 2014-08-08 20:03:36 +0200 |
commit | d239b72fcf0ecd361b24024ed303dfd874e605f2 (patch) | |
tree | 6c10337da5f702a68074f71874205746649b1846 /src/imports/statemachine/plugins.qmltypes | |
parent | ca43c4121dde6c8f5d4eabfcf128ff6214996d54 (diff) |
Say hello to the Declarative State Machine Framework
The Declarative State Machine Framework extends Qt's State Machine
Framework (QSM) into QML to provide types for creating and executing
state graphs in QML. This gives you the power of deterministic state
machines, but declaratively and without having to write all of the
boilerplate code. It is an alternative to the existing QML State type,
intended for more complex models.
[ChangeLog][QtQML] The Declarative State Machine Framework extends Qt's
State Machine Framework (QSM) into QML. This gives you the power of
deterministic state machines, but declaratively.
Change-Id: I02390ba7f1baed50935364530925bd75087299cb
Reviewed-by: Sebastian Sauer <sebastian.sauer@kdab.com>
Reviewed-by: BogDan Vatra <bogdan@kde.org>
Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
Diffstat (limited to 'src/imports/statemachine/plugins.qmltypes')
-rw-r--r-- | src/imports/statemachine/plugins.qmltypes | 163 |
1 files changed, 163 insertions, 0 deletions
diff --git a/src/imports/statemachine/plugins.qmltypes b/src/imports/statemachine/plugins.qmltypes new file mode 100644 index 0000000000..a53d68f8e8 --- /dev/null +++ b/src/imports/statemachine/plugins.qmltypes @@ -0,0 +1,163 @@ +import QtQuick.tooling 1.1 + +// This file describes the plugin-supplied types contained in the library. +// It is used for QML tooling purposes only. +// +// This file was auto-generated by: +// 'qmlplugindump -nonrelocatable QtQml.StateMachine 1.0' + +Module { + Component { + name: "FinalState" + defaultProperty: "children" + prototype: "QFinalState" + exports: ["QtQml.StateMachine/FinalState 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "children"; type: "QObject"; isList: true; isReadonly: true } + } + Component { + name: "QAbstractState" + prototype: "QObject" + exports: ["QtQml.StateMachine/QAbstractState 1.0"] + isCreatable: false + exportMetaObjectRevisions: [0] + Property { name: "active"; type: "bool"; isReadonly: true } + Signal { name: "entered" } + Signal { name: "exited" } + Signal { + name: "activeChanged" + Parameter { name: "active"; type: "bool" } + } + } + Component { + name: "QAbstractTransition" + prototype: "QObject" + Property { name: "sourceState"; type: "QState"; isReadonly: true; isPointer: true } + Property { name: "targetState"; type: "QAbstractState"; isPointer: true } + Property { name: "targetStates"; type: "QList<QAbstractState*>" } + Signal { name: "triggered" } + } + Component { name: "QFinalState"; prototype: "QAbstractState" } + Component { + name: "QHistoryState" + prototype: "QAbstractState" + exports: ["QtQml.StateMachine/HistoryState 1.0"] + exportMetaObjectRevisions: [0] + Enum { + name: "HistoryType" + values: { + "ShallowHistory": 0, + "DeepHistory": 1 + } + } + Property { name: "defaultState"; type: "QAbstractState"; isPointer: true } + Property { name: "historyType"; type: "HistoryType" } + } + Component { + name: "QSignalTransition" + prototype: "QAbstractTransition" + exports: ["QtQml.StateMachine/QSignalTransition 1.0"] + isCreatable: false + exportMetaObjectRevisions: [0] + Property { name: "senderObject"; type: "QObject"; isPointer: true } + Property { name: "signal"; type: "QByteArray" } + } + Component { + name: "QState" + prototype: "QAbstractState" + exports: ["QtQml.StateMachine/QState 1.0"] + isCreatable: false + exportMetaObjectRevisions: [0] + Enum { + name: "ChildMode" + values: { + "ExclusiveStates": 0, + "ParallelStates": 1 + } + } + Enum { + name: "RestorePolicy" + values: { + "DontRestoreProperties": 0, + "RestoreProperties": 1 + } + } + Property { name: "initialState"; type: "QAbstractState"; isPointer: true } + Property { name: "errorState"; type: "QAbstractState"; isPointer: true } + Property { name: "childMode"; type: "ChildMode" } + Signal { name: "finished" } + Signal { name: "propertiesAssigned" } + } + Component { + name: "QStateMachine" + prototype: "QState" + Property { name: "errorString"; type: "string"; isReadonly: true } + Property { name: "globalRestorePolicy"; type: "QState::RestorePolicy" } + Property { name: "running"; type: "bool" } + Property { name: "animated"; type: "bool" } + Signal { name: "started" } + Signal { name: "stopped" } + Signal { + name: "runningChanged" + Parameter { name: "running"; type: "bool" } + } + Method { name: "start" } + Method { name: "stop" } + Method { + name: "setRunning" + Parameter { name: "running"; type: "bool" } + } + } + Component { + name: "QTimer" + prototype: "QObject" + Property { name: "singleShot"; type: "bool" } + Property { name: "interval"; type: "int" } + Property { name: "remainingTime"; type: "int"; isReadonly: true } + Property { name: "timerType"; type: "Qt::TimerType" } + Property { name: "active"; type: "bool"; isReadonly: true } + Signal { name: "timeout" } + Method { + name: "start" + Parameter { name: "msec"; type: "int" } + } + Method { name: "start" } + Method { name: "stop" } + } + Component { + name: "SignalTransition" + prototype: "QSignalTransition" + exports: ["QtQml.StateMachine/SignalTransition 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "signal"; type: "QJSValue" } + Property { name: "guard"; type: "bool" } + Signal { name: "invokeYourself" } + Signal { name: "qmlSignalChanged" } + Method { name: "invoke" } + } + Component { + name: "StateBase" + defaultProperty: "children" + prototype: "QState" + exports: ["QtQml.StateMachine/StateBase 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "children"; type: "QObject"; isList: true; isReadonly: true } + } + Component { + name: "StateMachine" + defaultProperty: "children" + prototype: "QStateMachine" + exports: ["QtQml.StateMachine/StateMachine 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "children"; type: "QObject"; isList: true; isReadonly: true } + Property { name: "running"; type: "bool" } + Signal { name: "qmlRunningChanged" } + } + Component { + name: "TimeoutTransition" + prototype: "QSignalTransition" + exports: ["QtQml.StateMachine/TimeoutTransition 1.0"] + exportMetaObjectRevisions: [0] + Property { name: "timeout"; type: "int" } + } +} |