summaryrefslogtreecommitdiffstats
path: root/src/declarative
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Warwick Allison2010-03-311-0/+1
|\
| * Update mouseX(Y) when clicking on a mouse areaLeonardo Sobral Cunha2010-03-311-0/+1
| | | | | | | | | | | | | | | | This fixes the original commit, 56aa9370dbafa8ee4, for QTBUG-9383. We need to emit a positionChanged signal to update the mouseX(Y) for the mouse area. Reviewed-by: Martin Jones
* | docWarwick Allison2010-03-311-0/+4
|/
* Fix qml plugin loading with specified path in qmldirmae2010-03-301-3/+8
| | | | | | The fix makes it possible to specify an ABSOLUTE path as well, e.g.: plugin mimehunt C:\sys\bin
* Optimization: Use internal QGraphicsItemPrivate::setItemParentHelper()Aaron Kennedy2010-03-301-4/+12
| | | | | This brings the "data" property inline with the "children" property. Improves the declarative/creation/itemtree_qml test by 13%.
* Update QmlChanges for SmoothedAnimationLeonardo Sobral Cunha2010-03-301-0/+33
|
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-03-3023-659/+751
|\
| * WorkerScript was receiving events after deletion and trying to processBea Lam2010-03-301-1/+5
| | | | | | | | these events.
| * Fixes PathView compile warningsLeonardo Sobral Cunha2010-03-302-2/+2
| |
| * Finished file rename of qdeclarative easefollow to smoothedanimationLeonardo Sobral Cunha2010-03-308-14/+13
| |
| * Change and rename qml EaseFollow to SmoothedAnimationLeonardo Sobral Cunha2010-03-3014-353/+446
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Fix parenting after 6f88388db4e8e202780d789e66664ff824691948.Michael Brasser2010-03-308-35/+31
| |
* | Make qmlpixmapcache thread shutdown cleanerMartin Jones2010-03-301-12/+6
|/ | | | | | | | | | | | | | | | | Change to Thiago's method: QThread::quit() is *not* thread-safe, so we mustn't call it from outside the QThread that the QThread holds. Unlike other QObjects, this method and some others must not be called from the thread they have affinity to. So add a hack to call it in the auxiliary thread. Do that by connecting a dummy QObject's destroyed() signal to the quit() slot in a DirectConnection, then move the object to the thread. When we call deleteLater(), this will cause the thread's event loop to delete the object, which in turn calls quit() in the actual thread. Reviewed-by: Thiago Macieira
* Fix viewer resizing on reload and File->openMartin Jones2010-03-301-0/+1
| | | | Task-number: QTBUG-9325
* Don't emit onPositionChanged before onPressedMartin Jones2010-03-301-1/+0
| | | | Task-number: QTBUG-9383
* 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-309-75/+56
|\ | | | | | | | | Conflicts: tests/auto/declarative/qdeclarativedom/tst_qdeclarativedom.cpp
| * Correctly parent repeater items.Michael Brasser2010-03-301-5/+5
| |
| * Make sure cursor delegate is parented.Michael Brasser2010-03-292-0/+4
| | | | | | | | setParentItem no longer sets QObject parent.
| * Allow just one dimension to be set, the other scaled accordinglyWarwick Allison2010-03-291-3/+11
| | | | | | | | Task-number: QTBUG-8984
| * 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)
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-03-291-4/+0
|\
| * QDeclarativeItem::setParentItem should not modify the QObject parentAaron Kennedy2010-03-291-4/+0
| | | | | | | | QTBUG-5768
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-03-291-45/+40
|\ \ | |/
| * DocAaron Kennedy2010-03-291-45/+40
| | | | | | | | QTBUG-7998
* | Ensure currentIndex is updated when PathView items are removed/movedMartin Jones2010-03-292-8/+37
|/
* Relayout items when Flow size changes.Martin Jones2010-03-291-0/+3
| | | | | | Also add Flow tests. Task-number: QTBUG-9421
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-03-2913-73/+527
|\
| * 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-6/+9
| |\
| | * Fix crash in QDeclarativePropertyMap.Michael Brasser2010-03-292-6/+9
| | | | | | | | | | | | Task-number: QTBUG-9439
| * | Remove total wrongness.Warwick Allison2010-03-291-1/+0
| |/ | | | | | | Base URL of engine is not what some people think it is.
| * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Warwick Allison2010-03-297-47/+443
| |\
| | * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Aaron Kennedy2010-03-295-18/+27
| | |\
| | | * Fix memory leak and clean up deletion.Bea Lam2010-03-291-8/+5
| | | |
| | | * Don't emit QDeclarativePropertyMap::valueChanged() before the value hasMichael Brasser2010-03-294-10/+22
| | | | | | | | | | | | | | | | | | | | | | | | changed. Task-number: QTBUG-9386
| | * | Optimization: Don't use QVariant in QDeclarativeVMEMetaObjectAaron Kennedy2010-03-292-29/+416
| | |/
| * | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Warwick Allison2010-03-294-83/+105
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/src/declarative/examples.qdoc doc/src/declarative/focus.qdoc doc/src/declarative/modules.qdoc doc/src/declarative/network.qdoc doc/src/declarative/qdeclarativedebugging.qdoc doc/src/declarative/qdeclarativei18n.qdoc doc/src/declarative/qmlruntime.qdoc doc/src/declarative/tutorial.qdoc tests/auto/declarative/qdeclarativeimage/tst_qdeclarativeimage.cpp
| * | Add importPathList, mainly for doc purposes.Warwick Allison2010-03-292-10/+25
| | |
* | | Make sure the image reader thread is shutdown properlyMartin Jones2010-03-291-2/+14
| | | | | | | | | | | | | | | Prevents deadlock on shutdown for very shortlived runs, e.g. autotests
* | | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-03-294-83/+105
|\ \ \ | | |/ | |/|
| * | Cleanup.Michael Brasser2010-03-282-30/+8
| | |
| * | Don't set status to Ready until model has been created (currently thisBea Lam2010-03-282-53/+97
| |/ | | | | | | | | | | | | | | | | | | is set as soon as XML data is downloaded, so there is no notification when model is actually ready to be used). This also fixes data() to not crash if it is called before the model is ready. Task-number: QTBUG-7835