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 /sw/UIConfig_swriter.mk | |
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 'sw/UIConfig_swriter.mk')
-rw-r--r-- | sw/UIConfig_swriter.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/UIConfig_swriter.mk b/sw/UIConfig_swriter.mk index 02ea3ded32d0..185adbbc247a 100644 --- a/sw/UIConfig_swriter.mk +++ b/sw/UIConfig_swriter.mk @@ -132,6 +132,7 @@ $(eval $(call gb_UIConfig_add_uifiles,modules/swriter,\ sw/uiconfig/swriter/ui/combobox \ sw/uiconfig/swriter/ui/comboboxfragment \ sw/uiconfig/swriter/ui/conditionpage \ + sw/uiconfig/swriter/ui/contentcontrolaliasbutton \ sw/uiconfig/swriter/ui/contentcontrolcalendar \ sw/uiconfig/swriter/ui/contentcontroldlg \ sw/uiconfig/swriter/ui/contentcontroldropdown \ |