Basic concept of MenuAction is working
Module can register action Window adds this action to its menu Clicking the menu item for the action has the expected result But menu structure still needs work (everything is now put into one dropdown menu)
This commit is contained in:
parent
f130c426a1
commit
dc8a052544
12 changed files with 220 additions and 28 deletions
|
|
@ -117,9 +117,9 @@ class QueryToolModule: public PluginModule {
|
|||
public:
|
||||
using PluginModule::PluginModule;
|
||||
|
||||
void init();
|
||||
void init() override;
|
||||
void menuAction_new(IPluginContentWidgetContext* context);
|
||||
private slots:
|
||||
void new_triggered();
|
||||
};
|
||||
|
||||
#endif // QUERYTAB_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue