Classes | |
| struct | HighlightTokenState |
| struct | UIActionContext |
| struct | UIAction |
| struct | UITransformAction |
| struct | UIHighlightColorAction |
| struct | UIBookmarkAction |
| class | UIActionHandler |
| class | Menu |
| class | MenuInstance |
| class | MainMenuInstance |
Enumerations | |
| enum | ActionPriority { LowActionPriority , NormalActionPriority , HighActionPriority } |
| enum | MenuItemVisibility { DefaultMenuItemVisibility , ShowMenuItemOnlyWhenActive , AlwaysShowMenuItem , NeverShowMenuItem } |
| struct HighlightTokenState |
Public Member Functions | |
| HighlightTokenState () | |
| Json::Value | serialize () const |
| bool | deserialize (const Json::Value &value) |
Public Attributes | |
| bool | valid |
| bool | focused |
| bool | secondaryHighlight |
| BNInstructionTextTokenType | type |
| BinaryNinja::InstructionTextToken | token |
| ArchitectureRef | arch |
| bool | addrValid |
| bool | localVarValid |
| bool | isDest |
| uint64_t | addr |
| BinaryNinja::Variable | localVar |
| size_t | tokenIndex |
| size_t | characterIndex |
| size_t | indentGroup |
| HighlightTokenState::HighlightTokenState | ( | ) |
| Json::Value HighlightTokenState::serialize | ( | ) | const |
| bool HighlightTokenState::deserialize | ( | const Json::Value & | value | ) |
| bool HighlightTokenState::valid |
| bool HighlightTokenState::focused |
| bool HighlightTokenState::secondaryHighlight |
| BNInstructionTextTokenType HighlightTokenState::type |
| BinaryNinja::InstructionTextToken HighlightTokenState::token |
| ArchitectureRef HighlightTokenState::arch |
| bool HighlightTokenState::addrValid |
| bool HighlightTokenState::localVarValid |
| bool HighlightTokenState::isDest |
| uint64_t HighlightTokenState::addr |
| BinaryNinja::Variable HighlightTokenState::localVar |
| size_t HighlightTokenState::tokenIndex |
| size_t HighlightTokenState::characterIndex |
| size_t HighlightTokenState::indentGroup |
| struct UIActionContext |
Public Member Functions | |
| UIActionContext () | |
| UIActionContext (const BinaryNinja::PluginCommandContext &pluginContext) | |
| operator BinaryNinja::PluginCommandContext () const | |
Public Attributes | |
| UIContext * | context |
| View * | view |
| QWidget * | widget |
| HighlightTokenState | token |
| BinaryViewRef | binaryView |
| uint64_t | address |
| uint64_t | length |
| size_t | instrIndex |
| FunctionRef | function |
| LowLevelILFunctionRef | lowLevelILFunction |
| MediumLevelILFunctionRef | mediumLevelILFunction |
| HighLevelILFunctionRef | highLevelILFunction |
| LinearViewCursorPosition * | cursorPosition |
| UIActionContext::UIActionContext | ( | ) |
| UIActionContext::UIActionContext | ( | const BinaryNinja::PluginCommandContext & | pluginContext | ) |
| UIActionContext::operator BinaryNinja::PluginCommandContext | ( | ) | const |
| UIContext* UIActionContext::context |
| View* UIActionContext::view |
| QWidget* UIActionContext::widget |
| HighlightTokenState UIActionContext::token |
| BinaryViewRef UIActionContext::binaryView |
| uint64_t UIActionContext::address |
| uint64_t UIActionContext::length |
| size_t UIActionContext::instrIndex |
| FunctionRef UIActionContext::function |
| LowLevelILFunctionRef UIActionContext::lowLevelILFunction |
| MediumLevelILFunctionRef UIActionContext::mediumLevelILFunction |
| HighLevelILFunctionRef UIActionContext::highLevelILFunction |
| LinearViewCursorPosition* UIActionContext::cursorPosition |
| struct UIAction |
Public Member Functions | |
| UIAction () | |
| UIAction (const std::function< void(const UIActionContext &context)> &activate) | |
| UIAction (const std::function< void()> &activate) | |
| UIAction (const std::function< void(const UIActionContext &context)> &activate, const std::function< bool(const UIActionContext &context)> &isValid) | |
| UIAction (const std::function< void()> &activate, const std::function< bool(const UIActionContext &context)> &isValid) | |
| UIAction (const std::function< void(const UIActionContext &context)> &activate, const std::function< bool()> &isValid) | |
| UIAction (const std::function< void()> &activate, const std::function< bool()> &isValid) | |
| UIAction (const UIAction &other) | |
| UIAction & | operator= (const UIAction &other) |
Static Public Member Functions | |
| static void | registerAction (const QString &name, const QKeySequence &defaultKeyBinding=QKeySequence(), const QList< QString > &alias=QList< QString >()) |
| static void | registerAction (const QString &name, const QList< QKeySequence > &defaultKeyBinding, const QList< QString > &alias=QList< QString >()) |
| static void | unregisterAction (const QString &name) |
| static void | registerTransformActions () |
| static void | registerPluginCommandActions () |
| static void | registerPluginCommandActions (const QString &prefix) |
| static void | registerHighlightColorActions (const QString &prefix) |
| static void | registerBookmarkActions (const QString &prefix) |
| static void | setActionDisplayName (const QString ®isteredName, const QString &displayName) |
| static void | setActionDisplayName (const QString ®isteredName, const std::function< QString()> &displayNameFunc) |
| static void | setActionDisplayName (const QString ®isteredName, const std::function< QString(const UIActionContext &)> &displayNameFunc) |
| static bool | isActionRegistered (const QString &name) |
| static std::set< QString > | getAllRegisteredActions () |
| static QList< QKeySequence > | getDefaultKeyBinding (const QString &name) |
| static QList< QKeySequence > | getKeyBinding (const QString &name) |
| static QString | getActionDisplayName (const QString &name, const UIActionContext &context) |
| static int | rawControl () |
| static int | rawMeta () |
| static void | setUserKeyBinding (const QString &name, const QList< QKeySequence > &keyBinding) |
| static void | resetKeyBindingToDefault (const QString &name) |
| static void | readKeyBindingsFile () |
| static void | writeKeyBindingsFile () |
Public Attributes | |
| std::function< void(const UIActionContext &context)> | activate |
| std::function< bool(const UIActionContext &context)> | isValid |
| UIAction::UIAction | ( | ) |
| UIAction::UIAction | ( | const std::function< void(const UIActionContext &context)> & | activate | ) |
| UIAction::UIAction | ( | const std::function< void()> & | activate | ) |
| UIAction::UIAction | ( | const std::function< void(const UIActionContext &context)> & | activate, |
| const std::function< bool(const UIActionContext &context)> & | isValid ) |
| UIAction::UIAction | ( | const std::function< void()> & | activate, |
| const std::function< bool(const UIActionContext &context)> & | isValid ) |
| UIAction::UIAction | ( | const std::function< void(const UIActionContext &context)> & | activate, |
| const std::function< bool()> & | isValid ) |
| UIAction::UIAction | ( | const std::function< void()> & | activate, |
| const std::function< bool()> & | isValid ) |
| UIAction::UIAction | ( | const UIAction & | other | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| std::function<void(const UIActionContext& context)> UIAction::activate |
| std::function<bool(const UIActionContext& context)> UIAction::isValid |
| struct UITransformAction |
Public Member Functions | |
| UITransformAction () | |
| UITransformAction (const std::function< void(const UIActionContext &context, TransformRef xform)> &activate) | |
| UITransformAction (const std::function< void(TransformRef xform)> &activate) | |
| UITransformAction (const std::function< void(const UIActionContext &context, TransformRef xform)> &activate, const std::function< bool(const UIActionContext &context, TransformRef xform)> &isValid) | |
| UITransformAction (const std::function< void(TransformRef xform)> &activate, const std::function< bool(const UIActionContext &context, TransformRef xform)> &isValid) | |
| UITransformAction (const std::function< void(const UIActionContext &context, TransformRef xform)> &activate, const std::function< bool(TransformRef xform)> &isValid) | |
| UITransformAction (const std::function< void(TransformRef xform)> &activate, const std::function< bool(TransformRef xform)> &isValid) | |
| UITransformAction (const UITransformAction &other) | |
Public Attributes | |
| std::function< void(const UIActionContext &context, TransformRef xform)> | activate |
| std::function< bool(const UIActionContext &context, TransformRef xform)> | isValid |
| UITransformAction::UITransformAction | ( | ) |
| UITransformAction::UITransformAction | ( | const std::function< void(const UIActionContext &context, TransformRef xform)> & | activate | ) |
| UITransformAction::UITransformAction | ( | const std::function< void(TransformRef xform)> & | activate | ) |
| UITransformAction::UITransformAction | ( | const std::function< void(const UIActionContext &context, TransformRef xform)> & | activate, |
| const std::function< bool(const UIActionContext &context, TransformRef xform)> & | isValid ) |
| UITransformAction::UITransformAction | ( | const std::function< void(TransformRef xform)> & | activate, |
| const std::function< bool(const UIActionContext &context, TransformRef xform)> & | isValid ) |
| UITransformAction::UITransformAction | ( | const std::function< void(const UIActionContext &context, TransformRef xform)> & | activate, |
| const std::function< bool(TransformRef xform)> & | isValid ) |
| UITransformAction::UITransformAction | ( | const std::function< void(TransformRef xform)> & | activate, |
| const std::function< bool(TransformRef xform)> & | isValid ) |
| UITransformAction::UITransformAction | ( | const UITransformAction & | other | ) |
| std::function<void(const UIActionContext& context, TransformRef xform)> UITransformAction::activate |
| std::function<bool(const UIActionContext& context, TransformRef xform)> UITransformAction::isValid |
| struct UIHighlightColorAction |
Public Member Functions | |
| UIHighlightColorAction () | |
| UIHighlightColorAction (const std::function< void(const UIActionContext &context, BNHighlightColor color)> &activate) | |
| UIHighlightColorAction (const std::function< void(BNHighlightColor color)> &activate) | |
| UIHighlightColorAction (const std::function< void(const UIActionContext &context, BNHighlightColor color)> &activate, const std::function< bool(const UIActionContext &context)> &isValid) | |
| UIHighlightColorAction (const std::function< void(BNHighlightColor color)> &activate, const std::function< bool(const UIActionContext &context)> &isValid) | |
| UIHighlightColorAction (const std::function< void(const UIActionContext &context, BNHighlightColor color)> &activate, const std::function< bool()> &isValid) | |
| UIHighlightColorAction (const std::function< void(BNHighlightColor color)> &activate, const std::function< bool()> &isValid) | |
| UIHighlightColorAction (const UIHighlightColorAction &other) | |
Public Attributes | |
| std::function< void(const UIActionContext &context, BNHighlightColor color)> | activate |
| std::function< bool(const UIActionContext &context)> | isValid |
| UIHighlightColorAction::UIHighlightColorAction | ( | ) |
| UIHighlightColorAction::UIHighlightColorAction | ( | const std::function< void(const UIActionContext &context, BNHighlightColor color)> & | activate | ) |
| UIHighlightColorAction::UIHighlightColorAction | ( | const std::function< void(BNHighlightColor color)> & | activate | ) |
| UIHighlightColorAction::UIHighlightColorAction | ( | const std::function< void(const UIActionContext &context, BNHighlightColor color)> & | activate, |
| const std::function< bool(const UIActionContext &context)> & | isValid ) |
| UIHighlightColorAction::UIHighlightColorAction | ( | const std::function< void(BNHighlightColor color)> & | activate, |
| const std::function< bool(const UIActionContext &context)> & | isValid ) |
| UIHighlightColorAction::UIHighlightColorAction | ( | const std::function< void(const UIActionContext &context, BNHighlightColor color)> & | activate, |
| const std::function< bool()> & | isValid ) |
| UIHighlightColorAction::UIHighlightColorAction | ( | const std::function< void(BNHighlightColor color)> & | activate, |
| const std::function< bool()> & | isValid ) |
| UIHighlightColorAction::UIHighlightColorAction | ( | const UIHighlightColorAction & | other | ) |
| std::function<void(const UIActionContext& context, BNHighlightColor color)> UIHighlightColorAction::activate |
| std::function<bool(const UIActionContext& context)> UIHighlightColorAction::isValid |
| struct UIBookmarkAction |
Public Member Functions | |
| UIBookmarkAction (const std::function< void(const UIActionContext &context, int index)> &activate, const std::function< bool(const UIActionContext &context, int index)> &isValid) | |
Public Attributes | |
| std::function< void(const UIActionContext &context, int index)> | activate |
| std::function< bool(const UIActionContext &context, int index)> | isValid |
| UIBookmarkAction::UIBookmarkAction | ( | const std::function< void(const UIActionContext &context, int index)> & | activate, |
| const std::function< bool(const UIActionContext &context, int index)> & | isValid ) |
| std::function<void(const UIActionContext& context, int index)> UIBookmarkAction::activate |
| std::function<bool(const UIActionContext& context, int index)> UIBookmarkAction::isValid |
| class UIActionHandler |
Public Member Functions | |
| UIActionHandler (bool isGlobal=false) | |
| virtual | ~UIActionHandler () |
| void | setupActionHandler (QWidget *obj, bool inheritParentBindings=true) |
| void | bindAction (const QString &name, const UIAction &action) |
| void | bindAction (const QString &name, const UIAction &action, ActionPriority priority) |
| void | unbindAction (const QString &name) |
| void | executeAction (const QString &name) |
| void | executeAction (const QString &name, const UIActionContext &context) |
| bool | isBoundAction (const QString &name) |
| bool | isValidAction (const QString &name) |
| bool | isValidAction (const QString &name, const UIActionContext &context) |
| ActionPriority | getPriority (const QString &name) |
| void | bindCopyAsActions (const UITransformAction &action) |
| void | bindPasteFromActions (const UITransformAction &action) |
| void | bindTransformActions (const UITransformAction &encode, const UITransformAction &decode) |
| void | unbindCopyAsActions () |
| void | unbindPasteFromActions () |
| void | unbindTransformActions () |
| void | bindPluginCommandActions () |
| void | bindPluginCommandActions (const QString &prefix, const std::function< UIActionContext(const UIActionContext &, const BinaryNinja::PluginCommand &)> &context, const std::function< bool(const UIActionContext &, const BinaryNinja::PluginCommand &)> &isValid) |
| void | unbindPluginCommandActions () |
| void | unbindPluginCommandActions (const QString &prefix) |
| void | bindHighlightColorActions (const QString &prefix, const UIHighlightColorAction &action) |
| void | unbindHighlightColorActions (const QString &prefix) |
| void | bindBookmarkActions (const QString &prefix, const UIBookmarkAction &action) |
| void | unbindBookmarkActions (const QString &prefix) |
| void | setActionDisplayName (const QString ®isteredName, const QString &displayName) |
| void | setActionDisplayName (const QString ®isteredName, const std::function< QString()> &displayNameFunc) |
| void | setActionDisplayName (const QString ®isteredName, const std::function< QString(const UIActionContext &)> &displayNameFunc) |
| QString | getActionDisplayName (const QString &name) |
| QString | getActionDisplayName (const QString &name, const UIActionContext &context) |
| void | setChecked (const QString &name, bool checked) |
| void | setChecked (const QString &name, const std::function< bool()> &checked) |
| void | setChecked (const QString &name, const std::function< bool(const UIActionContext &)> &checked) |
| bool | isChecked (const QString &name) |
| bool | isChecked (const QString &name, const UIActionContext &context) |
| bool | isCheckable (const QString &name) |
| std::set< QString > | getAllValidActions () |
| std::set< QString > | getAllValidActions (const UIActionContext &context) |
| UIActionContext | defaultActionContext () |
| virtual UIActionContext | actionContext () |
| void | setActionContext (const std::function< UIActionContext()> &contextFunc) |
| QWidget * | widget () |
Static Public Member Functions | |
| static UIActionHandler * | actionHandlerFromWidget (QWidget *widget) |
| static UIActionHandler * | globalActions () |
| static void | updateActionBindings (const QString &name) |
| static bool | isActionBoundToAnyHandler (const QString &name) |
| static void | addGlobalMenuAction (const QString &name) |
| static void | removeGlobalMenuAction (const QString &name) |
| static void | reparentWidget (QWidget *widget) |
Friends | |
| class | UIActionHandlerWidgetConnection |
| UIActionHandler::UIActionHandler | ( | bool | isGlobal = false | ) |
|
virtual |
| void UIActionHandler::setupActionHandler | ( | QWidget * | obj, |
| bool | inheritParentBindings = true ) |
|
static |
|
static |
| void UIActionHandler::bindAction | ( | const QString & | name, |
| const UIAction & | action ) |
| void UIActionHandler::bindAction | ( | const QString & | name, |
| const UIAction & | action, | ||
| ActionPriority | priority ) |
| void UIActionHandler::unbindAction | ( | const QString & | name | ) |
| void UIActionHandler::executeAction | ( | const QString & | name | ) |
| void UIActionHandler::executeAction | ( | const QString & | name, |
| const UIActionContext & | context ) |
| bool UIActionHandler::isBoundAction | ( | const QString & | name | ) |
| bool UIActionHandler::isValidAction | ( | const QString & | name | ) |
| bool UIActionHandler::isValidAction | ( | const QString & | name, |
| const UIActionContext & | context ) |
| ActionPriority UIActionHandler::getPriority | ( | const QString & | name | ) |
| void UIActionHandler::bindCopyAsActions | ( | const UITransformAction & | action | ) |
| void UIActionHandler::bindPasteFromActions | ( | const UITransformAction & | action | ) |
| void UIActionHandler::bindTransformActions | ( | const UITransformAction & | encode, |
| const UITransformAction & | decode ) |
| void UIActionHandler::unbindCopyAsActions | ( | ) |
| void UIActionHandler::unbindPasteFromActions | ( | ) |
| void UIActionHandler::unbindTransformActions | ( | ) |
| void UIActionHandler::bindPluginCommandActions | ( | ) |
| void UIActionHandler::bindPluginCommandActions | ( | const QString & | prefix, |
| const std::function< UIActionContext(const UIActionContext &, const BinaryNinja::PluginCommand &)> & | context, | ||
| const std::function< bool(const UIActionContext &, const BinaryNinja::PluginCommand &)> & | isValid ) |
| void UIActionHandler::unbindPluginCommandActions | ( | ) |
| void UIActionHandler::unbindPluginCommandActions | ( | const QString & | prefix | ) |
| void UIActionHandler::bindHighlightColorActions | ( | const QString & | prefix, |
| const UIHighlightColorAction & | action ) |
| void UIActionHandler::unbindHighlightColorActions | ( | const QString & | prefix | ) |
| void UIActionHandler::bindBookmarkActions | ( | const QString & | prefix, |
| const UIBookmarkAction & | action ) |
| void UIActionHandler::unbindBookmarkActions | ( | const QString & | prefix | ) |
| void UIActionHandler::setActionDisplayName | ( | const QString & | registeredName, |
| const QString & | displayName ) |
| void UIActionHandler::setActionDisplayName | ( | const QString & | registeredName, |
| const std::function< QString()> & | displayNameFunc ) |
| void UIActionHandler::setActionDisplayName | ( | const QString & | registeredName, |
| const std::function< QString(const UIActionContext &)> & | displayNameFunc ) |
| QString UIActionHandler::getActionDisplayName | ( | const QString & | name | ) |
| QString UIActionHandler::getActionDisplayName | ( | const QString & | name, |
| const UIActionContext & | context ) |
| void UIActionHandler::setChecked | ( | const QString & | name, |
| bool | checked ) |
| void UIActionHandler::setChecked | ( | const QString & | name, |
| const std::function< bool()> & | checked ) |
| void UIActionHandler::setChecked | ( | const QString & | name, |
| const std::function< bool(const UIActionContext &)> & | checked ) |
| bool UIActionHandler::isChecked | ( | const QString & | name | ) |
| bool UIActionHandler::isChecked | ( | const QString & | name, |
| const UIActionContext & | context ) |
| bool UIActionHandler::isCheckable | ( | const QString & | name | ) |
| std::set< QString > UIActionHandler::getAllValidActions | ( | ) |
| std::set< QString > UIActionHandler::getAllValidActions | ( | const UIActionContext & | context | ) |
| UIActionContext UIActionHandler::defaultActionContext | ( | ) |
|
virtual |
| void UIActionHandler::setActionContext | ( | const std::function< UIActionContext()> & | contextFunc | ) |
|
inline |
|
static |
|
static |
|
static |
|
static |
|
static |
|
friend |
| class Menu |
Public Member Functions | |
| Menu () | |
| Menu (const Menu &menu) | |
| void | addAction (const QString &action, const QString &group, uint8_t order=128) |
| void | addRelativeAction (const QString &base, 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 | addRelativeAction (const QString &submenu, const QString &base, 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, const std::vector< BNPluginCommandType > &types={}) |
| void | addPluginCommandSubmenuActions (const QString &submenu, const QString &group, const std::vector< BNPluginCommandType > &types) |
| 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 Menu * | dockMenu () |
| 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::addRelativeAction | ( | const QString & | base, |
| 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::addRelativeAction | ( | const QString & | submenu, |
| const QString & | base, | ||
| const QString & | action, | ||
| const QString & | group, | ||
| uint8_t | order = 128 ) |
| void Menu::removeAction | ( | const QString & | action | ) |
| void Menu::removeAction | ( | const QString & | submenu, |
| const QString & | action ) |
| void Menu::addCopyAsActions | ( | const QString & | group, |
| uint8_t | order = 128 ) |
| void Menu::addPasteFromActions | ( | const QString & | group, |
| uint8_t | order = 128 ) |
| void Menu::addTransformActions | ( | const QString & | group, |
| uint8_t | order = 128 ) |
| void Menu::removeCopyAsActions | ( | ) |
| void Menu::removePasteFromActions | ( | ) |
| void Menu::removeTransformActions | ( | ) |
| void Menu::addPluginCommandActions | ( | const QString & | group | ) |
| void Menu::addPluginCommandActions | ( | const QString & | prefix, |
| const QString & | group, | ||
| uint8_t | order = 128, | ||
| const std::vector< BNPluginCommandType > & | types = {} ) |
| void Menu::addPluginCommandSubmenuActions | ( | const QString & | submenu, |
| const QString & | group, | ||
| const std::vector< BNPluginCommandType > & | types ) |
| void Menu::removePluginCommandActions | ( | ) |
| void Menu::removePluginCommandSubmenuActions | ( | const QString & | submenu | ) |
| void Menu::addHighlightColorActions | ( | const QString & | submenu, |
| const QString & | group, | ||
| uint8_t | order = 128 ) |
| void Menu::removeHighlightColorActions | ( | const QString & | submenu | ) |
| void Menu::setOrdering | ( | const QString & | path, |
| const QString & | group, | ||
| uint8_t | order = 128 ) |
| void Menu::setGroupOrdering | ( | const QString & | group, |
| uint8_t | order ) |
| void Menu::setVisibility | ( | const QString & | path, |
| MenuItemVisibility | visibility ) |
| void Menu::setRole | ( | const QString & | path, |
| QAction::MenuRole | role ) |
| void Menu::setIcon | ( | const QString & | path, |
| const QIcon & | icon ) |
| MenuInstance * Menu::create | ( | QWidget * | owner, |
| UIActionHandler * | handler, | ||
| bool | showInactiveActions = false ) |
| MenuInstance * Menu::create | ( | QWidget * | owner, |
| UIActionHandler * | handler, | ||
| const UIActionContext & | context, | ||
| bool | showInactiveActions = false ) |
| uint64_t Menu::getVersion | ( | ) |
| const std::map< QString, QString > & Menu::getActions | ( | ) |
| QString Menu::getGroupForAction | ( | const QString & | name | ) |
| uint8_t Menu::getOrderForAction | ( | const QString & | name | ) |
| uint8_t Menu::getOrderForGroup | ( | const QString & | name | ) |
| MenuItemVisibility Menu::getVisibility | ( | const QString & | name | ) |
| QAction::MenuRole Menu::getRole | ( | const QString & | name | ) |
| QIcon Menu::getIcon | ( | const QString & | name | ) |
|
static |
|
static |
|
static |
|
static |
| class MenuInstance |
Public Member Functions | |
| MenuInstance (Menu *menu, QMenu *instance) | |
| virtual | ~MenuInstance () |
| void | update (UIActionHandler *handler, bool showInactiveActions=false) |
| void | update (UIActionHandler *handler, const UIActionContext &context, bool showInactiveActions=false) |
| Menu * | source () const |
| QMenu * | instance () const |
Static Public Member Functions | |
| static void | updateActionBindings (const QString &name) |
| MenuInstance::MenuInstance | ( | Menu * | menu, |
| QMenu * | instance ) |
|
virtual |
| void MenuInstance::update | ( | UIActionHandler * | handler, |
| bool | showInactiveActions = false ) |
| void MenuInstance::update | ( | UIActionHandler * | handler, |
| const UIActionContext & | context, | ||
| bool | showInactiveActions = false ) |
|
inline |
|
inline |
|
static |
| class MainMenuInstance |
Public Member Functions | |
| MainMenuInstance (QMenuBar *instance) | |
| ~MainMenuInstance () | |
| void | update (UIActionHandler *handler) |
| void | update (UIActionHandler *handler, const UIActionContext &context) |
| MainMenuInstance::MainMenuInstance | ( | QMenuBar * | instance | ) |
| MainMenuInstance::~MainMenuInstance | ( | ) |
| void MainMenuInstance::update | ( | UIActionHandler * | handler | ) |
| void MainMenuInstance::update | ( | UIActionHandler * | handler, |
| const UIActionContext & | context ) |
| enum ActionPriority |
| enum MenuItemVisibility |