qt5base-lts/tests/auto/widgets/widgets
Nathan Collins e40f23f098 Add QStyle::SH_SpinBox_StepModifier style hint
This patch allows the developer to pick which keyboard modifier
increases the number of steps a QAbstractSpinBox takes when the user
interacts with it.

The modifier can be either Qt::ControlModifier (default),
Qt::ShiftModifier or Qt::NoModifier. Qt::NoModifier disables the step
modifier. Note that on macOS, Control corresponds to the Command key.

Holding the modifier increases the step rate when:
- scrolling;
- pressing the up/down keys;
- pressing the spin box up/down buttons.

[ChangeLog][QtWidgets][QStyle] QStyle::SH_SpinBox_StepModifier allows
the developer to pick which keyboard modifier increases the number of
steps a QAbstractSpinBox takes for the following interactions:
scrolling, up/down keyboard keys and the spin box buttons. The
Qt::ShiftModifier can now be used, or the feature can be disabled
using Qt::NoModifier. Previously, only Qt::ControlModifier could be
used as the modifier.

Change-Id: Ib5518127e86a8f67798a9a1d6e860c6e35896e6f
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
2018-07-12 09:07:32 +00:00
..
qabstractbutton tests/auto/widgets/widgets: Avoid unconditional qWait()s 2018-04-25 11:55:34 +00:00
qabstractscrollarea winrt: Make widgets/widgets auto tests pass 2018-06-22 05:02:49 +00:00
qabstractslider testlib: start sharing common helper functions 2017-11-04 20:11:22 +00:00
qabstractspinbox testlib: start sharing common helper functions 2017-11-04 20:11:22 +00:00
qbuttongroup
qcalendarwidget winrt: Make widgets/widgets auto tests pass 2018-06-22 05:02:49 +00:00
qcheckbox tests/auto/widgets/widgets: Avoid unconditional qWait()s 2018-04-25 11:55:34 +00:00
qcombobox winrt: Make widgets/widgets auto tests pass 2018-06-22 05:02:49 +00:00
qcommandlinkbutton tst_QCommandLinkButton: Add back wait to the beginning of setAutoRepeat() 2018-05-16 06:10:08 +00:00
qdatetimeedit Add QStyle::SH_SpinBox_StepModifier style hint 2018-07-12 09:07:32 +00:00
qdial
qdialogbuttonbox tests/auto/widgets/widgets: Avoid unconditional qWait()s 2018-04-25 11:55:34 +00:00
qdockwidget widgets: fix QWidget::save/restoreGeometry() 2018-06-25 13:41:06 +00:00
qdoublespinbox Add QStyle::SH_SpinBox_StepModifier style hint 2018-07-12 09:07:32 +00:00
qfocusframe
qfontcombobox Update usage of QFontMetrics::width() to new API 2017-12-08 15:06:32 +00:00
qframe Android: Blacklist tst_qframe::testPainting 2018-06-26 08:06:03 +00:00
qgroupbox Android: Blacklist a few cases in tst_qgroupbox 2018-06-26 08:06:04 +00:00
qkeysequenceedit
qlabel tests/auto/widgets/widgets: Avoid unconditional qWait()s 2018-04-25 11:55:34 +00:00
qlcdnumber
qlineedit Merge remote-tracking branch 'origin/5.11' into dev 2018-07-02 11:23:45 +02:00
qmainwindow winrt: Make widgets/widgets auto tests pass 2018-06-22 05:02:49 +00:00
qmdiarea winrt: Make widgets/widgets auto tests pass 2018-06-22 05:02:49 +00:00
qmdisubwindow winrt: Make widgets/widgets auto tests pass 2018-06-22 05:02:49 +00:00
qmenu tst_QMenu: Skip tests when window activation is not supported 2018-06-29 10:16:00 +00:00
qmenubar winrt: Make widgets/widgets auto tests pass 2018-06-22 05:02:49 +00:00
qopenglwidget qtbase: cleanup BLACKLIST files 2018-02-13 15:20:33 +00:00
qplaintextedit winrt: Make widgets/widgets auto tests pass 2018-06-22 05:02:49 +00:00
qprogressbar winrt: Make widgets/widgets auto tests pass 2018-06-22 05:02:49 +00:00
qpushbutton winrt: Make widgets/widgets auto tests pass 2018-06-22 05:02:49 +00:00
qradiobutton tests/auto/widgets/widgets: Avoid unconditional qWait()s 2018-04-25 11:55:34 +00:00
qscrollarea
qscrollbar Merge remote-tracking branch 'origin/5.9' into 5.11 2018-02-14 12:51:24 +01:00
qsizegrip tests: un-blacklist tst_QSizeGrip::hideAndShowOnWindowStateChange on xcb 2018-06-25 13:41:50 +00:00
qslider
qspinbox Add QStyle::SH_SpinBox_StepModifier style hint 2018-07-12 09:07:32 +00:00
qsplashscreen
qsplitter winrt: Make widgets/widgets auto tests pass 2018-06-22 05:02:49 +00:00
qstackedwidget Ensure result of all QTest::qWaitFor are verified 2017-10-05 15:15:36 +00:00
qstatusbar winrt: Make widgets/widgets auto tests pass 2018-06-22 05:02:49 +00:00
qtabbar qtbase: cleanup BLACKLIST files 2018-02-13 15:20:33 +00:00
qtabwidget tst_QTabWidget: Add unconditional qWait() back 2018-05-02 09:04:14 +00:00
qtextbrowser Fix tst_qtextbrowser for configurations with builtin testdata 2018-06-22 05:02:50 +00:00
qtextedit winrt: Make widgets/widgets auto tests pass 2018-06-22 05:02:49 +00:00
qtoolbar tests/auto/widgets/widgets: Avoid unconditional qWait()s 2018-04-25 11:55:34 +00:00
qtoolbox
qtoolbutton winrt: Make widgets/widgets auto tests pass 2018-06-22 05:02:49 +00:00
widgets.pro winrt: Skip/blacklist failing opengl tests 2018-05-28 08:36:55 +00:00