qt6-bb10/tests/auto/other
Ingo Klöcker 09548cb710 Fix accessibility of list views with underlying multi-column model
A list view should always expose a table with a single column to
accessibility tools even if the underlying model has multiple columns.
Several functions need to be changed so that they only consider the
model column that was set on the list view.

For a list view logicalIndex() must only consider indexes for the
model column. For valid indexes the logical index is simply the row
because list views have neither row headers nor column headers.

The column count for list views is always 1 (unless the model has no
columns). The child count needs to use the column count of the
accessible table instead of the column count of the underlying model.

child(), cellAt(), selectedCellCount(), and selectedCells() get
separate implementation for list views.

Fixes: QTBUG-33786
Pick-to: 6.7 6.6
Change-Id: I18c604efa2014267bb6e3b68e403e436bdcbc4ce
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
(cherry picked from commit cd00ce4bea6f0386048bd267495433cffe83ab12)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-06-26 22:52:30 +00:00
..
android_deployment_settings Android:CMake: Add QT_ANDROID_PACKAGE_NAME property 2024-05-16 16:40:55 +03:00
gestures
languagechange
macgui
macnativeevents
macplist
networkselftest
qabstractitemmodelutils
qaccessibility Fix accessibility of list views with underlying multi-column model 2024-06-26 22:52:30 +00:00
qaccessibilitylinux
qaccessibilitymac
qcomplextext
qfocusevent tst_QFocusEvent::checkReason_ActiveWindow() remove setActiveWindow() 2024-04-23 09:26:08 +02:00
qnetworkaccessmanager_and_qprogressdialog
qobjectrace
qprocess_and_guieventloop
qsharedpointer_and_qwidget
qvariant_common Fix test compilation issues with QtLite configuration 2024-05-06 14:29:02 +00:00
sessionmanagement_macos
toolsupport
xkbkeyboard
CMakeLists.txt CMake: Remove mention of tests/auto/other/atwrapper 2024-05-11 18:32:29 +02:00