qt5base-lts/tests/auto/widgets/itemviews
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
..
qabstractitemview Stabilize tst_QAbstractItemView::task250754_fontChange(). 2014-04-30 16:53:55 +02:00
qcolumnview Do not run tst_qcolumnview in parallel 2014-03-19 19:51:20 +01:00
qdatawidgetmapper QtWidgets tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-28 02:02:14 +01:00
qdirmodel QtWidgets tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-28 02:02:14 +01:00
qfileiconprovider QtWidgets tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-28 02:02:14 +01:00
qheaderview QNX: Fix QHeaderView autotest 2014-04-09 20:53:06 +02:00
qitemdelegate WinRT: Fix various test compilations 2013-10-02 12:36:05 +02:00
qitemeditorfactory QtWidgets tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-28 02:02:14 +01:00
qitemview QtWidgets tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-28 02:02:14 +01:00
qlistview BlackBerry: Fix QListView autotest 2014-04-04 19:32:21 +02:00
qlistwidget Fix tst_QListWidget::task217070_scrollbarsAdjusted() 2014-04-09 20:53:06 +02:00
qtableview QAbstractItemView: fix CTRL+A select all behavior 2014-10-13 13:53:28 +02:00
qtablewidget QtWidgets tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-28 02:02:14 +01:00
qtreeview Fix visual index lookup in QTreeViewPrivate::adjustViewOptionsForIndex(). 2014-05-06 16:35:56 +02:00
qtreewidget Fix QTreeWidget autotest 2014-04-04 19:32:21 +02:00
qtreewidgetitemiterator QtWidgets tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-28 02:02:14 +01:00
itemviews.pro Move QStandardItem/QStandardItemModel to QtGui 2012-06-29 22:42:19 +02:00