Context actions have become normal actions in the pluginwidget so the widget knows abot them and can easily do things like enable/disable.
18 lines
393 B
C++
18 lines
393 B
C++
#ifndef QUERYTOOLMODULE_H
|
|
#define QUERYTOOLMODULE_H
|
|
|
|
#include "plugin_support/PluginModule.h"
|
|
|
|
class QueryToolModule: public PluginModule {
|
|
Q_OBJECT
|
|
public:
|
|
using PluginModule::PluginModule;
|
|
|
|
void init() override;
|
|
void staticAction_new(IPluginContentWidgetContext* context);
|
|
void staticAction_open(IPluginContentWidgetContext* context);
|
|
private slots:
|
|
};
|
|
|
|
|
|
#endif // QUERYTOOLMODULE_H
|