summaryrefslogtreecommitdiffstats
path: root/examples/declarative/tutorials/samegame
Commit message (Collapse)AuthorAgeFilesLines
* Remove Component's isReady, isLoading, isError and isNull properties.Bea Lam2010-04-293-12/+12
| | | | | | | The Component status enum covers all of these properties already and removing these also makes the API consistent with Image and Loader. Note this change only affects the QML Component API; the methods are still available for QDeclarativeComponent.
* Link to example files from tutorial pagesBea Lam2010-04-234-0/+64
|
* Replace usage of print() with console.log().Michael Brasser2010-04-233-12/+12
|
* Make the dynamic creation functions on the Qt objectAlan Alpert2010-04-213-3/+3
| | | | | | | | | Also updated examples to still work, and the dynamic example now uses exceptions a little, to demonstrate that it can be done. Exceptions are also now filled out with the QML error data. Task-number: QT-2801 Reviewed-by: Aaron Kennedy
* Indentation and whitespace fixes in qml's samegame tutorialLeonardo Sobral Cunha2010-04-1913-23/+23
|
* Make demo code more consistent with example code in terms of variableBea Lam2010-04-131-1/+1
| | | | naming and code style.
* Fix score from previous changeBea Lam2010-04-131-1/+1
|
* Doc improvementsBea Lam2010-04-131-1/+1
|
* Fix example code styleBea Lam2010-04-1314-124/+206
|
* Example code style improvementsBea Lam2010-04-097-206/+195
|
* More tutorial improvmentsBea Lam2010-04-098-119/+107
|
* Fix call to saveHighScores() and restore game timer.Bea Lam2010-04-083-6/+4
|
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Bea Lam2010-04-0815-28/+19
|\ | | | | | | | | Conflicts: examples/declarative/tutorials/samegame/samegame4/content/samegame.js
| * Fix samegame4 tutorial codeLeonardo Sobral Cunha2010-04-082-12/+3
| |
| * Renamed 'source' property from SpringFollow to 'to'Leonardo Sobral Cunha2010-04-081-2/+2
| |
| * Replace "import Qt 4.6" with "import Qt 4.7"Michael Brasser2010-04-0814-14/+14
| |
* | Improve example code - rename variables, remove redundant ids.Bea Lam2010-04-0813-156/+156
|/
* Doc improvements, fixesBea Lam2010-04-0113-31/+31
|
* Move particles in their own plugin (Qt.labs.particles)Yann Bodson2010-03-111-0/+1
| | | | Task-number: QT-2846
* Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-qmlAaron Kennedy2010-03-0226-15/+15
|\ | | | | | | | | | | Conflicts: demos/declarative/minehunt/main.cpp demos/declarative/minehunt/minehunt.qml
| * Make SameGame tutorials share imagesAlan Alpert2010-03-0126-15/+15
| | | | | | | | | | | | | | | | | | It's a bit of a waste to have four copies of all of the images. And as an advanced tutorial throwing in a minor complication like this is probably beneficial. Additionally, the background has been replaced by a smaller JPEG version.
* | Make "on" syntax mandatory for value sources and interceptorsAaron Kennedy2010-03-023-5/+5
|/ | | | | | | | | | | | | | | | | | | | | Where you would have written x: NumberAnimation {} y: Behavior {} you now must write NumberAnimation on x {} Behavior on y {} This change also makes the parser more strict with respect to multiple assignments to a single property - they're no longer allowed. For example this x: 10 x: 11 is now an error.
* Rename MouseRegion -> MouseAreaMartin Jones2010-02-228-8/+8
|
* Get rid of the matchProperties/properties distinction, as itMichael Brasser2010-02-181-1/+1
| | | | | | | | | | | has proven to be confusing in practice. property/target and properties/targets will be functionally equivilant (the only distinction being singular/plural). In a transition these properties can be used for both 'matching' and explicit animation based on whether a 'to' value is supplied. The documentation, tests, examples and demos have been updated as well.
* Disallow ids that start with uppercase letters and update docs andBea Lam2010-02-039-33/+33
| | | | | | examples accordingly. Task-number: QT-2786
* Update advanced tutorial with new imagesAlan Alpert2010-02-018-0/+0
| | | | | | Some of the images used in the example and documentation were still with the old graphics. This has been fixed so as to only use the new graphics.
* Remove samegame README (mentioned images have been replaced)Kai Koehne2010-01-221-10/+0
|
* Copy updated images from demos/samegame to samegame tutorialKai Koehne2010-01-225-0/+0
|
* Fix use of XmlHttpRequest in examplesAlan Alpert2009-11-271-0/+1
|
* Use console.log, not printWarwick Allison2009-11-231-1/+1
|
* Update examples for new SQL API.Warwick Allison2009-11-181-22/+10
|
* Update SameGame tutorial to discuss offline storageAlan Alpert2009-11-111-1/+3
| | | | | | Also removed the \target and got the navigation set up properly. Task-number: QT-2375
* Fix samegame tutorial 3Alan Alpert2009-11-101-12/+12
| | | | | the js file hadn't been updated to avoid global vars Also updating a missed particles element
* Rename targets -> matchTargets and properties -> matchProperties.Michael Brasser2009-11-061-1/+1
|
* fix javascript errors in samegame tutorialsYann Bodson2009-11-054-57/+102
|
* Use darker() and lighter() functions from global Qt object rather than from ↵Yann Bodson2009-11-058-8/+8
| | | | SystemPalette.
* Particles cleaned up and placed in in qmlgraphics/Alan Alpert2009-11-051-6/+7
| | | | | | | | | | | | | API changes: Removed bool streamIn Added int emissionRate Added int emissionVariance Added void burst(count, emissionRate=-1) While rewriting the internals to accomodate this, all other outstanding particles bugs were believed fixed. Task-number: QT-2392 QT-2391 QT-2390 QT-2406
* cleanupYann Bodson2009-10-284-4/+4
|
* doc cleanupYann Bodson2009-10-082-8/+8
|
* Switch Same Game tutorial to using snippets properlyAlan Alpert2009-10-0711-1/+37
|
* Add SameGame based advanced tutorialAlan Alpert2009-10-0739-0/+975
Could use some cleanup, as I didn't manage to get code snippets working correctly. Also might benefit from being re-written by a good tutor.