qt5base-lts/tests/auto/other
Jan Arve Saether e39d629ebe Include hidden headers in trees and tables consistently
There was a disagreement between the a11y plugin and QTreeView
whether the horizontal header should have been exposed or not.
When the header was hidden, this resulted in that we sent an event
with a child id that was wrong, or in worst case higher than
QAI::childrenCount(). This was the reason we got the warning
output as described in the task.

With this commit, we consistently *expose* hidden headers both for
QTreeView and QTableView, but ensure that their state().invisible is
set to true instead.
This makes it consistent with how hidden cells are exposed.

This also fixes a bug in QTableViewPrivate::accessibleTable2Index
where we always added 1 to the index, which was spotted while
writing the test.

Task-number:  QTBUG-33247

Change-Id: Ifd1f83d56296dd071424fdb81fce7628bc24fe0a
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
2013-09-18 11:28:22 +02:00
..
atwrapper Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
baselineexample Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
collections Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
compiler Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
gestures Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
headersclean headersclean: process private modules correctly 2013-07-03 15:31:13 +02:00
lancelot Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
languagechange Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
macgui Cache QAccessibleInterfaces. 2013-04-02 14:32:25 +02:00
macnativeevents Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
macplist Update Info.plist templates to use the current standard plist format. 2013-08-02 05:42:37 +02:00
modeltest Fix minor typos in docs, printed messages & comments 2013-01-28 18:12:41 +01:00
networkselftest Fix tst_networkselftest build for WEC7. 2013-04-17 19:48:55 +02:00
qaccessibility Include hidden headers in trees and tables consistently 2013-09-18 11:28:22 +02:00
qaccessibilitylinux Let platform plugin decide if accessibility is active 2013-04-19 17:52:45 +02:00
qaccessibilitymac Cocoa Accessibility: fix ignoring of objects 2013-06-07 14:54:39 +02:00
qcomplextext Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qfocusevent Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qnetworkaccessmanager_and_qprogressdialog Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
qobjectperformance Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qobjectrace Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qsharedpointer_and_qwidget Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qtokenautomaton Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qvariant_common Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
windowsmobile Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
other.pro Remove exception safety tests 2013-08-07 13:36:18 +02:00