summaryrefslogtreecommitdiffstats
path: root/examples/scxml/trafficlight-qml-static
Commit message (Collapse)AuthorAgeFilesLines
* Doc: Fix the snippets in Traffic Light QML example docsLeena Miettinen2016-09-081-4/+3
| | | | | Change-Id: I8ddb470e61c5a19b8bd673d2b8e8d920e1f47efd Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
* Examples: Use .ui file for trafficlightThomas Hartmann2016-09-021-0/+1
| | | | | | | | This decouples the logic/implementation from the declarative ui definition. Change-Id: I039b754df2b9ca86279fe8e9fb9bba23e9c49bf6 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Auto-include qscxmlc in module configUlf Hermann2016-07-151-2/+0
| | | | | | | | This enables us to drop all the load(qscxmlc) declarations in the various .pro files. Change-Id: I37e0ddba76be1c4c79dea1302634f62a22032ee2 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* Change examples to follow best practicesUlf Hermann2016-03-302-5/+6
| | | | | | | | | | Adding QObjects as context properties to QML engines is not the best way to interoperate between QML and C++. This change exposes all state machines as proper QML components and instantiates them from QML. Also, it drops all the now unnecessary init() calls. Change-Id: Id44b4038542dd9469e02831c1bb54f096af1b6ff Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
* Polish traffic light exampleUlf Hermann2016-03-222-3/+8
| | | | | | | Change-Id: I85f56f87b985ff966b975c571a399fa8f1f6e86f Reviewed-by: Diana de Sousa <diana.desousa@theqtcompany.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
* Doc: Add docs for the Traffic Light exampleLeena Miettinen2016-03-171-2/+32
| | | | | Change-Id: Id51e2cb7eaf04179efe5379ac82f596ede3f6b04 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Examples: Return on QML load error.Friedemann Kleint2016-02-251-0/+3
| | | | | | | | 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>