summaryrefslogtreecommitdiffstats
path: root/demos/declarative/snake
Commit message (Collapse)AuthorAgeFilesLines
* Update year in Nokia copyright messages.Jason McDonald2012-01-117-7/+7
| | | | | | | | | Simple search and replace. This commit doesn't touch 3rd-party files, nor translations (where the change is not so simple and will be handled in a separate commit). Change-Id: I4e48513b8078a44a8cd272326685b25338890148 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Declarative Examples: Fall back to local qmlapplicationviewer.Daniel Molkentin2011-11-221-1/+2
| | | | Rubberstamped-by: Oswald Buddenhagen
* Fix use of qmlapplicationviewer.Daniel Molkentin2011-11-211-1/+2
| | | | | | | - Two separate copies for demos and example - Fix deployment (don't install to opt in desktop case) Reviewed-by: Casper van Donderen
* demos/declarative/snake example correctionsartoka2011-11-172-3/+1
| | | | | | | Removed empty lines from snake.qml and Cookie.qml Merge-request: 2719 Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
* demos/declarative/snake example modificationsartoka2011-11-1732-4/+211
| | | | | | | | | Modified the example to use centralized qmlapplicationviewer, removed duplicate files and modified project files according to the changes. Merge-request: 2719 Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
* Update licenseheader text in source files for qt4.8Jyri Tahtela2011-05-136-103/+103
| | | | | | | Updated version of LGPL and FDL licenseheaders. Apply release phase licenseheaders for all source files. Reviewed-by: Trust Me
* Merge remote-tracking branch 'origin/4.7' into qt-master-from-4.7Olivier Goffart2011-02-041-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: demos/declarative/samegame/SamegameCore/samegame.js mkspecs/features/symbian/default_post.prf src/declarative/qml/qdeclarativeengine.cpp src/gui/text/qtextdocumentlayout.cpp src/plugins/plugins.pro src/s60installs/bwins/QtCoreu.def src/s60installs/bwins/QtGuiu.def src/s60installs/eabi/QtCoreu.def src/s60installs/eabi/QtGuiu.def src/s60installs/s60installs.pro tests/auto/declarative/declarative.pro tests/auto/declarative/qdeclarativedebug/tst_qdeclarativedebug.cpp tests/auto/declarative/qdeclarativepixmapcache/tst_qdeclarativepixmapcache.cpp tests/auto/declarative/qmlvisual/qmlvisual.pro
| * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into qtquick11Martin Jones2011-01-196-6/+6
| |\
| * | Introduce Qt.application.active propertyJoona Petrell2011-01-071-1/+1
| | | | | | | | | | | | | | | | | | | | | Replaces qmlviewer's runtime.activeWindow property. Task-number: QTBUG-13351 Reviewed-by: Martin Jones
* | | Merge remote branch 'origin/4.7' into qt-master-from-4.7Olivier Goffart2011-01-176-6/+6
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: examples/webkit/imageanalyzer/imageanalyzer.h examples/webkit/imageanalyzer/mainwindow.h mkspecs/unsupported/qws/linux-x86-openkode-g++/qplatformdefs.h src/corelib/io/qfsfileengine_iterator_unix.cpp src/corelib/io/qfsfileengine_iterator_win.cpp src/corelib/kernel/qcoreapplication.cpp src/network/access/qnetworkaccessdatabackend.cpp src/plugins/bearer/connman/qconnmanservice_linux.cpp src/plugins/platforms/openvglite/qwindowsurface_vglite.h src/s60installs/bwins/QtCoreu.def src/s60installs/eabi/QtCoreu.def src/s60installs/s60installs.pro tools/assistant/tools/assistant/helpviewer_qwv.h tools/qdoc3/test/qt-html-templates.qdocconf
| * | Update copyright year to 2011.Jason McDonald2011-01-106-6/+6
| |/ | | | | | | Reviewed-by: Trust Me
* | Merge branch 4.7 into qt-master-from-4.7Qt Continuous Integration System2010-10-291-1/+1
|\ \ | |/
| * Missing part of 64a05cfa97b1192ac247558c0601ba0e4ec464c9Alan Alpert2010-10-281-1/+1
| | | | | | | | Task-number: QT-4200
* | Merge remote branch 'origin/4.7' into qt-master-from-4.7Olivier Goffart2010-10-253-3/+14
|\ \ | |/ | | | | | | | | | | | | | | | | Conflicts: demos/declarative/snake/snake.qml qmake/generators/symbian/symbiancommon.cpp src/network/access/qnetworkaccessmanager.cpp src/s60installs/s60installs.pro tests/auto/qitemselectionmodel/tst_qitemselectionmodel.cpp tests/auto/qnetworkreply/tst_qnetworkreply.cpp
| * Snake demo now pauses when the window loses focus.Alan Alpert2010-10-153-3/+13
| | | | | | | | Task-number: QTBUG-11592
* | Merge remote branch 'origin/4.7' into master-from-4.7Rohan McGovern2010-10-046-6/+6
|\ \ | |/ | | | | | | | | | | | | | | | | | | Conflicts: doc/src/snippets/code/doc_src_qmake-manual.qdoc src/corelib/arch/symbian/arch.pri src/declarative/graphicsitems/qdeclarativeflickable.cpp src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp src/opengl/gl2paintengineex/qtextureglyphcache_gl.cpp src/opengl/gl2paintengineex/qtextureglyphcache_gl_p.h tests/auto/qfontmetrics/tst_qfontmetrics.cpp
| * Replace all occurances of "Qt 4.7" with "QtQuick 1.0"Aaron Kennedy2010-09-296-6/+6
| | | | | | | | | | Task-number: QTBUG-13799 Reviewed-by: Martin Jones
* | Merge remote branch 'origin/4.7' into qt-master-from-4.7Olivier Goffart2010-09-102-2/+12
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: bin/syncqt demos/declarative/snake/content/snake.js demos/declarative/snake/snake.qml doc/src/development/qmake-manual.qdoc src/corelib/plugin/plugin.pri src/gui/kernel/qapplication_win.cpp src/gui/kernel/qdesktopwidget_win.cpp src/gui/painting/qdrawhelper.cpp tests/auto/qdir/tst_qdir.cpp tools/qdoc3/test/assistant.qdocconf tools/qdoc3/test/designer.qdocconf tools/qdoc3/test/linguist.qdocconf
| * Remove debug.Martin Jones2010-08-301-1/+0
| |
| * Snake: Don't use Behavior with states.Martin Jones2010-08-304-5/+18
| | | | | | | | | | | | | | Changing states mid-animation confuses states where property value is not specified explicitly for each state. Task-number: QT-3823
* | State handling cleanupmae2010-09-093-21/+50
|/ | | | | | The game could end up in funky states when restarting while the startup animation was running. Also some smaller fixes for rotation.
* Add quit buttons to declarative demosJoona Petrell2010-08-261-0/+6
| | | | | Task-number: QTBUG-13048 Reviewed-by: Martin Jones
* Fix game could not be restartedmae2010-08-162-16/+5
| | | | Task-number: QT-3668
* 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
|