diff options
| author | Glenn Smith <glenn@vector35.com> | 2023-01-25 17:48:19 -0500 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2023-01-25 18:35:05 -0500 |
| commit | 89454544207b366aa20878e6139663a376655420 (patch) | |
| tree | 2c3ceb2ed5e00c69169c4865f7222cca3e02b3e1 /ui/action.h | |
| parent | 7d504eb0f6892c8fd4b95699d920aa12d0536261 (diff) | |
Add dock menu with various dock menu actions
Diffstat (limited to 'ui/action.h')
| -rw-r--r-- | ui/action.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/action.h b/ui/action.h index a81310e6..0daad730 100644 --- a/ui/action.h +++ b/ui/action.h @@ -367,6 +367,7 @@ class BINARYNINJAUIAPI Menu QIcon getIcon(const QString& name); static Menu* mainMenu(const QString& name); + static Menu* dockMenu(); static void setMainMenuOrder(const QString& name, uint8_t order); static std::vector<QString> getMainMenus(); }; @@ -427,6 +428,7 @@ class BINARYNINJAUIAPI MainMenuInstance { QMenuBar* m_instance; std::map<QString, MenuInstance*> m_menus; + MenuInstance* m_dockMenu; public: MainMenuInstance(QMenuBar* instance); |
