qt5base-lts/tests/auto/widgets
Jani Honkonen 547a1bea49 Fix limitting shortcuts to keypad only
The Qt::KeypadModifier modifier is internally masked away from all
shortcuts. So it is not possible to set a keypad only shortcut.
Changed the implementation so that first a full keysequence match is
searched. Then if no match is found the same sequence is tried
without the keypad modifer.

Added a autotest for this also to cover the basic use cases relating
to this.

Task-number: QTBUG-20191

Change-Id: Ibe7740c705fd0ab1eece4809b9a0b48882172933
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
2012-08-27 10:27:30 +02:00
..
dialogs Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
effects Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
graphicsview Speed up tst_QGraphicsView::mapToScene test 2012-08-13 09:32:21 +02:00
itemviews tst_QTreeView: fix unused variable warning 2012-08-23 02:55:17 +02:00
kernel Remove remaining bits of deprecated QInputPanel 2012-08-23 11:20:37 +02:00
styles Remove some dead code wrapped in Q_WS_QWS. 2012-08-03 11:24:28 +02:00
util Revert "Move QWindowSystemInterface out of qpa." 2012-08-03 00:38:09 +02:00
widgets Fix limitting shortcuts to keypad only 2012-08-27 10:27:30 +02:00
widgets.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00