summaryrefslogtreecommitdiffstats
path: root/examples/scxml/pinball
Commit message (Collapse)AuthorAgeFilesLines
* QtScxml: Fix spelling in example documentationTamas Martinec2021-03-171-2/+2
| | | | | | | | | Task-number: QTBUG-89834 Change-Id: I6d24eeeddaac69ed2f4c74c77344452dee457a78 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io> (cherry picked from commit 1e560247964957c51d1c645ef4e0af31429fe0a9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Re-generate all CMake filesJoerg Bornemann2021-01-191-2/+10
| | | | | Change-Id: I40dd28da4ba47bd15471b471138900cd22b4e409 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* Regenerate before mergeAlexandru Croitor2019-10-151-1/+2
| | | | | Change-Id: Ib78bff1d61ee9526b9e3373dbf109ae4d2dd81dc Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Port QtScxml to CMakeJoerg Bornemann2019-09-261-0/+39
| | | | | | Change-Id: I227f18b6a9825b6974eab6ba9feaf62bd0934133 Reviewed-by: Qt CMake Build Bot Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Use canonical include style and sort #includeJarek Kobus2018-05-022-2/+2
| | | | | | | | See also https://wiki.qt.io/Writing_Qt_Examples Task-number: QTBUG-60649 Change-Id: I3a5671f39e870f96546e66427cc9434f41777e33 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Give examples a meaningful window titleJarek Kobus2018-05-021-3/+0
| | | | | | | | They will get the app name, like other examples Task-number: QTBUG-60649 Change-Id: Ib66a37e0c1253f12d9fa0ec19a2f1220e7277f05 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Update examples to C++11Michael Winkelmann2017-07-181-1/+1
| | | | | Change-Id: If23693387da9e5c0a102041298f626a068b26f6d Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* Update docs according to recent changesJarek Kobus2016-11-141-2/+2
| | | | | Change-Id: I5b2c8827bbfef749b51b904314ed822fdf150d20 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Small corrections to examplesJarek Kobus2016-08-263-29/+20
| | | | | | | | Fix docs accordingly. Change-Id: Ib008cc841f7533ff7f32ae134dfd4f6a8b36df15 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Get rid of qt modeJarek Kobus2016-08-231-1/+0
| | | | | Change-Id: Id8cc29a9a27f571f063b1cec51e534a3c762f2c6 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Remove misleading qt:signal declarationsUlf Hermann2016-08-091-1/+1
| | | | | | | If the document isn't parsed in Qt mode they have no effect. Change-Id: I3c58380b903f33cffc9958e18b009abf9ca5e7d3 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* Reduce repeating codeJarek Kobus2016-07-262-94/+65
| | | | | | Change-Id: I53f3357af4070a9a5b1e964e6ed657923c0939d0 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> 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>
* Better connection mechanism for eventsUlf Hermann2016-07-141-8/+1
| | | | | | | | | The connectToEvent() mechanism is analogous to connectToState() and allows arbitrary event specifications, with '.' and '*'. In addition a QML component is provided to make event connections available in QML. Change-Id: Ie45422481a794b1b350347c383318857e5dc3f6d Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* Provide Qt5-style syntax for connectToStateUlf Hermann2016-07-131-1/+1
| | | | | | | | | We should not force people to use the string-based connection syntax. Using modern C++ we can add more convenience here. Unfortunately we have to duplicate some code from QMetaObject, but this is worth it. Change-Id: I4daa1f7cfea9feb3de0159636a508ee64a849f55 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* Doc: Edit Pinball example docsLeena Miettinen2016-05-178-296/+256
| | | | | | | | | | - Edit for grammar and style. - Add state chart images to improve readability. - Add subtitles to improve readability. Change-Id: I1429adf098e868388489f361caa5265b32c33a45 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: Topi Reiniƶ <topi.reinio@theqtcompany.com>
* Change examples to follow best practicesUlf Hermann2016-03-301-1/+0
| | | | | | | | | | 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>
* Doc: Fix pinball example documentationUlf Hermann2016-03-211-2/+2
| | | | | Change-Id: I2e704c144cba0b7e530d651eb8dd31dc9db51adc Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* Doc: corrections according to the current API state.Jarek Kobus2016-03-034-74/+63
| | | | | | Change-Id: Id38eb2b75e5205b74238151b20a279ba71442713 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Move examples into module based subdirAlex Blasche2016-02-128-0/+1917
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>