summaryrefslogtreecommitdiffstats
path: root/examples/scxml/trafficlight-widgets-dynamic/trafficlight-widgets-dynamic.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Revamp scxml trafficlight examplesJuha Vuolle2023-03-181-7/+8
| | | | | | | | | | | | | | | | | | | | In addition to general modernization, this commit changes the trafficlight structure slightly so that the qml-static and qml-dynamic variants have their own copies of the QML files. This way the examples remain standalone examples whilst using the contemporary qt_add_qml_module, without needing to introduce a shared common QML module. A shared common QML module is a viable option but would unnecesarily complicate example build/link/deployments. Task-number: QTBUG-111323 Change-Id: I7a289db2d2927d97438556362e4b2eff53821020 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> (cherry picked from commit 3314da2f16d2b0c1f52e8da07c299ee983314c59) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Use SPDX license identifiersLucie Gérard2022-06-141-49/+2
| | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. License files are organized under LICENSES directory. Pick-to: 6.4 Task-number: QTBUG-67283 Change-Id: Ic435d3a484be01542f27431068419a2c252bd1f6 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Adapt to latest qtbase changes, bump dependencyKarsten Heimrich2020-08-281-0/+1
| | | | | Change-Id: Ibe2af360f7fd63dbc541eaf1218935519886ef40 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* Wrap examples' code at 80 columnJarek Kobus2018-05-021-1/+2
| | | | | | | | According to https://wiki.qt.io/Writing_Qt_Examples Task-number: QTBUG-60649 Change-Id: I17073bb3caf32ccd17d93542876a73ed939f12bd Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Replace Q_FOREACH/foreach with ranged-forErik Verbruggen2016-09-251-1/+2
| | | | | Change-Id: I7b4d13a49577a7d984727722ff2ae4458eab2d6e Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Remove unneeded includesJarek Kobus2016-08-231-1/+0
| | | | | Change-Id: I1c8388b6a912f631affe8bd3752e20bdc8d5eb28 Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
* Polish traffic light exampleUlf Hermann2016-03-221-1/+0
| | | | | | | 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>
* Move examples into module based subdirAlex Blasche2016-02-121-0/+78
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>