qt5base-lts/tests/auto/widgets
Maximilian Hrabowski 4cbb99c5e2 QAbstractItemView: fix CTRL+A select all behavior
The check for Qt::Key_A to handle selectAll was changed to directly
compare to QKeySequence::SelectAll as this will only match Ctrl. The
former implementation also triggered when e.g. Shift was pressed.
Added a check that selectAll is only called when selection is not
disabled, i.e. selectionMode=NoSelection.

Added a unit test for selectAll().

Task-number: QTBUG-26687
Change-Id: I721e7ab590b55d7d754b3b74ef01756fa5aa1315
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
2014-10-13 13:53:28 +02:00
..
dialogs Ensure transient parents are top level widgets. 2014-07-18 09:25:05 +02:00
effects QtWidgets tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-28 02:02:14 +01:00
graphicsview Stabilize and speed up tst_QGraphicsItem::cursor(). 2014-05-22 21:44:01 +02:00
itemviews QAbstractItemView: fix CTRL+A select all behavior 2014-10-13 13:53:28 +02:00
kernel Avoid adding widget to its own layout 2014-09-05 00:05:45 +02:00
styles Uncomment some tests which accidently got commented 2014-08-07 10:08:51 +02:00
util QNX: Fix QCompleter autotest 2014-04-09 20:53:06 +02:00
widgets QPlainTextEdit: Fix crash on complex undo w/full width selection 2014-09-30 10:21:39 +02:00
widgets.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00