summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative
Commit message (Collapse)AuthorAgeFilesLines
* QDeclarativeDebugService: Add bc autotestKai Koehne2010-10-013-2/+95
| | | | | | | Although it's a private header we use qdeclarativedebugservice_p.h in creator / qmljsdebugger library. Working with a copy of the header in the autotest hopefully catches some bc breakages. (cherry picked from commit 31dcf2b4028b1f76301fc69fccff0a9474a0a135)
* Fix crash when trying to append a null transform to QDeclarativeItem.Michael Brasser2010-10-012-0/+25
| | | | | Task-number: QTBUG-13893 (cherry picked from commit 085a121cb1ebba38d62c924500dbc71806b29b3c)
* Mitigate private header problems in QtCreator by adding semi-private APIKai Koehne2010-09-272-0/+89
| | | | | | | | | | | Add a semi-private API to get QScriptEngine for a QDeclarativeEngine. So far the qmljsdebugger lib in QtCreator accessed the script engine via QDeclarativeEnginePrivate. Replace this by a minimal API that is still in a private header, where we nevertheless can make some BC checks/guarantees. Aaron Kennedy agreed with the idea. Task-number: QTCREATORBUG-2179 (cherry picked from commit c1a7deedf1628e0dd3a5fbf92d97c4151d17fb5a)
* Mitigate private header problems in QtCreator by adding semi-private APIKai Koehne2010-09-273-0/+98
| | | | | | | | | | | Add a semi-private API to get QScriptEngine for a QDeclarativeEngine. So far the qmljsdebugger lib in QtCreator accessed the script engine via QDeclarativeEnginePrivate. Replace this by a minimal API that is still in a private header, where we nevertheless can make some BC checks/guarantees. Aaron Kennedy agreed with the idea. Task-number: QTCREATORBUG-2179 (cherry picked from commit 63c4c0449361ced03838e51d18e1113740f27fa9)
* Autotest and small fix for QDeclarativeFontLoader.Yann Bodson2010-09-232-0/+42
| | | | (cherry picked from commit eef26bc8521da62db0dced6796eceb7c27f64160)
* Fix a crash in QDeclarativeVisualDataModelJoona Petrell2010-09-232-0/+41
| | | | | | Task-number: QTBUG-13754 Reviewed-by: Martin Jones (cherry picked from commit 46e49547f8e4614cd504b0af0d52d4e2768b57c3)
* Make qml debugging work with command line argumentsLasse Holmstedt2010-09-233-6/+41
| | | | | | | | | | | The environment variables do not work for Symbian devices, so without this change, QML debugging cannot be done on them. In addition, configure now contains an option to disable qml debugging entirely, due to it being a major security risk. Reviewed-by: kkoehne (cherry picked from commit a9e5329168cd9113bf41293c05193d8b099494c6)
* Improve error messagesBea Lam2010-09-221-4/+4
| | | | (cherry picked from commit af29c555a29ebcdb1d962176912478212c9c7e65)
* Changes to objects returned from get() should emit itemsChanged() soBea Lam2010-09-221-20/+287
| | | | | | | | | | | | that the view is updated (currently the model data changes but the view does not). In flat-model mode, get() now returns a QScriptClass-type object so that changes to the returned object are received, and for nested-model mode, the fix adds a QDeclarativeOpenMetaObject subclass and ModelNode::listIndex so that itemsChanged() can be emitted when the node data changes. Task-number: QTBUG-12363 (cherry picked from commit c2bbef949126826f0330c69dff1a8c96919f69a5)
* Moving items in a PathView caused PathView.onPath to be set to false.Martin Jones2010-09-212-8/+16
| | | | | | | | | Check that we no longer hold a reference to the item before setting onPath to false. Task-number: QTBUG-13689 Reviewed-by: Michael Brasser (cherry picked from commit 7e6b2b2b95bc1db77544b898ec45ea4a2683e435)
* Models with a single role may not update due to "modelData" conflict.Martin Jones2010-09-163-0/+104
| | | | | | | | | Models with a single role also have a modelData property added. These role names both ended up in a hash, resulting in only one or the other updating. Now we handle modelData specially. Task-number: QTBUG-13664 Reviewed-by: Michael Brasser
* Fix test.Michael Brasser2010-09-161-2/+0
|
* Restore any absolute geometry changed by AnchorChanges when returningMichael Brasser2010-09-152-0/+52
| | | | | | to the base state. Task-number: QTBUG-11834
* Unit tests for Bauhaus enablersThomas Hartmann2010-09-142-0/+166
| | | | See 6454f4db1697af1d36ad4c0ea83ccd0bb490fd39
* In ParentChange treat flip in x and y as a 180 degree rotationMartin Jones2010-09-142-0/+45
| | | | | | | The two are equivalent, but flip doesn't work in ParentChange. Task-number: QTBUG-13554 Reviewed-by: Michael Brasser
* When onDoubleClicked: is handled don't emit a second onPressed/onClickedMartin Jones2010-09-132-0/+46
| | | | | Task-number: QTBUG-12250 Reviewed-by: Michael Brasser
* Add test for view velocity update on setCurrentIndex()Martin Jones2010-09-132-0/+4
| | | | Task-number: QTBUG-13543
* Autotests cleanup.Yann Bodson2010-09-106-107/+52
|
* Autotest for QTBUG-13454.Yann Bodson2010-09-101-14/+54
|
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Alan Alpert2010-09-091-5/+1
|\
| * Fix qdeclarativeimageprovider autotest compilation on SymbianJoona Petrell2010-09-091-5/+1
| | | | | | | | | | Task-number: Reviewed-by: Michael Brasser
* | Fix SmoothedAnimation test and docsAlan Alpert2010-09-095-6/+889
|/ | | | | | | | | The SmoothedAnimation visual test was misleading, and has been expanded to include more common use cases. The property documentation was also slightly extended. This should help solve the confusion in the related task. Task-number: QTBUG-12114
* Don't cause repaints during painting in Text elementMartin Jones2010-09-081-0/+11
| | | | | | | | | | Calling prepareGeometryChange in a paint event is a bad idea and was causing jerky scrolling. There is no longer any need for the removed code since we don't use imgCache.size() to determine boundingRect() anymore. Task-number: QTBUG-13453 Reviewed-by: Joona Petrell
* Fix AnchorAnimation for multiple AnchorChanges with dependancies.Michael Brasser2010-09-063-0/+515
| | | | | | | When rewinding, don't reapply bindings, only values. This is consistent with how we handle rewinding other property bindings. Task-number: QTBUG-13398
* Fix PathView item position on insertion and removal.Martin Jones2010-09-061-8/+11
| | | | | | | Ensure the offset is adjusted to account for the new or removed items. Also minor optimizations to delegate updates. Task-number: QTBUG-13416
* Add test for ListView positioning when all visible items are removed.Martin Jones2010-09-051-1/+30
| | | | Task-number: QTBUG-12664
* Missing fileAaron Kennedy2010-09-031-0/+14
|
* qreal == float fixesAaron Kennedy2010-09-031-1/+1
| | | | QTBUG-11853
* Don't modify the signal order on the second dynamic meta object passAaron Kennedy2010-09-031-0/+12
| | | | QTBUG-13374
* Support passing QObject derived types to QML methodsAaron Kennedy2010-09-034-1/+52
| | | | QTBUG-13047
* Don't overflow the unreferenced cost counterAaron Kennedy2010-09-021-0/+27
| | | | QTBUG-13345
* Support JS "in" operator on QML objectsAaron Kennedy2010-09-012-0/+18
| | | | QTBUG-12837
* Only emit change signal when variant properties actually changeAaron Kennedy2010-09-012-1/+28
| | | | QTBUG-12601
* Prevent calling deleteLater() from QMLAaron Kennedy2010-08-312-0/+24
| | | | QTBUG-13045
* Ignore non-scriptable properties in QMLAaron Kennedy2010-08-3110-6/+61
| | | | QTBUG-13043
* Don't double call classBegin()Aaron Kennedy2010-08-315-1/+41
| | | | QTBUG-13114
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Aaron Kennedy2010-08-317-7/+131
|\
| * Revert "Add 'cached' property to Image."Yann Bodson2010-08-311-20/+9
| | | | | | | | | | | | This will have to go in 4.8. This reverts commit 3928cb20ecc63ed21cdb122388b200c9ab8e7cad.
| * Add 'cached' property to Image.Yann Bodson2010-08-311-9/+20
| | | | | | | | | | Task-number: QTBUG-7300 Reviewed-by: Aaron Kennedy
| * Ensure Flickable visibleArea is updated when view height changesMartin Jones2010-08-312-0/+49
| | | | | | | | Task-number: QTBUG-13095
| * Fix VisualDataModel model update handling when rootIndex is specified.Martin Jones2010-08-272-6/+71
| | | | | | | | Task-number: QTBUG-13038
| * Improve test reliability when running in parallel with other tests.Martin Jones2010-08-271-0/+9
| |
| * Improve stability of test on loaded hw.Martin Jones2010-08-271-0/+1
| |
| * Improve stability of test on loaded hw.Martin Jones2010-08-271-1/+1
| |
* | Simplify type management codeAaron Kennedy2010-08-273-4/+4
|/
* Handle layoutChanged() properly in QML views.Martin Jones2010-08-261-1/+1
| | | | | | Update all visible items when layoutChanged() is emitted. Task-number: QTBUG-13146
* Fix ListView and GridView tests following off-by-one fixes.Martin Jones2010-08-262-3/+3
| | | | | | Our tests were verifying incorrect positions... Task-number: QTBUG-12822
* Fix ListView.view attached property with VisualItemModelMartin Jones2010-08-262-3/+4
| | | | | | | | We assumed that the attached object was created at the same time as the item. Task-number: QTBUG-13166 Reviewed-by: Aaron Kennedy
* Add test for VisualItemModel layoutChanged() handlingMartin Jones2010-08-252-0/+50
| | | | Task-number: QTBUG-13146
* Fix responseText to check the charset encoding field and also to notBea Lam2010-08-253-12/+32
| | | | | | | | assume that the data is xml. The change also follows the w3c spec more closely (e.g. check the mime type field as well for encoding, for both responseText and responseXML). Task-number: QTBUG-13117