|
Sayonara Player
|
Public Slots | |
| void | showAction (ContextMenu::Entry entry, bool visible) |
| show/hide an action calls ContextMenu::show_action(ContextMenu::Entry entry, bool visible) | |
| void | showActions (ContextMenuEntries options) |
| shows all actions specified in options. Hide every other action calls ContextMenu::show_actions(ContextMenuEntries options) | |
| void | showAll () |
| show all actions | |
Signals | |
| void | sigOpen () |
| void | sigNew () |
| void | sigUndo () |
| void | sigSave () |
| void | sigSaveAs () |
| void | sigRename () |
| void | sigDelete () |
| void | sigEdit () |
| void | sigDefault () |
Public Member Functions | |
| MenuButtonViews (QWidget *parent=nullptr) | |
| void | registerAction (QAction *action) |
| Use this to add custom actions. | |
| void | registerPreferenceAction (Gui::PreferenceAction *action) |
| Use this to add a preference Action. | |
| Gui::ContextMenuEntries | entries () const |
| get current visible entries in menu calls ContextMenu::get_entries() | |
| void | setOverrideText (bool b) |
| virtual void | showEvent (QShowEvent *e) override |
Protected Member Functions | |
| void | languageChanged () override |
| void | skinChanged () override |
|
inherited |
get current visible entries in menu
calls ContextMenu::get_entries()
|
overrideprotectedvirtual |
Reimplemented from Gui::MenuToolButton.
|
inherited |
Use this to add custom actions.
| action | a custom action |
|
inherited |
Use this to add a preference Action.
| PreferenceAction | for accessing preference dialog |
|
slotinherited |
show/hide an action calls ContextMenu::show_action(ContextMenu::Entry entry, bool visible)
| entry | the entry of interes |
| visible | show/hide the action |
|
slotinherited |
shows all actions specified in options. Hide every other action
calls ContextMenu::show_actions(ContextMenuEntries options)
| options | option mask |
|
overrideprotectedvirtual |
Reimplemented from Gui::MenuToolButton.