diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2024-05-02 14:32:52 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2024-05-03 07:13:22 +0200 |
commit | 6f7acc14866136f22d26cae1e8656d8719b58300 (patch) | |
tree | e13a946defef97c91fd1c7267ae02bb83214ddfb /vcl/source/window/window.cxx | |
parent | 3f2d56d486da2006e24444cfa6f2f63700a14fae (diff) |
jsdialog: support for LinkButton as an independent widget
This adds support for the (weld)LinkButton (FixedHyperlink) as an
independent widget and not part of FixedText to jsdialog. In addition
add "click" event that triggers activate_link method.
Change-Id: Id110b4a0fd60fc24592e00235243783d46ae4575
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166898
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl/source/window/window.cxx')
-rw-r--r-- | vcl/source/window/window.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index 3dd289ddb1b3..06a60a209483 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -3352,6 +3352,7 @@ std::string_view windowTypeName(WindowType nWindowType) case WindowType::HEADERBAR: return "headerbar"; case WindowType::VERTICALTABCONTROL: return "verticaltabcontrol"; case WindowType::PROGRESSBAR: return "progressbar"; + case WindowType::LINK_BUTTON: return "linkbutton"; // nothing to do here, but for completeness case WindowType::TOOLKIT_FRAMEWINDOW: return "toolkit_framewindow"; |