summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative
Commit message (Collapse)AuthorAgeFilesLines
* Rename remaining 'wantsFocus'.Yann Bodson2010-07-212-9/+9
|
* Bounding rect of text was not always calculated correctly.Martin Jones2010-07-212-0/+37
| | | | | | | | The boundingRect depended upon the image cache which may not become valid until after boundingRect is called. Task-number: QTBUG-12291 Reviewed-by: Michael Brasser
* QML focus API updates.Michael Brasser2010-07-2113-159/+154
| | | | | | | | | The wantsFocus property has been renamed to activeFocus, to better reflect its value. Reading and writing the focus property is also now consistent -- this property represents focus within a scope. Other small changes were made to keep things consistent with the new naming. Reviewed-by: Aaron Kennedy
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Warwick Allison2010-07-217-8/+124
|\
| * Only ignore the same target value for a Behavior when it is running.Michael Brasser2010-07-212-0/+44
| | | | | | | | | | | | | | | | | | | | Otherwise a Behavior may mistakenly not be triggered. This situation can arise when the property in question has been manipulated via the property system, followed by a direct function call (which correctly bypasses the Behavior), followed by a another change via the property system. Task-number: QTBUG-12295
| * font.letterSpacing used percentage rather than absolute values.Martin Jones2010-07-213-8/+8
| | | | | | | | | | | | | | ... and percentage is useless. Task-number: QTBUG-12282 Reviewed-by: Warwick Allison
| * Rewinding AnchorChanges should not make target item's implicit width and ↵Joona Petrell2010-07-212-0/+72
| | | | | | | | | | | | | | height explicit Task-number: QTBUG-12273 Reviewed-by: Michael Brasser
* | Ensure redirects (and indeed all reply process) is done in the right thread.Warwick Allison2010-07-211-0/+2
|/ | | | | | | i.e. the thread with the QNAM the original reply was created in. Task-number: QTBUG-12302 Reviewed-by: Aaron Kennedy
* Ensure the boundingRect() of Text is correctly calculated.Michael Brasser2010-07-201-0/+1
| | | | | | | We need to create our cached image in boundingRect() if it doesn't already exist, to prevents painting errors. Reviewed-by: Warwick Allison
* Ensure released VisualItemModel items are removed from the scene.Martin Jones2010-07-202-4/+34
| | | | | | Also parent them back to the VIM to ensure correct destruction. Task-number: QTBUG-12261
* Fix ListView sections with QList<QObject*>Martin Jones2010-07-192-0/+6
| | | | | | | QDeclarativeVisualDataModel::stringValue() did not handle QList<QObject*> model types. Task-number: QTBUG-12005
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-07-191-12/+12
|\
| * Allow test to pass on smaller screens (eg. 480 high).Warwick Allison2010-07-161-12/+12
| |
* | Always place PathView delegates centered on the pathMartin Jones2010-07-192-0/+10
|/ | | | | | | | | | The scale of the delegate was used to offset the item. This was a bad way of making the item appear to be positioned correctly when the default transform origin was the top-left. Now that transform origin is center, it is obvious that it was a bad idea. Task-number: QTBUG-12245 Reviewed-by: Michael Brasser
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-07-141-4/+6
|\
| * Fix test for get() to check for undefined return valuesBea Lam2010-07-141-4/+6
| | | | | | | | Task-number: QTBUG-10658
* | Position GridView and ListView footer correctly when model cleared.Martin Jones2010-07-144-0/+135
|/ | | | Task-number: QTBUG-12167
* Autotest for QTBUG-5491 (Animation in a Behavior doesn't update running)Michael Brasser2010-07-132-0/+38
|
* wantsFocus should be based on FocusScope chain, not parent chain.Michael Brasser2010-07-136-13/+53
| | | | | | | | Ancestors of the item with focus should only report wantsFocus as true when they are a FocusScope or a top-level item. Reviewed-by: Aaron Kennedy Reviewed-by: Yann Bodson
* Calling setMinimumSize(0, 0) on a top-level window sometimes triggers a bugRobert Griebl2010-07-121-14/+12
| | | | | | | | | | in the Compiz window manager which leads to the QML viewer mainwindow not being composited anymore (at least until the next resize). Since we need to somehow switch between fixed size and freely resizable views, we have to work around that bug using the layout constraint hints. Task-number: QTBUG-11771 Reviewed-by: kkoehne
* Remove use of SpringFollow and SmoothedFollow in qmlvisual testBea Lam2010-07-123-31/+42
| | | | (onvert to use SpringAnimation and SmoothedAnimation instead)
* Fix Mac CIJoona Petrell2010-07-122-0/+24
|
* Add copy(), cut() and paste() support to TextInputJoona Petrell2010-07-122-1/+71
| | | | | Task-number: QTBUG-12086 Reviewed-by: Michael Brasser
* Fix .pro file after class/test rename.Michael Brasser2010-07-111-1/+1
|
* Make test pass and fix docs following removal of SpringFollowBea Lam2010-07-091-2/+2
|
* Remove autotests of depracted element SmoothedFollowJoona Petrell2010-07-098-251/+0
|
* Clean up at the end of each test.Michael Brasser2010-07-081-0/+12
|
* Improve test reliability.Michael Brasser2010-07-081-2/+6
|
* Follow -> Behaviormae2010-07-086-34/+29
| | | | Replace the usages of Follows with Behaviors, update docs.
* Don't show warning for attempts to load pixmaps asynchronouslyBea Lam2010-07-081-3/+1
| | | | | (should be handled by image providers, elements shouldn't have to know about the capabilities)
* Remove Image::pixmap property. QML applications should useBea Lam2010-07-081-31/+0
| | | | | | QDeclarativeImageProvider to provide pixmaps instead. Task-number: QTBUG-11980
* Extend QDeclarativeImageProvider to support QPixmap loading andBea Lam2010-07-084-37/+167
| | | | | | | | | | synchronous loading of QImages. (QPixmaps can only be created in the main thread so they will always be loaded synchronously). This changes request() to requestImage() and adds requestPixmap() for pixmap support. Task-number: QTBUG-11989
* Allow the debugger to modify method bodiesAaron Kennedy2010-07-081-4/+52
| | | | QTBUG-11933
* Make Text, TextInput, and TextEdit all have the same size for the same text.Warwick Allison2010-07-072-4/+4
| | | | | | | | | | | | This may mean that the cursor is to the right of the width, so components should cater for that with a margin if they are boxed / clipped. TextInput used to try to account for right bearing (and left bearing incorrectly since it added it on the right). This is removed. Potentially this means that for some fonts the text repaints incorrectly on the left or right, but if that is the case Text and TextEdit already had such a problem (undetected), and all will need fixing. Task-number: QTBUG-11983
* More generated images in anticipation of QT-3574Warwick Allison2010-07-072-28/+45
|
* Fix input methods for TextInput elements with key handlersJoona Petrell2010-07-062-8/+22
| | | | | Task-number: QTBUG-10297 Reviewed-by: Martin Jones
* Fix TextEdit with no color property defined is drawn with wrong colorJoona Petrell2010-07-061-0/+18
| | | | | Task-number: QTBUG-11932 Reviewed-by: Martin Jones
* Fix inconsistent reporting of module import errors when using versions.Warwick Allison2010-07-055-3/+13
| | | | Task-number: QTBUG-11936
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Aaron Kennedy2010-07-0533-82/+168
|\
| * Prepare for QTest persistent store for visual tests.Warwick Allison2010-07-051-22/+22
| |
| * Loosen font-sensitive test.Warwick Allison2010-07-051-1/+2
| |
| * Fix test for N900 (ARM-specific SVG results).Warwick Allison2010-07-024-8/+6
| |
| * Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Warwick Allison2010-07-029-7/+86
| |\
| | * Fix TextEdit bitmap tests testing the wrong elementJoona Petrell2010-07-022-4/+4
| | | | | | | | | | | | | | | Task-number: Reviewed-by: Martin Jones
| | * Fix TextInput text getting improperly clippedJoona Petrell2010-07-027-3/+82
| | | | | | | | | | | | | | | Task-number: QTBUG-11790 Reviewed-by: Martin Jones
| * | Make autotests work with qreal == float (in addition to double).Warwick Allison2010-07-0213-47/+54
| | | | | | | | | | | | Task-number: QTBUG-11853
| * | Don't accept *files* that exist when *directory* is required.Warwick Allison2010-07-023-0/+5
| |/
| * Get WebView tests passing againAlan Alpert2010-07-011-2/+0
| | | | | | | | zoomFactor was removed in the new version.
| * Remove arbitrary width checksAlan Alpert2010-07-011-2/+0
| | | | | | | | | | | | | | | | | | | | Width is not an arbitrary value, it is the size of the rendered page (which is whatever webkit says it is). Width should be tested to be correct, but this change should be done by the maintainers (who should also take the autotest out of declarative). Task-number: QTBUG-11855
| * Fix webkit import for webkit tests.Martin Jones2010-07-017-7/+7
| |