Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Change and rename qml EaseFollow to SmoothedAnimation | Leonardo Sobral Cunha | 2010-03-30 | 1 | -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 class | Aaron Kennedy | 2010-03-30 | 1 | -1/+2 |
| | | | | Apparently structs are not socially acceptable. | ||||
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7 | Aaron Kennedy | 2010-03-30 | 5 | -67/+36 |
|\ | | | | | | | | | Conflicts: tests/auto/declarative/qdeclarativedom/tst_qdeclarativedom.cpp | ||||
| * | Simplify import path. | Warwick Allison | 2010-03-29 | 3 | -57/+36 |
| | | | | | | | | Reviewed-by: mae | ||||
| * | Removed unneeded code. | Roberto Raggi | 2010-03-29 | 2 | -10/+0 |
| | | |||||
* | | Fix qdeclarativedom::loadDynamicProperty test | Aaron Kennedy | 2010-03-30 | 1 | -0/+6 |
|/ | |||||
* | Improve QML compiler statistics | Aaron Kennedy | 2010-03-29 | 2 | -9/+45 |
| | |||||
* | Use error enum not numbers | Warwick Allison | 2010-03-29 | 1 | -2/+2 |
| | | | | (easier to doc) | ||||
* | Doc | Aaron Kennedy | 2010-03-29 | 1 | -45/+40 |
| | | | | QTBUG-7998 | ||||
* | Optimization: reduce allocations | Aaron Kennedy | 2010-03-29 | 2 | -4/+4 |
| | |||||
* | Remove "variant" QML properties | Aaron Kennedy | 2010-03-29 | 1 | -2/+1 |
| | | | | "property var a" works just as well | ||||
* | Use QDateTime when specifying a "date" property in QML | Aaron Kennedy | 2010-03-29 | 5 | -4/+43 |
| | | | | QT-718 | ||||
* | Fix for qdeclarativelanguage::listProperties | Aaron Kennedy | 2010-03-29 | 1 | -2/+5 |
| | |||||
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7 | Warwick Allison | 2010-03-29 | 2 | -29/+416 |
|\ | |||||
| * | Optimization: Don't use QVariant in QDeclarativeVMEMetaObject | Aaron Kennedy | 2010-03-29 | 2 | -29/+416 |
| | | |||||
* | | Add importPathList, mainly for doc purposes. | Warwick Allison | 2010-03-29 | 2 | -10/+25 |
|/ | |||||
* | Source resizing for QDeclarativeImageProvider too. | Warwick Allison | 2010-03-28 | 4 | -5/+9 |
| | | | | (fixes test too) | ||||
* | Recompute the source location of regexp literals. | Roberto Raggi | 2010-03-26 | 2 | -2/+14 |
| | | | | Task-number: QTBUG-9367 | ||||
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7 | Alan Alpert | 2010-03-26 | 5 | -161/+255 |
|\ | |||||
| * | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7 | Aaron Kennedy | 2010-03-26 | 4 | -211/+138 |
| |\ | |||||
| | * | Remove some Script {} docs | Martin Jones | 2010-03-25 | 2 | -89/+0 |
| | | | |||||
| | * | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt into 4.7 | Martin Jones | 2010-03-25 | 2 | -122/+138 |
| | |\ | | | | | | | | | | | | | | | | | Conflicts: src/declarative/graphicsitems/qdeclarativeitem.cpp | ||||
| | | * | Merge remote branch 'main/4.7' into 4.7 | Morten Johan Sørvig | 2010-03-25 | 33 | -123/+556 |
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: demos/declarative/minehunt/minehunt.cpp src/declarative/qml/qdeclarativecompiler.cpp | ||||
| | | * \ | Merge remote branch 'origin/4.7' into HEAD | Thiago Macieira | 2010-03-24 | 3 | -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 Smith | 2010-03-24 | 1 | -116/+132 |
| | | | | | | |||||
| | | * | | | Fix cast-from-ascii warning | Thiago Macieira | 2010-03-20 | 1 | -1/+1 |
| | | | | | | |||||
| | | * | | | Fix compilation on Linux | Thiago Macieira | 2010-03-20 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Error was: narrowing conversion of 'point.QPointF::x()' from 'qreal' to 'float' inside { } | ||||
| * | | | | | Add missing files from 72599ca45c416f2f0a9654412c14a148ca3d728c | Aaron Kennedy | 2010-03-26 | 2 | -0/+167 |
| |/ / / / | |||||
* | | | | | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7 | Alan Alpert | 2010-03-25 | 15 | -46/+134 |
|\ \ \ \ \ | |/ / / / | |||||
| * | | | | Optimize QML "parent" property access | Aaron Kennedy | 2010-03-25 | 2 | -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 ifdef | Alexis Menard | 2010-03-25 | 1 | -0/+4 |
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | Then it fixes the build Reviewed-by:TrustMe | ||||
| * | | | Qt.Infinite -> Animation.Infinite | Michael Brasser | 2010-03-25 | 2 | -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.7 | Aaron Kennedy | 2010-03-25 | 2 | -4/+4 |
| |\ \ \ | |||||
| | * | | | Replace Animation's repeat property with loops. | Michael Brasser | 2010-03-25 | 2 | -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 on | Aaron Kennedy | 2010-03-25 | 1 | -2/+1 |
| |/ / / | | | | | | | | | | | | | Task-number: QTBUG-9336 | ||||
| * | | | Merge remote branch 'origin/4.7' into HEAD | Thiago Macieira | 2010-03-24 | 2 | -2/+2 |
| |\ \ \ | | | |/ | | |/| | | | | | | | | | Conflicts: src/declarative/qml/qdeclarativecompiler.cpp | ||||
| | * | | Fix warnings in the declarative module | Thierry Bastian | 2010-03-23 | 3 | -3/+3 |
| | |/ | |||||
| * | | Disallow the implicit QDeclarativeGuardedContextData copy constructor | Aaron Kennedy | 2010-03-24 | 1 | -0/+10 |
| | | | | | | | | | | | | Task-number: QTBUG-9312 | ||||
| * | | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7 | Warwick Allison | 2010-03-24 | 6 | -4/+40 |
| |\ \ | |||||
| | * | | Add object ids to the metadata provided in debugger classes. | Bea Lam | 2010-03-24 | 6 | -4/+40 |
| | | | | |||||
| * | | | Revert 95aa8c8fc76e2309a629b05994a2677b0887140b. | Warwick Allison | 2010-03-24 | 5 | -50/+0 |
| |/ / | |||||
| * | | Origin safety testing for imported resources. | Warwick Allison | 2010-03-24 | 4 | -12/+44 |
| | | | | | | | | | | | | | | | Extends upon 95aa8c8fc76e2309a629b05994a2677b0887140b. Still under discussion. | ||||
* | | | Forgot to add a file. | Alan Alpert | 2010-03-25 | 1 | -8/+10 |
|/ / | | | | | | | | | Forgot to add these, the primary changes, to commit 870dbc7542beb07b84378f356cbe568a2ae8b7e1 | ||||
* | | Fix warning. | Michael Brasser | 2010-03-23 | 1 | -1/+1 |
| | | |||||
* | | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7 | Warwick Allison | 2010-03-23 | 1 | -2/+2 |
|\ \ | |||||
| * | | Fix mutex handling that was causing tests to sometimes crash/fail. | Bea Lam | 2010-03-23 | 1 | -2/+2 |
| | | | |||||
* | | | Basic Loader origin safety (for discussion). | Warwick Allison | 2010-03-23 | 2 | -0/+18 |
|/ / | |||||
* | | Manual merge. | Warwick Allison | 2010-03-22 | 7 | -9/+81 |
| | | |||||
* | | Test imports with realistic paths (previously passed accidentally). | Warwick Allison | 2010-03-22 | 1 | -3/+10 |
| | | | | | | | | Fix failure when import path is ancestor dir of other import path. | ||||
* | | Remove exporting of QDeclarativeContext class symbols | Kai Koehne | 2010-03-22 | 1 | -1/+1 |
| | | | | | | | | We're not using it in QmlDesigner any more |