diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2022-10-17 09:07:47 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-10-17 11:45:49 +0200 |
commit | 1a94cd8257ef4c462eaaa6d49bf4f26c9ac56a5e (patch) | |
tree | b31a01f86aa0689f60c0d8ec8812cb2df40e5a94 /solenv | |
parent | c308ed9fc6c2a223a51fd585e6e0a7d7f6c83352 (diff) |
sw content controls: add rendering for the alias
- add a new SwFrameMenuButtonBase subclass to show the title/alias of
the content control under the cursor, if it's non-empty
- hide it when leaving the content control
- set its label to the alias from SwContentControl
- set the position similar to footer frame menu buttons, at the first
text portion of the content control
- make the label clickable and bind the handler to the content control
properties dialog
Change-Id: Ia35f0cc59c70910fb88719b207ef9e498d6760d3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141441
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/sanitizers/ui/modules/swriter.suppr | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/solenv/sanitizers/ui/modules/swriter.suppr b/solenv/sanitizers/ui/modules/swriter.suppr index c7ae2f09a613..b27911bd11e0 100644 --- a/solenv/sanitizers/ui/modules/swriter.suppr +++ b/solenv/sanitizers/ui/modules/swriter.suppr @@ -176,6 +176,7 @@ sw/uiconfig/swriter/ui/tokenwidget.ui://GtkButton[@id='right'] button-no-label sw/uiconfig/swriter/ui/toxbuttonwidget.ui://GtkToggleButton[@id='button'] button-no-label sw/uiconfig/swriter/ui/toxentrywidget.ui://GtkEntry[@id='entry'] no-labelled-by sw/uiconfig/swriter/ui/unfloatbutton.ui://GtkButton[@id='button'] button-no-label +sw/uiconfig/swriter/ui/contentcontrolaliasbutton.ui://GtkButton[@id='button'] button-no-label sw/uiconfig/swriter/ui/watermarkdialog.ui://GtkLabel[@id='TextLabel'] orphan-label sw/uiconfig/swriter/ui/watermarkdialog.ui://GtkLabel[@id='FontLabel'] orphan-label sw/uiconfig/swriter/ui/watermarkdialog.ui://GtkLabel[@id='AngleLabel'] orphan-label |