summaryrefslogtreecommitdiffstats
path: root/examples/scxml/invoke-dynamic
Commit message (Collapse)AuthorAgeFilesLines
* Update plugins.qmltypesUlf Hermann2016-09-271-2/+2
| | | | | | | | | | | | | | | Also, have the extended state machine type follow the usual naming scheme, and increment the minor version everywhere. Since we don't need to be compatible with 5.7 we don't need to drag the 5.7 version around at all. In addition, we also don't need to namespace QtScxml in any QML context and, using the additional type information, we can easily constrain the types of all state machiens in QML. The fromFile() and fromData() methods don't have to be Q_INVOKABLE and that just confuses qmlplugindump, do drop Q_INVOKABLE there. Change-Id: I7bd3f10ac458d64fcb98caece770b5d4c61abdb5 Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
* Rename StateMachineLoader.filename to "source"Ulf Hermann2016-09-061-1/+1
| | | | | | | | | It's a URL, so it shouldn't be called filename. Otherwise people will try to use it with plain filenames, omitting the qrc:// or file:// prefix. Change-Id: I01be8515ba03c58c0dd1fce6b0e1e5fa413b9839 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* Get rid of qt modeJarek Kobus2016-08-231-1/+1
| | | | | Change-Id: Id8cc29a9a27f571f063b1cec51e534a3c762f2c6 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Improve QtScxml module conformity to other Qt modulesAlex Blasche2016-05-171-1/+1
| | | | | | | | | | The other QML modules use a versioning based on the Qt modules version. In addition the QML plugin name is always libdeclarative_<module_name>.so. Therefore the target for the QML project has to be adjusted accordingly. Change-Id: I218836bc01a7cb4ab8d8c3edde1d3d6deeaffd75 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Cleanup and rename QML scxmlstatemachine pluginAlex Blasche2016-05-121-1/+1
| | | | | | | | | The Qt modules use the Qt prefix and the project file should rely on qmake's qml_plugin logic. Change-Id: I9a13109d6307679c1e7362680eaf9c33e2bdda3b Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Doc: Add docs for Invoke examplesLeena Miettinen2016-03-073-5/+35
| | | | | | | | | - Explain invoking and loading or compiling the state machine. - Remove the unnecessary load command from invoke-static.pro. - Add screenshots. Change-Id: I79ae7b656bcc350c3cd96b17716a432135d9697e Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Examples: Return on QML load error.Friedemann Kleint2016-02-251-0/+2
| | | | | | | | Prevents hanging processes should an error while loading QML occur. Change-Id: I35f68ef170755f075fe95e2e535e363a49c598ee Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
* Move examples into module based subdirAlex Blasche2016-02-125-0/+181
The release process puts all examples based on their module name into the same directory. Therefore each module has to group its examples based on their module name. Change-Id: I3695297ff0489fbbb2c4f4aa13e0c4baa7f011b7 Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>