Public Member Functions | |
Menu () | |
Menu (const Menu &menu) | |
void | addAction (const QString &action, const QString &group, uint8_t order=128) |
void | addAction (const QString &submenu, const QString &action, const QString &group, uint8_t order=128) |
void | removeAction (const QString &action) |
void | removeAction (const QString &submenu, const QString &action) |
void | addCopyAsActions (const QString &group, uint8_t order=128) |
void | addPasteFromActions (const QString &group, uint8_t order=128) |
void | addTransformActions (const QString &group, uint8_t order=128) |
void | removeCopyAsActions () |
void | removePasteFromActions () |
void | removeTransformActions () |
void | addPluginCommandActions (const QString &group) |
void | addPluginCommandActions (const QString &prefix, const QString &group, uint8_t order=128) |
void | addPluginCommandSubmenuActions (const QString &submenu, const QString &group) |
void | addPluginCommandSubmenuActions (const QString &submenu, const QString &prefix, const QString &group, uint8_t order=128) |
void | removePluginCommandActions () |
void | removePluginCommandSubmenuActions (const QString &submenu) |
void | addHighlightColorActions (const QString &submenu, const QString &group, uint8_t order=128) |
void | removeHighlightColorActions (const QString &submenu) |
void | setOrdering (const QString &path, const QString &group, uint8_t order=128) |
void | setGroupOrdering (const QString &group, uint8_t order) |
void | setVisibility (const QString &path, MenuItemVisibility visibility) |
void | setRole (const QString &path, QAction::MenuRole role) |
void | setIcon (const QString &path, const QIcon &icon) |
MenuInstance * | create (QWidget *owner, UIActionHandler *handler, bool showInactiveActions=false) |
MenuInstance * | create (QWidget *owner, UIActionHandler *handler, const UIActionContext &context, bool showInactiveActions=false) |
uint64_t | getVersion () |
const std::map< QString, QString > & | getActions () |
QString | getGroupForAction (const QString &name) |
uint8_t | getOrderForAction (const QString &name) |
uint8_t | getOrderForGroup (const QString &name) |
MenuItemVisibility | getVisibility (const QString &name) |
QAction::MenuRole | getRole (const QString &name) |
QIcon | getIcon (const QString &name) |
Static Public Member Functions | |
static Menu * | mainMenu (const QString &name) |
static void | setMainMenuOrder (const QString &name, uint8_t order) |
static std::vector< QString > | getMainMenus () |
Menu::Menu | ( | ) |
Menu::Menu | ( | const Menu & | menu | ) |
void Menu::addAction | ( | const QString & | action, |
const QString & | group, | ||
uint8_t | order = 128 |
||
) |
void Menu::addAction | ( | const QString & | submenu, |
const QString & | action, | ||
const QString & | group, | ||
uint8_t | order = 128 |
||
) |
void Menu::addCopyAsActions | ( | const QString & | group, |
uint8_t | order = 128 |
||
) |
void Menu::addHighlightColorActions | ( | const QString & | submenu, |
const QString & | group, | ||
uint8_t | order = 128 |
||
) |
void Menu::addPasteFromActions | ( | const QString & | group, |
uint8_t | order = 128 |
||
) |
void Menu::addPluginCommandActions | ( | const QString & | group | ) |
void Menu::addPluginCommandActions | ( | const QString & | prefix, |
const QString & | group, | ||
uint8_t | order = 128 |
||
) |
void Menu::addPluginCommandSubmenuActions | ( | const QString & | submenu, |
const QString & | group | ||
) |
void Menu::addPluginCommandSubmenuActions | ( | const QString & | submenu, |
const QString & | prefix, | ||
const QString & | group, | ||
uint8_t | order = 128 |
||
) |
void Menu::addTransformActions | ( | const QString & | group, |
uint8_t | order = 128 |
||
) |
MenuInstance * Menu::create | ( | QWidget * | owner, |
UIActionHandler * | handler, | ||
bool | showInactiveActions = false |
||
) |
MenuInstance * Menu::create | ( | QWidget * | owner, |
UIActionHandler * | handler, | ||
const UIActionContext & | context, | ||
bool | showInactiveActions = false |
||
) |
const std::map< QString, QString > & Menu::getActions | ( | ) |
QString Menu::getGroupForAction | ( | const QString & | name | ) |
QIcon Menu::getIcon | ( | const QString & | name | ) |
|
static |
uint8_t Menu::getOrderForAction | ( | const QString & | name | ) |
uint8_t Menu::getOrderForGroup | ( | const QString & | name | ) |
QAction::MenuRole Menu::getRole | ( | const QString & | name | ) |
uint64_t Menu::getVersion | ( | ) |
MenuItemVisibility Menu::getVisibility | ( | const QString & | name | ) |
|
static |
void Menu::removeAction | ( | const QString & | action | ) |
void Menu::removeAction | ( | const QString & | submenu, |
const QString & | action | ||
) |
void Menu::removeCopyAsActions | ( | ) |
void Menu::removeHighlightColorActions | ( | const QString & | submenu | ) |
void Menu::removePasteFromActions | ( | ) |
void Menu::removePluginCommandActions | ( | ) |
void Menu::removePluginCommandSubmenuActions | ( | const QString & | submenu | ) |
void Menu::removeTransformActions | ( | ) |
void Menu::setGroupOrdering | ( | const QString & | group, |
uint8_t | order | ||
) |
void Menu::setIcon | ( | const QString & | path, |
const QIcon & | icon | ||
) |
|
static |
void Menu::setOrdering | ( | const QString & | path, |
const QString & | group, | ||
uint8_t | order = 128 |
||
) |
void Menu::setRole | ( | const QString & | path, |
QAction::MenuRole | role | ||
) |
void Menu::setVisibility | ( | const QString & | path, |
MenuItemVisibility | visibility | ||
) |