https://bugs.documentfoundation.org/show_bug.cgi?id=112135

Muhammet Kara <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |difficultyInteresting,
                   |                            |easyHack, skillCpp,
                   |                            |skillUI, topicUI

--- Comment #6 from Muhammet Kara <[email protected]> ---
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.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to