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) |
| UIActionHandler::UIActionHandler | ( | bool | isGlobal = false | ) |
|
virtual |
|
virtual |
|
static |
|
static |
| void UIActionHandler::bindAction | ( | const QString & | name, |
| const UIAction & | action | ||
| ) |
| void UIActionHandler::bindAction | ( | const QString & | name, |
| const UIAction & | action, | ||
| ActionPriority | priority | ||
| ) |
| void UIActionHandler::bindBookmarkActions | ( | const QString & | prefix, |
| const UIBookmarkAction & | action | ||
| ) |
| void UIActionHandler::bindCopyAsActions | ( | const UITransformAction & | action | ) |
| void UIActionHandler::bindHighlightColorActions | ( | const QString & | prefix, |
| const UIHighlightColorAction & | action | ||
| ) |
| void UIActionHandler::bindPasteFromActions | ( | const UITransformAction & | action | ) |
| 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::bindTransformActions | ( | const UITransformAction & | encode, |
| const UITransformAction & | decode | ||
| ) |
| UIActionContext UIActionHandler::defaultActionContext | ( | ) |
| void UIActionHandler::executeAction | ( | const QString & | name | ) |
| void UIActionHandler::executeAction | ( | const QString & | name, |
| const UIActionContext & | context | ||
| ) |
| QString UIActionHandler::getActionDisplayName | ( | const QString & | name | ) |
| QString UIActionHandler::getActionDisplayName | ( | const QString & | name, |
| const UIActionContext & | context | ||
| ) |
| std::set< QString > UIActionHandler::getAllValidActions | ( | ) |
| std::set< QString > UIActionHandler::getAllValidActions | ( | const UIActionContext & | context | ) |
| ActionPriority UIActionHandler::getPriority | ( | const QString & | name | ) |
|
static |
|
static |
| bool UIActionHandler::isBoundAction | ( | const QString & | name | ) |
| bool UIActionHandler::isCheckable | ( | const QString & | name | ) |
| bool UIActionHandler::isChecked | ( | const QString & | name | ) |
| bool UIActionHandler::isChecked | ( | const QString & | name, |
| const UIActionContext & | context | ||
| ) |
| bool UIActionHandler::isValidAction | ( | const QString & | name | ) |
| bool UIActionHandler::isValidAction | ( | const QString & | name, |
| const UIActionContext & | context | ||
| ) |
|
static |
|
static |
| void UIActionHandler::setActionContext | ( | const std::function< UIActionContext()> & | contextFunc | ) |
| 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 | ||
| ) |
| 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 | ||
| ) |
| void UIActionHandler::setupActionHandler | ( | QWidget * | obj, |
| bool | inheritParentBindings = true |
||
| ) |
| void UIActionHandler::unbindAction | ( | const QString & | name | ) |
| void UIActionHandler::unbindBookmarkActions | ( | const QString & | prefix | ) |
| void UIActionHandler::unbindCopyAsActions | ( | ) |
| void UIActionHandler::unbindHighlightColorActions | ( | const QString & | prefix | ) |
| void UIActionHandler::unbindPasteFromActions | ( | ) |
| void UIActionHandler::unbindPluginCommandActions | ( | ) |
| void UIActionHandler::unbindPluginCommandActions | ( | const QString & | prefix | ) |
| void UIActionHandler::unbindTransformActions | ( | ) |
|
static |
|
inline |