aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/activeFocusOnTab
Commit message (Collapse)AuthorAgeFilesLines
* Auto test focus navigation with keysJ-P Nurmi2016-03-153-316/+0
| | | | | Change-Id: Ieb75c3043b9fac972af492598853ad8501637dbb Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Refactor tst_activeFocusOnTabJ-P Nurmi2016-03-102-417/+37
| | | | | | | | Use data-driven tests to have less repeat and to make it easier to add new controls to the list. Change-Id: Ib24b314ff3ebea0912e2bbc50912b1fad148d23a Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
* Add SpinBox::editable propertyJ-P Nurmi2016-02-231-0/+1
| | | | | | | | | | The default value is false, which is more mobile/embedded/touch friendly choice, and will be also in line with ComboBox::editable when it gets introduced sometime in the future. Change-Id: Iaaad8f5533100c2d5c4b49d1ef8ee849cf31feff Task-number: QTBUG-51114 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Disable tst_activeFocusOnTab on LinuxJ-P Nurmi2016-02-221-5/+0
| | | | | | | | Blacklist doesn't help with crashes. Change-Id: Iae25f48b3e7b5d154ae30d144f3c734bf0de48b9 Task-number: QTBUG-50295 Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
* Blacklist tst_activeFocusOnTab on Ubuntu 14.04J-P Nurmi2016-02-201-0/+5
| | | | | | | | It's constantly crashing in the CI and blocking the integration. Change-Id: I07297398576bd4fde095e3c48a9915a14bd9ddeb Task-number: QTBUG-50295 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* tst_activeFocusOnTab: use QStyleHints::setTabFocusBehavior()J-P Nurmi2016-02-181-7/+7
| | | | | | Change-Id: I457ffab0dbf351905b2a675a7bf8c8e02ef8283a Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com> Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
* tst_activeFocusOnTab: remove unnecessary layouts dependencyJ-P Nurmi2015-12-121-3/+2
| | | | | Change-Id: I6e25c7f391bf02c8e15b078bb0d85de8ec7a2f20 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Re-introduce SpinBoxJ-P Nurmi2015-10-222-3/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It came up in discussions at the QtWS that even if we have Tumbler, people still want and expect to have the good old SpinBox control. SpinBox has it pros, such as that it might work better inside a vertical Flickable, and that in multi-field forms it might visually align better with other controls like TextFields. An early mockup of SpinBox was removed in 1c0edf0. A quote from the commit message: SpinBox is a desktop 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. SpinBox is still available in 1.x. While it is true that SpinBox might not be optimal for touch or mobile, the real reason for the removal was that validating decimal number input is very complicated. Even though locales have well- defined thousand separators and decimal points, users have very different expectations on how strict or relaxed the input validation should be. This change re-introduces a touch-optimized integer-based SpinBox. What makes it more touch friendly than the earlier version is that it has now auto-repeating buttons. Limiting it to integers avoids the decimal number input validation problem. We can introduce a separate DoubleSpinBox later if necessary - just like in QtWidgets. Change-Id: I2819060eb5d1ae6a8c00b0f12be703456085079d Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Add RangeSliderMitch Curtis2015-10-142-2/+46
| | | | | | | | | This is basically Slider, except with two handles. It's used to specify a range of values. Task-number: QTBUG-48667 Change-Id: Ib4f9afe5dc8343e307610943d338a2b574a01e4d Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Clarify tst_activeFocusOnTabJ-P Nurmi2015-10-101-9/+9
| | | | | Change-Id: Ida63be2939e10da0780f34807e449550ea6a5155 Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
* Rename QtQuick.Controls 2.0 to Qt.labs.controls 1.0J-P Nurmi2015-10-011-1/+1
| | | | | Change-Id: I142622dd85e95ef70b11132e77ccf48701f2cabc Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Remove ToggleButtonJ-P Nurmi2015-09-252-25/+2
| | | | | | | | We don't have a sensible design. It's better not to have it at all than to have a confusing tiny bit tweaked clone of Switch. Change-Id: Ib0eabd075590100e9e49846c7172909525b54a57 Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
* test: add activeFocusOnTab into auto testLiang Qi2015-09-181-2/+0
| | | | | Change-Id: Idf65a4859d012e290b5614ef84063de9540d29b9 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Templates: fix activeFocusOnTabLiang Qi2015-09-173-0/+645
Autotest is included, except ScrollBar and StackView. Change-Id: Idfbf031451ff3b244cd7f538c7210f0c242482ac Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>