|
libyui-mga-qt
1.1.0
|


Classes | |
| struct | Private |
Public Member Functions | |
| YMGAQMenuBar (YWidget *parent) | |
| Constructor. | |
| virtual | ~YMGAQMenuBar () |
| Destructor. | |
| virtual void | addItem (YItem *item) |
| Add an YMenuItem first item represents the menu name, other sub items menu entries. More... | |
| virtual int | preferredWidth () |
| Preferred width of the widget. More... | |
| virtual int | preferredHeight () |
| Preferred height of the widget. More... | |
| virtual void | setSize (int newWidth, int newHeight) |
| Set the new size of the widget. More... | |
| virtual void | enableItem (YItem *menu_item, bool enable=true) |
| Enable YMGAMenuItem (menu name or menu entry) to enable/disable it into menubar or menu. More... | |
| virtual void | hideItem (YItem *menu_item, bool invisible=true) |
| Hide YMGAMenuItem (menu name or menu entry) to hide/show it into menubar or menu. More... | |
| virtual void | deleteAllItems () |
| Delete all items. More... | |
Protected Member Functions | |
| virtual void | addSubMenu (QMenu *menu, YItem *item) |
| Add a submenu. | |
| virtual void | addAction (QMenu *menu, YItem *item) |
| Add an action (a menu entry without submenus) | |
Definition at line 35 of file YMGAQMenuBar.h.
|
virtual |
Add an YMenuItem first item represents the menu name, other sub items menu entries.
Reimplemented from YSelectionWidget.
Definition at line 177 of file YMGAQMenuBar.cc.

|
virtual |
Delete all items.
Reimplemented from YSelectionWidget
Definition at line 287 of file YMGAQMenuBar.cc.
|
virtual |
Enable YMGAMenuItem (menu name or menu entry) to enable/disable it into menubar or menu.
Reimplemented from YMGAMenuBar.
Definition at line 235 of file YMGAQMenuBar.cc.
|
virtual |
Hide YMGAMenuItem (menu name or menu entry) to hide/show it into menubar or menu.
Reimplemented from YMGAMenuBar.
Definition at line 258 of file YMGAQMenuBar.cc.
|
virtual |
Preferred height of the widget.
Reimplemented from YWidget.
Definition at line 221 of file YMGAQMenuBar.cc.
|
virtual |
Preferred width of the widget.
Reimplemented from YWidget.
Definition at line 212 of file YMGAQMenuBar.cc.
|
virtual |
Set the new size of the widget.
Reimplemented from YWidget.
Definition at line 230 of file YMGAQMenuBar.cc.