qt a11y: Implement QtAccessibleWidget::table
commite4066a41406b1ddd454901b4fa718cf9be2746c4
authorMichael Weghorn <m.weghorn@posteo.de>
Tue, 5 Jul 2022 16:30:02 +0000 (5 18:30 +0200)
committerMichael Weghorn <m.weghorn@posteo.de>
Tue, 5 Jul 2022 18:30:00 +0000 (5 20:30 +0200)
tree848e9d21002ea4ae2808168653c981a4865ef3d9
parent484448bc04edfbe22db784d2c68a679a3f98fbb9
qt a11y: Implement QtAccessibleWidget::table

Implement that `QAccessibleTableCellInterface::table`
override by returning the parent, if it is a table.

This turned out to be the missing piece when working
on an implementation for the Qt library to expose the
AT-SPI table cell interface for a11y objects that implement
`QAccessibleTableCellInterface`, and testing the
"GetTable" method by calling
`acc.queryTableCell().get_table()` on a selected
LO Calc cell in Accerciser's IPython console.

Change-Id: I6144c613f31cafc338ccac739cd7db1bf314d4a4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136836
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
vcl/qt5/QtAccessibleWidget.cxx