SHAPER
9.12.0
|
Extends regular QToolButton of QAction with HistoryMenu (stack of actions) More...
Public Slots | |
void | setHistory (const QList< ActionInfo > &) |
Set list of actions. More... | |
Signals | |
void | actionSelected (int) |
Signal. Emited then n-th action is selected in stack. More... | |
Public Member Functions | |
XGUI_HistoryMenu (QToolButton *theParent) | |
Creates history menu for button. More... | |
XGUI_HistoryMenu (QAction *theParent) | |
Creates history menu for action. More... | |
Protected Slots | |
void | setStackSelectedTo (QListWidgetItem *) |
Selects all items in stack to the given item including it. More... | |
void | onItemPressed (QListWidgetItem *) |
Emits actionSelected() signal. More... | |
void | initMenu () |
Initializes internal controls of the Menu. More... | |
Protected Member Functions | |
virtual void | leaveEvent (QEvent *) |
Unselects all items when cursor leaves the list. More... | |
Extends regular QToolButton of QAction with HistoryMenu (stack of actions)
|
explicit |
Creates history menu for button.
|
explicit |
Creates history menu for action.
|
signal |
Signal. Emited then n-th action is selected in stack.
|
slot |
Set list of actions.
|
protectedvirtual |
Unselects all items when cursor leaves the list.
|
protectedslot |
Selects all items in stack to the given item including it.
|
protectedslot |
Emits actionSelected() signal.
|
protectedslot |
Initializes internal controls of the Menu.