aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/extras
Commit message (Collapse)AuthorAgeFilesLines
* Merge Qt Quick Extras into Qt Quick ControlsMitch Curtis2015-09-187-1677/+0
| | | | | | | | | | | | The original split existed because the public and enterprise controls were developed separately. Now that all controls are public and developed together, the split no longer makes sense and is difficult for users to understand. Change-Id: I00420f4d09f8c837232231d03fe818b7b3403fab Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com> Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* SwipeView: add index, view and isCurrentItem attached propertiesMitch Curtis2015-09-161-4/+57
| | | | | | Task-number: QTBUG-48052 Change-Id: I0d6d27cc352d999d8071b979349f2364f0edf74d Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* SwipeView: emit currentItemChanged().Mitch Curtis2015-09-051-0/+27
| | | | | Change-Id: Iacbc9cc7f89aeacbf1ce918eb28a1a5c7db7040d Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* SwipeView: don't override initial currentIndex.Mitch Curtis2015-09-051-0/+27
| | | | | | | | | | | When insertItem() was called for the first time as a result of "statically" declared SwipeView children, the currentIndex would be changed to 0. We should only do this if the currentIndex is invalid (-1), otherwise we disrespect the user's settings. Change-Id: I692b60581e706edcfa4939bbe59a815ff3e019e5 Task-number: QTBUG-48086 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Add padding test to Tumbler auto tests.Mitch Curtis2015-08-071-1/+102
| | | | | Change-Id: I78d580c28287fecaf287c4634a166c44926c48fb Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Add support for ListView to Tumbler.Mitch Curtis2015-08-061-7/+197
| | | | | | | This enables creation of non-wrapping Tumblers. Change-Id: I0e21b860b84c456c0651923e87217cafc42c69b7 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Add a sanity check for the position of handle.Mitch Curtis2015-07-281-0/+6
| | | | | | | | | The default style uses QQuickItem's transform property, so filling the handle with a Rectangle, for instance, will not show it in the correct position, even though it (the handle) is. Change-Id: I85af897d1bcc5e7f343cb9814da6d896088720b8 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Add Dial.Mitch Curtis2015-07-161-0/+281
| | | | | Change-Id: Ie80fac70141ef72bb68f7c9e91827e834dc1fc4a Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Tweak default control sizes using Android as a reference.Mitch Curtis2015-07-141-2/+2
| | | | | Change-Id: Iaa62f9ba650ff4f60e6370a770fb0af2645eafb5 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Extras: Add Tumbler.Mitch Curtis2015-07-092-0/+465
| | | | | Change-Id: I94d079ad0789215768e43652075ccf6ad7fbd48d Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
* Cleanup & improve auto testsJ-P Nurmi2015-06-291-9/+0
| | | | | | | | | - always verify component creation to catch errors early - remove empty init() and cleanup() functions - remove redundant "defaults" checks Change-Id: I39f16404fa2e3d3e38348742afd8f51ea36b2f05 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Update SwipeViewJ-P Nurmi2015-06-231-0/+420
| | | | | Change-Id: Idf7ca1850b41d882d039092e7d900a144faeb0c8 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Remove SplitViewJ-P Nurmi2015-03-231-332/+0
| | | | | | | | | | SplitView is a very centric control. It won't be provided in Qt Quick Controls 2.0, but maybe later when desktop support is re-considered. Qt Quick Controls 2.0 will focus on embedded and mobile. SplitView is still available in 1.x Change-Id: I3bc1c7a525d4e1e75153205ca806dc4dcee7e601 Reviewed-by: Jari-Pekka Nurmi <jpnurmi@theqtcompany.com>
* Add dummy tst_drawer - there needs to be at least one data/*.qml fileJ-P Nurmi2015-03-231-0/+66
| | | | | Change-Id: I56eea0c3cdd03486a1e94be2dddb03249788582d Reviewed-by: Jari-Pekka Nurmi <jpnurmi@theqtcompany.com>
* Extras auto tests: add everything in data/ to OTHER_FILES.Mitch Curtis2015-03-091-0/+3
| | | | | Change-Id: Ia0f875955aef223259fd172b2f64109b3bd92229 Reviewed-by: Jari-Pekka Nurmi <jpnurmi@theqtcompany.com>
* BSD license for QML code in testsJ-P Nurmi2015-03-041-22/+26
| | | | | Change-Id: Ia1556502ece0bc385375e61653169bdc855f592e Reviewed-by: Jari-Pekka Nurmi <jpnurmi@theqtcompany.com>
* Import the Qt Quick Controls 2 prototypeJ-P Nurmi2015-02-053-0/+375
Change-Id: Ib8c0c4160958e5cfea29a6e9df1b3f1fb19715fc Reviewed-by: Jari-Pekka Nurmi <jpnurmi@theqtcompany.com>