[Libreoffice-bugs] [Bug 112135] Provide alternative controls through context menu in function list of Customize dialog
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Feb 4 20:49:30 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=112135
Muhammet Kara <muhammet.kara at collabora.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |difficultyInteresting,
| |easyHack, skillCpp,
| |skillUI, topicUI
--- Comment #6 from Muhammet Kara <muhammet.kara at collabora.com> ---
Let's make this an easyHack.
What to do?
-----------
Add context (right click) menu support to the Functions and Contents boxes of
the customize dialog's Menu, Context Menu, and Menu tabs.
Probable context menu items for the Functions (left) list:
- Add
Probable context menu items for the Contents (right) list:
- Remove
- Rename
How? (Code pointers)
--------------------
Take CommandHdl from the fpicker/source/office/fileview.cxx as an example, and
see how it is connected to mxTreeView with the connect_popup_menu() call, and
how it is declared, and defined in the same file. You will also need to create
a tiny ui file just like the one used there
(svtools/uiconfig/ui/fileviewmenu.ui).
Source file for the menu and context menu tabs:
cui/source/customize/SvxMenuConfigPage.cxx
Source file for the toolbar tab: cui/source/customize/SvxToolbarConfigPage.cxx
Right listbox (assigned commands): m_xContentsListBox
Left listbox (available functions): m_xFunctions
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200204/40526af6/attachment.htm>
More information about the Libreoffice-bugs
mailing list