summaryrefslogtreecommitdiffstats
path: root/demos/declarative/samegame
Commit message (Collapse)AuthorAgeFilesLines
* Maintain high score name dialog length, as well as name.Alan Alpert2010-08-262-1/+3
| | | | Task-number: QTBUG-13129
* Fix SamegameAlan Alpert2010-07-191-2/+2
| | | | | | | Change to Behavior from Follow means that some of the previous assumptions are now incorrect. Script logic has been fixed. Task-number: QTBUG-12246
* Follow -> Behaviormae2010-07-082-8/+10
| | | | Replace the usages of Follows with Behaviors, update docs.
* Fix bug in SameGame's dialog componentAlan Alpert2010-07-012-1/+3
| | | | | | Was emitting closed after already being closed. Task-number: QTBUG-11812
* Allow things that load SameGame to disable the Quit buttonAlan Alpert2010-06-211-0/+2
| | | | | | | If I missed any, just set inAnotherDemo to true on the SameGame root item. Task-number: QTBUG-11562
* Minor demo fixesAlan Alpert2010-06-161-0/+2
| | | | Found some minor demo issues while testing a TextInput change.
* Improve input panel handling in declarative demos and examplesJoona Petrell2010-06-032-6/+19
| | | | | Task-number: QTBUG-11157 Reviewed-by: Warwick Allison
* Add license headers for .qml files.Jason McDonald2010-05-214-0/+164
| | | | | | | 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)
* Make component.createObject require a parent argumentAlan Alpert2010-05-051-2/+1
| | | | | | | | | 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-1/+1
| | | | | | | 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-5/+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-1/+1
|/ | | | | | | | | 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-194-8/+10
|
* Make demo code more consistent with example code in terms of variableBea Lam2010-04-135-142/+174
| | | | naming and code style.
* Renamed 'source' property from SpringFollow to 'to'Leonardo Sobral Cunha2010-04-081-2/+2
|
* Add running of examples to quality gate.Warwick Allison2010-04-081-1/+1
| | | | Fix broken examples too.
* Replace "import Qt 4.6" with "import Qt 4.7"Michael Brasser2010-04-084-4/+4
|
* Tweak import behaviourAlan Alpert2010-03-251-1/+1
| | | | | | | | | | | | | The implicit import of types in the same directory/module now imports version -1 (which means all versions). This fixes the Twitter demo. Additionally, the current directory is not added to the imports path. No functionality is lost, as you can import local modules with relative paths for the same effect. Improved docs are on the way. Reviewed-by: mae
* Deprecate inline Script {} blocksAaron Kennedy2010-03-222-13/+7
| | | | | | | | 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.
* Move particles in their own plugin (Qt.labs.particles)Yann Bodson2010-03-111-0/+1
| | | | Task-number: QT-2846
* Use no-version-specified to mean any version (used to work, fixed again,Warwick Allison2010-03-101-3/+3
| | | | was only working with -1.-1 which looks silly)
* Fix Samegame.Michael Brasser2010-03-031-1/+1
|
* Refactor demosAlan Alpert2010-03-0215-3/+3
| | | | Samegame and Twitter are now trying the new naming convention.
* 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-223-3/+3
|
* Fix palette on the N900Harald Fernengel2010-02-161-1/+1
| | | | | | | | The N900 has by default black background with white text, but white line edits with black text. Use windowText for the "Score" label to make it readable. Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* Fix SameGame high scoresAlan Alpert2010-02-151-2/+3
| | | | | When it's deployed across multiple devices, there is no 'standard' grid size. This allows non-desktop versions to display high scores.
* Enhance samegame high score dialogAlan Alpert2010-02-153-3/+18
| | | | | 'Better' layout mechanics, included animated resize for those people with long names.
* Remove samegame README (mentioned images have been replaced)Kai Koehne2010-01-221-10/+0
|
* Tweak marble graphics in SamegameNigel Hietala2010-01-224-0/+0
|
* Updated graphics for SamegameNigel Hietala2010-01-216-0/+1
|
* Add a quit button to the toolbarHarald Fernengel2009-12-161-0/+6
| | | | | Allows to run SameGame full-screen on the N900, and being able to quit without having to use xkill :)
* Set score text color (so that it will be visible)Alan Alpert2009-12-162-1/+2
|
* Fix use of XmlHttpRequest in examplesAlan Alpert2009-11-271-0/+1
|
* Update examples for new SQL API.Warwick Allison2009-11-181-22/+10
|
* Use darker() and lighter() functions from global Qt object rather than from ↵Yann Bodson2009-11-052-2/+2
| | | | SystemPalette.
* Particles cleaned up and placed in in qmlgraphics/Alan Alpert2009-11-051-6/+6
| | | | | | | | | | | | | 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
* Add local highscores to SameGameAlan Alpert2009-10-293-7/+47
|
* cleanupYann Bodson2009-10-281-1/+1
|
* SameGame cleans up blocks now.Alan Alpert2009-10-271-0/+1
| | | | Blocks now delete themselves on their death.
* make remotableWarwick Allison2009-10-262-4/+4
|
* Start updating state and animation docs.Michael Brasser2009-10-221-1/+1
|
* Merge branch 'kinetic-declarativeui' of ↵Aaron Kennedy2009-10-074-34/+35
|\ | | | | | | | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into test Conflicts: demos/declarative/samegame/content/samegame.js tests/auto/declarative/qmlecmascript/tst_qmlecmascript.cpp
| * Refactor tileSize to the gameCanvas itemAlan Alpert2009-10-072-13/+13
| |
| * Merge branch 'kinetic-declarativeui' of ↵Alan Alpert2009-10-063-19/+19
| |\ | | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
| | * lowercase idsYann Bodson2009-10-063-19/+19
| | |
| * | Consistent Commenting in SamegameAlan Alpert2009-10-051-0/+1
| |/