summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Change and rename qml EaseFollow to SmoothedAnimationLeonardo Sobral Cunha2010-03-309-31/+160
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 qdeclarativedom::loadDynamicProperty testAaron Kennedy2010-03-301-6/+4
|
* Pass test.Warwick Allison2010-03-291-0/+14
|
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Warwick Allison2010-03-297-4/+103
|\
| * Visual test fixes.Michael Brasser2010-03-295-4/+4
| |
| * Relayout items when Flow size changes.Martin Jones2010-03-292-0/+99
| | | | | | | | | | | | Also add Flow tests. Task-number: QTBUG-9421
* | test error code tooWarwick Allison2010-03-291-3/+5
|/
* Remove "variant" QML propertiesAaron Kennedy2010-03-292-2/+0
| | | | "property var a" works just as well
* Fix crash in QDeclarativePropertyMap.Michael Brasser2010-03-291-0/+16
| | | | Task-number: QTBUG-9439
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Warwick Allison2010-03-294-1/+41
|\
| * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Aaron Kennedy2010-03-295-3/+18
| |\
| | * Add missing pro file.Michael Brasser2010-03-291-0/+7
| | |
| | * Don't emit QDeclarativePropertyMap::valueChanged() before the value hasMichael Brasser2010-03-291-1/+3
| | | | | | | | | | | | | | | | | | changed. Task-number: QTBUG-9386
| * | Optimization: Don't use QVariant in QDeclarativeVMEMetaObjectAaron Kennedy2010-03-292-0/+31
| | |
* | | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Warwick Allison2010-03-29690-238/+387
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Fix svg and big image auto tests on win32.Martin Jones2010-03-293-2/+8
| |/
| * Run a subset of 'stable' visual tests.Michael Brasser2010-03-282-3/+12
| |
| * Rename visual test to qmlvisual.Michael Brasser2010-03-28676-24/+17
| |
| * Syntax and other small fixes for the visual tests.Michael Brasser2010-03-2821-177/+192
| |
| * Autotest tweaks.Michael Brasser2010-03-285-2/+45
| |
| * Don't set status to Ready until model has been created (currently thisBea Lam2010-03-281-11/+86
| | | | | | | | | | | | | | | | | | | | 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
| * Fix qdeclarativeimage autotest on the mac.Yann Bodson2010-03-283-2/+9
| |
* | docWarwick Allison2010-03-281-0/+3
|/
* QTBUG-9367 has been fixed. Expect pass.Warwick Allison2010-03-281-1/+0
|
* Source resizing for QDeclarativeImageProvider too.Warwick Allison2010-03-281-10/+20
| | | | (fixes test too)
* Installed imports are no longer searched relative to caller.Warwick Allison2010-03-281-0/+1
| | | | (quoted URL is for that)
* Recompute the source location of regexp literals.Roberto Raggi2010-03-261-1/+1
| | | | Task-number: QTBUG-9367
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Alan Alpert2010-03-265-12/+16
|\
| * Added highlight ranges/modes to PathViewMartin Jones2010-03-265-12/+16
| | | | | | | | Task-number: QT-319
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Alan Alpert2010-03-2657-74/+2956
|\ \ | |/
| * Test and fix order of transform application.Warwick Allison2010-03-261-4/+10
| | | | | | | | Remove Translate.z since Qt cannot sensibly support it yet.
| * Test transforms.Warwick Allison2010-03-261-0/+21
| |
| * sourceWidth/sourceHeight -> sourceSizeWarwick Allison2010-03-261-4/+3
| |
| * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Warwick Allison2010-03-266-8/+27
| |\
| | * Update test.Michael Brasser2010-03-261-3/+1
| | |
| | * Add autotest for QTBUG-9367.Michael Brasser2010-03-263-0/+23
| | |
| | * Remove Q prefix from the validators.Michael Brasser2010-03-262-5/+3
| | |
| * | Control of image rendered size (esp. SVG).Warwick Allison2010-03-266-8/+112
| |/ | | | | | | | | | | | | Add Translate transform. Image::sourceWidth and Image::sourceHeight read/write properties. Task-number: QTBUG-8984
| * Fix where data() is called before xml is loaded. Also add status tests.Bea Lam2010-03-251-0/+43
| |
| * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt into 4.7Martin Jones2010-03-2544-58/+2748
| |\ | | | | | | | | | | | | Conflicts: src/declarative/graphicsitems/qdeclarativeitem.cpp
| | * Use QTRY_COMPARE after QTest::qWaitForWindowShown()Kent Hansen2010-03-251-1/+1
| | | | | | | | | | | | | | | Apparently it's possible that the window has been shown but haven't received a paint event yet.
| | * QtScript: Add API for reporting additional memory costsKent Hansen2010-03-251-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QScriptEngine::reportAdditionalMemoryCost(int). This function provides the ability to give a hint to the engine that it should perhaps trigger garbage collection sooner rather than later. For example, if you've implemented a JS ByteArray class that wraps a QByteArray, and a user constructs a few hundred temporary ByteArray objects of large sizes, failure to report the additional memory cost may cause the application's memory consumption to grow and grow (because the script engine thinks they are "cheap" objects, the GC won't kick in). Reporting the correct size can be difficult (or impossible) in some cases. For example, it's difficult to predict the total amount of system memory & resources consumed by a QImage. But even reporting a heuristic / approximate cost can be better than reporting no cost. Task-number: QTBUG-6238 Reviewed-by: Simon Hausmann
| | * Merge remote branch 'main/4.7' into 4.7Morten Johan Sørvig2010-03-2588-1343/+630
| | |\ | | | | | | | | | | | | | | | | | | | | Conflicts: demos/declarative/minehunt/minehunt.cpp src/declarative/qml/qdeclarativecompiler.cpp
| | * | Fix CI sytem build breakage.Morten Johan Sørvig2010-03-251-0/+0
| | | | | | | | | | | | | | | | (The .pro file name must match the dir name)
| | * | Compile with QT_NO_NETWORKINTERFACE defined.Aaron McCarthy2010-03-251-0/+10
| | | |
| | * | Merge remote branch 'origin/4.7' into HEADThiago Macieira2010-03-241-0/+0
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | | Do not use _NET_ACTIVE_WINDOW for nonmanaged windows.Denis Dzyubenko2010-03-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a window has X11BypassWindowManager hint, we shouldn't bother asking the windowmanager to active it using the _NET_ACTIVE_WINDOW protocol and just go though Xorg directly. Reviewed-by: Bradley T. Hughes
| | * | | QtScript: Add QObjectWrapOption for not exposing slotsKent Hansen2010-03-241-0/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes it possible to have a prototype object in place that handles all slot calls, rather than having the slots be recreated in each wrapper object. Task-number: QTBUG-3637 Reviewed-by: Simon Hausmann
| | * | | Add unit tests for QTranslator.David Sansome2010-03-243-1/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Two new tests: * Check that translations can be loaded from resources * Check that nothing happens when trying to "load" a directory Merge-request: 531 Reviewed-by: Benjamin Poulain <benjamin.poulain@nokia.com>
| | * | | Revert "Optimized QLocale to access system locale on demand."Morten Johan Sørvig2010-03-241-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 0d3c62150f2fa2c06f7676336076be4622059cc3, which causes the following (intermittent) test failuers: TESTCASE_FAIL qtconcurrentmap (pulse_qws/linux-x86-g++) TESTFUNCTION_FAIL qtconcurrentmap::mapped (pulse_qws/linux-x86-g++)