From 0dd7751df292f5135be13b13e74e415b20053c67 Mon Sep 17 00:00:00 2001 From: Michael Weghorn Date: Wed, 31 Jul 2024 12:49:50 +0200 Subject: tdf#155447 a11y: Introduce weld::Widget::get_accessible_id() This will be used in an upcoming commit to implement reporting of the accessible ID for `WeldEditView`. For Qt 6, this uses the API introduced in qtbase commit [1] commit b8b7c58402740204da72e1b1f4ea7321b7bfa540 Author: Michael Weghorn Date: Mon Jul 15 16:53:58 2024 +0200 a11y: Add property for QWidget's accessible ID For GTK 4, there is currently no corresponding API; issue [2] suggests to add it. [1] https://code.qt.io/cgit/qt/qtbase.git/commit/?id=b8b7c58402740204da72e1b1f4ea7321b7bfa540 [2] https://gitlab.gnome.org/GNOME/gtk/-/issues/6870 Change-Id: I9bf38b3c2d6d0cf627ac4288695dcc1137c3d120 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171319 Reviewed-by: Michael Weghorn Tested-by: Jenkins --- vcl/inc/salvtables.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vcl/inc/salvtables.hxx') diff --git a/vcl/inc/salvtables.hxx b/vcl/inc/salvtables.hxx index 708e4753fd89..3c6112c4299e 100644 --- a/vcl/inc/salvtables.hxx +++ b/vcl/inc/salvtables.hxx @@ -314,6 +314,8 @@ public: virtual OUString get_accessible_description() const override; + virtual OUString get_accessible_id() const override; + virtual void set_accessible_relation_labeled_by(weld::Widget* pLabel) override; virtual void set_tooltip_text(const OUString& rTip) override; -- cgit