#include <MenuManager.h>
◆ MenuManager() [1/2]
MenuManager::MenuManager |
( |
| ) |
|
◆ MenuManager() [2/2]
MenuManager::MenuManager |
( |
QWidget * |
topMenu | ) |
|
◆ ~MenuManager()
MenuManager::~MenuManager |
( |
| ) |
|
|
virtual |
◆ addAction()
void MenuManager::addAction |
( |
QAction * |
action | ) |
|
◆ addCheckItem()
Action * MenuManager::addCheckItem |
( |
const QString & |
text | ) |
|
◆ addItem() [1/3]
Action * MenuManager::addItem |
( |
const char * |
text | ) |
|
◆ addItem() [2/3]
Action * MenuManager::addItem |
( |
const QString & |
text | ) |
|
◆ addItem() [3/3]
Action * MenuManager::addItem |
( |
const std::string & |
text | ) |
|
◆ addRadioItem()
Action * MenuManager::addRadioItem |
( |
QActionGroup * |
group, |
|
|
const QString & |
text |
|
) |
| |
◆ addSeparator()
◆ bindTextDomain()
void MenuManager::bindTextDomain |
( |
const std::string & |
domain | ) |
|
◆ current()
QWidget * MenuManager::current |
( |
| ) |
const |
◆ findItem()
QAction * MenuManager::findItem |
( |
const QString & |
path | ) |
|
◆ numItems()
int MenuManager::numItems |
( |
| ) |
const |
◆ popupMenu()
Menu * MenuManager::popupMenu |
( |
| ) |
|
◆ setBackwardMode()
◆ setCurrent()
MenuManager & MenuManager::setCurrent |
( |
QWidget * |
menu | ) |
|
◆ setNewPopupMenu()
void MenuManager::setNewPopupMenu |
( |
QWidget * |
parent = 0 | ) |
|
◆ setPath()
MenuManager & MenuManager::setPath |
( |
const QString & |
path | ) |
|
This function specifies a menu to be subjected to item operation. The function must be called before adding a menu item.
- Parameters
-
path | The path to the target menu If the path begins with '/', it will be the path from the root. Otherwise, it will be a relative path from the currently specifed menu. A menu is newly created if the menu specified in the path does not exist. |
◆ setTopMenu()
void MenuManager::setTopMenu |
( |
QWidget * |
topMenu | ) |
|
◆ topMenu()
QWidget * MenuManager::topMenu |
( |
| ) |
|
The documentation for this class was generated from the following files: