summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative
Commit message (Collapse)AuthorAgeFilesLines
* BorderImage fails for .sci source containing a URLMartin Jones2011-01-212-0/+8
| | | | | Task-number: QTBUG-16769 Reviewed-by: Bea Lam
* positionViewAtIndex can fail when positioned near end of list.Martin Jones2011-01-211-0/+13
| | | | | | | | | We positioned the view beyond the bounds, which in some cases resulted in only one item being created. Combined with a bug in the bounds fixup very many items were created. Task-number: QT-4441 Reviewed-by: Michael Brasser
* Revert "Fix loaded() signal to be emitted only once"Bea Lam2011-01-211-54/+40
| | | | | | | | | This reverts commit 82ff3f484c7ec49e60b7fddf23794937974a6768. QTBUG-16796 reports that this commit is causing regressions relating to initial sizing of items. Task-number: QTBUG-16796
* Cleanup created views in TextEdit tests.Martin Jones2011-01-191-0/+12
| | | | Reviewed-by: Michael Brasser
* Autotest for QVariant value typesAaron Kennedy2011-01-143-0/+26
|
* Add an autotest for QVariant method paramsAaron Kennedy2011-01-132-0/+18
|
* Update copyright year to 2011.Jason McDonald2011-01-1084-84/+84
| | | | Reviewed-by: Trust Me
* Update pathview testAlan Alpert2011-01-1015-318/+318
| | | | | | | This updates the tests to match the correct behaviour as of 1ba3e41f09ea719249286fede5d3fe96621ccb61 Task-number: QTBUG-16357
* Fix loaded() signal to be emitted only onceBea Lam2011-01-101-40/+54
| | | | | Task-number: QTBUG-16319 Reviewed-by: Martin Jones
* PathView crashed when the path is provided with undefined values.Martin Jones2011-01-062-0/+31
| | | | | Task-number: QTBUG-16356 Reviewed-by: Bea Lam
* PathView: update modelCount before attempting to regenerate delegates.Martin Jones2011-01-062-0/+42
| | | | | | | | | If the model is a VisualDataModel, the count will initally be zero and modelCount is not updated due to itemsInserted() before the component is completed. Task-number: QTBUG-16357 Reviewed-by: Bea Lam
* Fix outdated testsAlan Alpert2011-01-0510-130/+1779
| | | | | | | selftest_noimages and qdeclarativespringanimation were correct, updating test scripts to match. Task-number: QTBUG-14792
* Update visual testsAlan Alpert2011-01-0420-923/+923
| | | | | | | Minor changes in flickable and rectangle radius behaviours have led to some altered pixels here and there. Task-number: QTBUG-14792
* Models which load incrementally via fetchMore() don't work.Martin Jones2010-12-234-1/+187
| | | | | | | | Call canFetchMore()/fetchMore() on setModel(), setRootIndex() and when the last item is created. Task-number: QTBUG-16039 Reviewed-by: Bea Lam
* Try fixing build error on WindowsBea Lam2010-12-231-1/+1
|
* Ensure PathView doesn't jump when starting to drag.Martin Jones2010-12-2316-519/+521
| | | | | Task-number: QTBUG-16133 Reviewed-by: Bea Lam
* Nested flickables would react alternately to flicks.Martin Jones2010-12-238-0/+2209
| | | | | | | | The grab was not always kept by filtering Flickables, but would remain set next flick, resulting in toggling of flicking. Task-number: QTBUG-16177 Reviewed-by: Michael Brasser
* Improve QDeclarativeComponent test coverage.Michael Brasser2010-12-221-0/+15
|
* Add additional QDeclarativeProperty autotests.Michael Brasser2010-12-221-0/+62
|
* Removing all visible items in ListView resulted in blank view.Martin Jones2010-12-221-1/+2
| | | | | | | | | When delayRemove is true and all visible items are tagged to be removed the visibleIndex became invalid and refill() began filling from 0. Task-number: QTBUG-16183 Reviewed-by: Michael Brasser
* XmlListModel requests should set 'Accept' header to 'application/xml'Bea Lam2010-12-221-0/+69
| | | | | Task-number: QTBUG-15836 Reviewed-by: Michael Brasser
* More testing for KeyNavigation attached properties.Martin Jones2010-12-212-0/+45
|
* Add tests for ListView.indexAt() and GridView.IndexAt()Martin Jones2010-12-212-0/+70
|
* Setting TextInput.cursorPosition outside bounds crashed.Martin Jones2010-12-202-0/+26
| | | | | | | Check bounds in TextInput and TextEdit. Task-number: QTBUG-16188 Reviewed-by: Bea Lam
* Update test bitmaps for QDeclarativeImage::svg() autotest on WindowsJoona Petrell2010-12-202-0/+0
| | | | | Task-number: Reviewed-by: Martin Jones
* Don't truncate image:// url strings prematurelyBea Lam2010-12-201-4/+42
| | | | | | | | Url fragments and queries were being removed from the image ids passed to QDeclarativeImageProvider. Task-number: QTBUG-16195 Reviewed-by: Martin Jones
* Fix QDeclarativeState::reset() autotestJoona Petrell2010-12-173-12/+10
| | | | | | | Current state reset mechanism does not really work for Text elements as the keeping implicit correct would require relayouting of text twice (See bug QTBUG-15118). Changed QDeclarativeState reset autotest to use Image element instead of Text element until the issue has been fixed. Task-number: Reviewed-by: Yann Bodson
* Update test bitmaps for QDeclarativeImage::svg() autotest on LinuxJoona Petrell2010-12-172-0/+0
| | | | | Task-number: Reviewed-by: Martin Jones
* Revert a fix made for bug QTBUG-15341Joona Petrell2010-12-141-40/+0
| | | | Reverted a commit 2eee49127b80b5b56c605f76ccea004b03d89577 "Remove active selection when TextEdit loses focus". Contrary to TextInput, by default TextEdit keeps the selection visible when the editor loses active focus. If this is not wanted, a property called persistentSelection can be set false to make selection dependant on the focus.
* Remove active selection when TextEdit loses focusJoona Petrell2010-12-141-0/+40
| | | | | Task-number: QTBUG-15341 Reviewed-by: Yann Bodson
* Ensure ListView contentHeight is set to a valid size.Martin Jones2010-12-132-0/+57
| | | | | | | | | If the view height is 0 no items will be created so the contentHeight can not be estimated. The currentItem is usually created, so it is possible to use that to estimate. Task-number: QTBUG-16037 Reviewed-by: Bea Lam
* PathView: removing the currentIndex could make it invalid.Martin Jones2010-12-101-0/+4
| | | | | | | | Removing the currentIndex could result in currentIndex being > than the number of items in the model. Task-number: QTBUG-15926 Reviewed-by: Michael Brasser
* Merge qtsoftware:qt/qt.git#4.7 into qtsoftware:qt/qt-qml.git#4.7Joona Petrell2010-12-092-0/+135
|\ | | | | | | | | Conflicts: src/s60installs/eabi/QtGuiu.def
| * Don't emit activeFocusChanged() unless the active focus actually changedTor Arne Vestbø2010-12-072-0/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We would previously call subFocusItemChanged(0) on the item as part of clearing the subfocus, even if the item in question would recieve a new subfocus item as part of setting the new subfocus. This resulted in the declarative item emitting activeFocusChanged(false) and then activeFocusChanged(true), which was affecting any animation or state bound to the activeFocus property of the item. We now stop clearing the subfocus when encountering an item that we know will get subfocus during the set-subfocus pass. We then set subfocus all the way to the root item, since the subfocus item itself might change. The effect of this is that the declarative item will only get one call to subFocusItemChanged(), passing the new subfocus item, instead of two. This means the declarative item can keep track of wherther ot not it had a subfocus item previously, and only emit activeFocusChanged() when the active focus goes from true to false or false to true. Task-number: QTBUG-15615 Reviewed-by: Yoann Lopes <yoann.lopes@nokia.com>
* | highlightFollowsCurrentItem: false was not always honoredMartin Jones2010-12-094-9/+23
| | | | | | | | | | | | | | | | In some cases ListView and GridView would position the highlight despite highlightFollowsCurrentItem: false being specified. Task-number: QTBUG-15972 Reviewed-by: Michael Brasser
* | ListView: Fix calculation of currentItem position when out of view.Martin Jones2010-12-082-1/+94
|/ | | | | | | | The calculation of position of currentItem when it is out of the visible area was bogus. Task-number: QTBUG-15525 Reviewed-by: Bea Lam
* Update visual tests for the recent qmlviewer changeAlan Alpert2010-12-0331-1113/+1113
| | | | | | | Changing the minimum size of the viewer changes the size of some of the visual test outputs which were really small. Task-number: QTBUG-14792
* Do not use openGL on Mac OS X for QML visual testsAlan Alpert2010-12-031-0/+6
| | | | | | It appears to lead to sporadic crashes in the CI system. Task-number: QTBUG-14792
* Update QML visual testsAlan Alpert2010-12-0359-1892/+2838
| | | | | | | Reintroducing text tests to X11, and updating a few tests where the behaviour of the items has subtly changed (and it was deemed acceptable) Task-number: QTBUG-14792
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2010-12-011-35/+35
|\ | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1: fix line endings
| * fix line endingsRobert Loehning2010-12-011-35/+35
| |
* | ListView header is not visible initially.Martin Jones2010-12-012-18/+82
|/ | | | | | | | | If the header size was not set explicitly, but determined implicitly from Text height, the view was not positioned so that the header was visible when first shown. Task-number: QTBUG-15599 Reviewed-by: Bea Lam
* Ensure header is considered when positioning content with snapping.Martin Jones2010-11-303-1/+63
| | | | | | | | | When snapping is enabled the header was ignored and content would be aligned with the first item rather than the header, when at the top of the view. Task-number: QTBUG-15710 Reviewed-by: Bea Lam
* Correct ownership semantics for QObject derived typesAaron Kennedy2010-11-301-0/+37
| | | | Task-number: QTBUG-15697
* Correctly handle CppOwnership even when a QDeclarativeData doesn't existAaron Kennedy2010-11-301-0/+46
| | | | Task-number: QTBUG-15695
* Fix Browser.qml warningsJoona Petrell2010-11-301-0/+12
| | | | | Task-number: QTBUG-15720 Reviewed-by: Martin Jones
* Don't draw null pixmap in QDeclarativeImage paint functionJoona Petrell2010-11-301-0/+30
| | | | | Task-number: QTBUG-15690 Reviewed-by: Martin Jones
* Remove expect-fails from passing testsAaron Kennedy2010-11-301-2/+0
|
* Improve consistency in handling of aliases, bindings and value typesAaron Kennedy2010-11-2924-2/+706
| | | | Task-number: QTBUG-13719
* Slightly improved tst_qmlvisual outputAlan Alpert2010-11-261-3/+4
|