summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml
Commit message (Collapse)AuthorAgeFilesLines
* Change and rename qml EaseFollow to SmoothedAnimationLeonardo Sobral Cunha2010-03-301-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QDeclarativeSmoothedAnimation inherits from QDeclarativeNumberAnimation, as a consequence SmoothedAnimation can be used inside Behaviors and as PropertySourceValues, like any other animation. The old EaseFollow properties changed to comply with the other declarative animations ('source' changed to 'to'), so now 'to' changes are not automatically 'followed' anymore. You can achieve the following behavior by putting a SmoothedAnimation inside a Behavior of a property that is bound to another, as the following example: If you want to follow an hypothetical rect1, you should do now: Rectangle { color: "green" width: 60; height: 60; x: rect1.x - 5; y: rect1.y - 5; Behavior on x { SmoothedAnimation { velocity: 200 } } Behavior on y { SmoothedAnimation { velocity: 200 } } } SmoothedAnimation also supports animating multiple target(s)/property(ies) in the transition case. When a QDeclarativeSmoothedAnimation is restarted, it will match the QDeclarativeProperty which were being animated and transfer the corresponding track velocity to the new starting animations. QSmoothedAnimation is an uncontrolled animation, duration == -1. The duration is set as -1 to avoid consecutive animation state changes stop()/start(). This is particularly useful when using QSmoothAnimation to 'follow' another property, which is also being animated (change the 'to' property every tick). Reviewed-by: Michael Brasser
* Make QDeclarativeListProperty a classAaron Kennedy2010-03-301-1/+2
| | | | Apparently structs are not socially acceptable.
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Aaron Kennedy2010-03-305-67/+36
|\ | | | | | | | | Conflicts: tests/auto/declarative/qdeclarativedom/tst_qdeclarativedom.cpp
| * Simplify import path.Warwick Allison2010-03-293-57/+36
| | | | | | | | Reviewed-by: mae
| * Removed unneeded code.Roberto Raggi2010-03-292-10/+0
| |
* | Fix qdeclarativedom::loadDynamicProperty testAaron Kennedy2010-03-301-0/+6
|/
* Improve QML compiler statisticsAaron Kennedy2010-03-292-9/+45
|
* Use error enum not numbersWarwick Allison2010-03-291-2/+2
| | | | (easier to doc)
* DocAaron Kennedy2010-03-291-45/+40
| | | | QTBUG-7998
* Optimization: reduce allocationsAaron Kennedy2010-03-292-4/+4
|
* Remove "variant" QML propertiesAaron Kennedy2010-03-291-2/+1
| | | | "property var a" works just as well
* Use QDateTime when specifying a "date" property in QMLAaron Kennedy2010-03-295-4/+43
| | | | QT-718
* Fix for qdeclarativelanguage::listPropertiesAaron Kennedy2010-03-291-2/+5
|
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Warwick Allison2010-03-292-29/+416
|\
| * Optimization: Don't use QVariant in QDeclarativeVMEMetaObjectAaron Kennedy2010-03-292-29/+416
| |
* | Add importPathList, mainly for doc purposes.Warwick Allison2010-03-292-10/+25
|/
* Source resizing for QDeclarativeImageProvider too.Warwick Allison2010-03-284-5/+9
| | | | (fixes test too)
* Recompute the source location of regexp literals.Roberto Raggi2010-03-262-2/+14
| | | | Task-number: QTBUG-9367
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Alan Alpert2010-03-265-161/+255
|\
| * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Aaron Kennedy2010-03-264-211/+138
| |\
| | * Remove some Script {} docsMartin Jones2010-03-252-89/+0
| | |
| | * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt into 4.7Martin Jones2010-03-252-122/+138
| | |\ | | | | | | | | | | | | | | | | Conflicts: src/declarative/graphicsitems/qdeclarativeitem.cpp
| | | * Merge remote branch 'main/4.7' into 4.7Morten Johan Sørvig2010-03-2533-123/+556
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: demos/declarative/minehunt/minehunt.cpp src/declarative/qml/qdeclarativecompiler.cpp
| | | * \ Merge remote branch 'origin/4.7' into HEADThiago Macieira2010-03-243-3/+3
| | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Four-way merge: take the qt-qml.git#4.7 branch version (which uses fromUtf8). I used QLatin1String, Thierry used QString::fromLatin1. Conflicts: src/declarative/qml/qdeclarativecompiler.cpp
| | | * | | doc: Fixed all the remaining qdoc errors. For now.Martin Smith2010-03-241-116/+132
| | | | | |
| | | * | | Fix cast-from-ascii warningThiago Macieira2010-03-201-1/+1
| | | | | |
| | | * | | Fix compilation on LinuxThiago Macieira2010-03-201-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Error was: narrowing conversion of 'point.QPointF::x()' from 'qreal' to 'float' inside { }
| * | | | | Add missing files from 72599ca45c416f2f0a9654412c14a148ca3d728cAaron Kennedy2010-03-262-0/+167
| |/ / / /
* | | | | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Alan Alpert2010-03-2515-46/+134
|\ \ \ \ \ | |/ / / /
| * | | | Optimize QML "parent" property accessAaron Kennedy2010-03-252-15/+75
| | | | | | | | | | | | | | | | | | | | | | | | | For properties that are as important as "parent", QML cannot afford the overhead of a signal/slot connection.
| * | | | Protect the QDeclarativeListProperty used in QGraphicsItem with ifdefAlexis Menard2010-03-251-0/+4
| | |_|/ | |/| | | | | | | | | | | | | | | | | | Then it fixes the build Reviewed-by:TrustMe
| * | | Qt.Infinite -> Animation.InfiniteMichael Brasser2010-03-252-5/+2
| | | | | | | | | | | | | | | | | | | | Too misleading to have on the Qt object, as it only means infinite for animation loops.
| * | | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Aaron Kennedy2010-03-252-4/+4
| |\ \ \
| | * | | Replace Animation's repeat property with loops.Michael Brasser2010-03-252-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | You can now loop a fixed number of times as well as forever. The old repeat behavior (loop forever) can be acheived with loops: Qt.Infinite.
| * | | | Remove faulty assert - the precondition is checked for correctly later onAaron Kennedy2010-03-251-2/+1
| |/ / / | | | | | | | | | | | | Task-number: QTBUG-9336
| * | | Merge remote branch 'origin/4.7' into HEADThiago Macieira2010-03-242-2/+2
| |\ \ \ | | | |/ | | |/| | | | | | | | | Conflicts: src/declarative/qml/qdeclarativecompiler.cpp
| | * | Fix warnings in the declarative moduleThierry Bastian2010-03-233-3/+3
| | |/
| * | Disallow the implicit QDeclarativeGuardedContextData copy constructorAaron Kennedy2010-03-241-0/+10
| | | | | | | | | | | | Task-number: QTBUG-9312
| * | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Warwick Allison2010-03-246-4/+40
| |\ \
| | * | Add object ids to the metadata provided in debugger classes.Bea Lam2010-03-246-4/+40
| | | |
| * | | Revert 95aa8c8fc76e2309a629b05994a2677b0887140b.Warwick Allison2010-03-245-50/+0
| |/ /
| * | Origin safety testing for imported resources.Warwick Allison2010-03-244-12/+44
| | | | | | | | | | | | | | | Extends upon 95aa8c8fc76e2309a629b05994a2677b0887140b. Still under discussion.
* | | Forgot to add a file.Alan Alpert2010-03-251-8/+10
|/ / | | | | | | | | Forgot to add these, the primary changes, to commit 870dbc7542beb07b84378f356cbe568a2ae8b7e1
* | Fix warning.Michael Brasser2010-03-231-1/+1
| |
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Warwick Allison2010-03-231-2/+2
|\ \
| * | Fix mutex handling that was causing tests to sometimes crash/fail.Bea Lam2010-03-231-2/+2
| | |
* | | Basic Loader origin safety (for discussion).Warwick Allison2010-03-232-0/+18
|/ /
* | Manual merge.Warwick Allison2010-03-227-9/+81
| |
* | Test imports with realistic paths (previously passed accidentally).Warwick Allison2010-03-221-3/+10
| | | | | | | | Fix failure when import path is ancestor dir of other import path.
* | Remove exporting of QDeclarativeContext class symbolsKai Koehne2010-03-221-1/+1
| | | | | | | | We're not using it in QmlDesigner any more