|
YMenuItem * | _selectedItem |
|
QPushButton * | _qt_button |
|
QHash< QAction *, int > | _serials |
|
◆ YQContextMenu()
YQContextMenu::YQContextMenu |
( |
| ) |
|
◆ ~YQContextMenu()
YQContextMenu::~YQContextMenu |
( |
| ) |
|
|
virtual |
◆ menuEntryActivated
void YQContextMenu::menuEntryActivated |
( |
QAction * | menuItem | ) |
|
|
protectedslot |
Triggered when any menu item is activated.
◆ preferredHeight()
int YQContextMenu::preferredHeight |
( |
| ) |
|
|
virtual |
Preferred height of the widget.
Reimplemented from YWidget.
◆ preferredWidth()
int YQContextMenu::preferredWidth |
( |
| ) |
|
|
virtual |
Preferred width of the widget.
Reimplemented from YWidget.
◆ rebuildMenuTree() [1/2]
void YQContextMenu::rebuildMenuTree |
( |
| ) |
|
|
virtual |
Change the label on the button.
Reimplemented from YContextMenu / YSelectionWidget. Rebuild the displayed menu tree from the internally stored YMenuItems.
Implemented from YContextMenu.
◆ rebuildMenuTree() [2/2]
void YQContextMenu::rebuildMenuTree |
( |
QMenu * | menu, |
|
|
YItemIterator | begin, |
|
|
YItemIterator | end ) |
|
protected |
Recursively insert menu items into 'menu' from iterator 'begin' to iterator 'end'.
◆ returnNow
void YQContextMenu::returnNow |
( |
| ) |
|
|
protectedslot |
◆ setSize()
void YQContextMenu::setSize |
( |
int | newWidth, |
|
|
int | newHeight ) |
|
virtual |
Set the new size of the widget.
Reimplemented from YWidget.
◆ slotMenuHidden
void YQContextMenu::slotMenuHidden |
( |
| ) |
|
|
protectedslot |
Triggered when the context menu is hidden
◆ slotReturnMenuHidden
void YQContextMenu::slotReturnMenuHidden |
( |
| ) |
|
|
protectedslot |
Triggered via slotMenuHidden() by zero timer to get back in sync with the Qt event loop.
The documentation for this class was generated from the following files:
- /builddir/build/BUILD/libyui-4.6.2-build/libyui-4.6.2/libyui-qt/src/YQContextMenu.h
- /builddir/build/BUILD/libyui-4.6.2-build/libyui-4.6.2/libyui-qt/src/YQContextMenu.cc