diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2024-07-31 12:49:50 +0200 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2024-08-02 06:47:03 +0200 |
commit | 0dd7751df292f5135be13b13e74e415b20053c67 (patch) | |
tree | 499415b2c2cded8b14152b98e7abd04d2fc735fa /vcl/inc/salvtables.hxx | |
parent | 3ee53d75d253fb7fe2eb8db44afca95fda7f156d (diff) |
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 <m.weghorn@posteo.de>
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 <m.weghorn@posteo.de>
Tested-by: Jenkins
Diffstat (limited to 'vcl/inc/salvtables.hxx')
-rw-r--r-- | vcl/inc/salvtables.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
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; |