summaryrefslogtreecommitdiffstats
path: root/demos/declarative/snake
Commit message (Collapse)AuthorAgeFilesLines
* Snake game cannot be restartedmae2010-08-031-2/+15
| | | | Task-id: QT-3668
* Uncomment code accidentally removed with ↵Aaron Kennedy2010-07-291-2/+0
| | | | | | 1937adaab5861ced44813c6a4b0bff1c3750ecd3 QTBUG-3620
* Undefined is undefined, and now qml warns about itmae2010-06-291-3/+3
|
* Move knowledge of QGraphicsObject out of qml engineAaron Kennedy2010-06-161-0/+2
|
* Fix snake demomae2010-06-083-3/+12
| | | | | | | | | Code degeneration lead to three bugs: 1. progress bar worked only the first time 2. restart was broken 3. highscore model was not persistent Reviewed-by: Trust me
* Add license headers for .qml files.Jason McDonald2010-05-216-0/+246
| | | | | | | Examples get the BSD license, while all other .qml files get the LGPL/tech-preview license. Reviewed-by: Trust Me
* Rename Component::errorsString() -> errorString() (and also forBea Lam2010-05-201-2/+2
| | | | QDeclarativeComponent)
* Merge branch '4.7' of git@scm.dev.nokia.troll.no:qt/qt-qml into 4.7Alan Alpert2010-05-071-3/+3
|\ | | | | | | | | Conflicts: examples/declarative/dynamic/qml/itemCreation.js
| * CleanupYann Bodson2010-05-061-3/+3
| |
* | Make component.createObject require a parent argumentAlan Alpert2010-05-051-4/+2
|/ | | | | | | | | For graphical objects (the common case) a common mistake is to not parent a dynamically created item. Since you almost always want to add a parent, and it's hard for a beginner to diagnose this problem, a parent is now a required argument and dealt with by the createObject function. Task-number: QTBUG-10110
* Remove Component's isReady, isLoading, isError and isNull properties.Bea Lam2010-04-291-4/+4
| | | | | | | 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.
* Replace usage of print() with console.log().Michael Brasser2010-04-231-4/+4
|
* Merge branch '4.7' of git@scm.dev.nokia.troll.no:qt/qt-qml into 4.7Alan Alpert2010-04-211-0/+16
|\
| * Add .qmlproject files for declarative demos.Yann Bodson2010-04-201-0/+16
| |
* | Make the dynamic creation functions on the Qt objectAlan Alpert2010-04-211-2/+2
|/ | | | | | | | | 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
* Replace "property var " with "property variant " in QML codeAaron Kennedy2010-04-091-1/+1
|
* Replace "import Qt 4.6" with "import Qt 4.7"Michael Brasser2010-04-086-6/+6
|
* Deprecate inline Script {} blocksAaron Kennedy2010-03-222-28/+25
| | | | | | | | Inline blocks/includes have been replaced with an import syntax: import "foo.js" as Foo this gives better separation between QML and code. Imported script blocks also have a mandatory qualifier, which leads to better optimization potential.
* Import "content" with as qualifier to support network without qmldirmae2010-03-151-5/+5
|
* Move particles in their own plugin (Qt.labs.particles)Yann Bodson2010-03-112-0/+2
| | | | Task-number: QT-2846
* Use a better method for installing declarative demos.Rohan McGovern2010-03-081-13/+0
| | | | Simply copy the demo directories, instead of writing a stub .pro file.
* Fixed declarative demos not being installed.Rohan McGovern2010-03-081-0/+13
|
* Make "on" syntax mandatory for value sources and interceptorsAaron Kennedy2010-03-025-13/+13
| | | | | | | | | | | | | | | | | | | | | 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.
* Recfactor in declarative snake demoLeonardo Sobral Cunha2010-02-251-2/+2
| | | | | Avoid having 2 'states' that have 'when' conditions that can be 'true' at the same time.
* Rename MouseRegion -> MouseAreaMartin Jones2010-02-222-2/+2
|
* Follow naming conventions (pass examples test)Warwick Allison2010-01-1123-5/+6
|
* reenable particles effect for the cookiemae2009-11-262-1/+1
|
* added a snake demomae2009-11-2522-0/+1019