diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2022-10-17 09:07:47 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2022-10-18 21:23:29 +0200 |
commit | b3afa2d07bd55c04e545c3d6f1e8d8c4a4ceaf09 (patch) | |
tree | e853b6cf79c024ac5e9d49f58f60b33116352159 /solenv | |
parent | 8a84b5c024ed511548d6749a6038ae933e4d589d (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
(cherry picked from commit 1a94cd8257ef4c462eaaa6d49bf4f26c9ac56a5e)
Conflicts:
solenv/sanitizers/ui/modules/swriter.suppr
sw/Module_sw.mk
Change-Id: Ia35f0cc59c70910fb88719b207ef9e498d6760d3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141459
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
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 fd275e81c697..1f5801728648 100644 --- a/solenv/sanitizers/ui/modules/swriter.suppr +++ b/solenv/sanitizers/ui/modules/swriter.suppr @@ -178,6 +178,7 @@ sw/uiconfig/swriter/ui/toxbuttonwidget.ui://GtkToggleButton[@id='button'] button 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/viewoptionspage.ui://GtkLabel[@id='measureunitlabel'] orphan-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 |