summaryrefslogtreecommitdiffstats
path: root/examples/declarative/dynamic
Commit message (Collapse)AuthorAgeFilesLines
* More declarative examples cleanup.Yann Bodson2010-03-051-19/+23
|
* make example work againmae2010-03-031-4/+4
| | | | | The code is now a bit on the imperative side, but that was the only working solution to remove the binding loops.
* Rename MouseRegion -> MouseAreaMartin Jones2010-02-222-2/+2
|
* Fix dynamic exampleAlan Alpert2010-02-191-0/+1
| | | | Dynamic property creation appears to have been restricted.
* Removed "running: true" for animations used as propertyvaluesourceLeonardo Sobral Cunha2010-02-111-1/+1
| | | | | | This attribution is not necessary anymore since 923710196d6d5..., Reviewed-by: Michael Brasser
* Fix perspective in dynamic exampleAlan Alpert2009-11-092-5/+8
| | | | working Z and items can no longer be placed in the sky (due to scaling).
* Use darker() and lighter() functions from global Qt object rather than from ↵Yann Bodson2009-11-052-2/+2
| | | | SystemPalette.
* enable smooth scaling for dynamic exampleYann Bodson2009-10-301-1/+1
|
* cleanupYann Bodson2009-10-307-8/+10
|
* Merge QmlComponentJS into QmlComponentAlan Alpert2009-10-291-1/+1
| | | | | | | createComponent() and Component{} are now the same, and so Component{}s can now be passed around for use in script. Also this commit fixes the minor bug QT-2386
* Incorporate latest optical theory.Warwick Allison2009-10-282-3/+15
|
* Fix dynamic exampleAlan Alpert2009-10-281-2/+0
| | | | | Includes adding a comment to the positioners to alert others that you shouldn't use anchors as well.
* dynamic example now meets minimum aesthetic requirementsAlan Alpert2009-10-282-14/+41
| | | | | Task-number: QT-2270 Reviewed-by: Yann Bodson
* Better dragging of items for dynamic exampleAlan Alpert2009-10-281-5/+5
| | | | | The mouse is no longer at 0,0 of dragged item, but rather at the same point as the original click.
* Dynamic example now has more droppable ItemsAlan Alpert2009-10-2810-51/+91
| | | | | | The example is nearly done, just needs a little more aesthetic transfiguration. Also this commit introduces some generic components that could be easily used to make a game like ktuberling.
* Update dynamic exampleAlan Alpert2009-10-279-128/+188
| | | | | | | The start of a prettier version. Not yet complete, does not full resolve the task. Task-number: QT-2270
* Fix dynamic exampleAlan Alpert2009-10-151-3/+5
| | | | | | Had some accidental global vars Task-number: One of the QT-2270s
* Clean upBea Lam2009-10-082-24/+68
|
* Rename State change elements.Martin Jones2009-08-211-1/+1
| | | | | | SetProperties -> PropertyChanges RunScript -> StateChangeScript SetAnchors -> AnchorChanges
* Renaming Rect -> RectangleYann Bodson2009-08-192-5/+5
|
* Add delay parameter to the destroy function on QML objectsAlan Alpert2009-08-132-2/+10
| | | | | | Also updated dynamic example to have a fadeout effect on deletion. Also slipped in a toStr function, as it didn't work when I called it toString.
* Move all QML types to Qt/4.6 namespace.Warwick Allison2009-07-232-0/+4
| | | | | Adjust examples and demos accordingly. As per QT-558
* Move the Script interface of QmlComponent to QmlBindableComponentAlan Alpert2009-07-211-2/+2
|
* Fix bug in createQmlObjectAlan Alpert2009-07-062-2/+2
| | | | | Wasn't actually loading the object's context properly, with regard to url resolution.
* Improve JS dynamic creationAlan Alpert2009-07-022-7/+10
| | | | | | | | Renamed evalQml to be consistent with us, not javascript. Fixed bug where createComponent never had the right path. createQmlObject (evalQml) now has a parent as a argument. It also still has a bug where that parent doesnt get set properly, although it is used as the creation context also.
* Beautification of dynamic object example.Alan Alpert2009-07-022-25/+43
| | | | | Adds some error handling, and cleans up documentation and the example a little.
* Add dynamic object creation exampleAlan Alpert2009-06-093-0/+68