As a test implementation, this allows the TablesPage to open a CrudTab for a table/view without the need for TablesPage, CrudTab and DatabaseWindow to know anything about each other.
19 lines
523 B
C++
19 lines
523 B
C++
#ifndef PLUGINCONTENTWIDGETCONTEXTBASE_H
|
|
#define PLUGINCONTENTWIDGETCONTEXTBASE_H
|
|
|
|
#include "plugin_support/IPluginContentWidgetContext.h"
|
|
|
|
/// Provides base implementation of IPluginContentWidgetContext
|
|
class PluginContentWidgetContextBase : public IPluginContentWidgetContext
|
|
{
|
|
public:
|
|
PluginContentWidgetContextBase();
|
|
|
|
void moduleAction(
|
|
const QString &module_identifier,
|
|
QString module_action,
|
|
const ModuleActionParameters &action_params
|
|
) override;
|
|
};
|
|
|
|
#endif // PLUGINCONTENTWIDGETCONTEXTBASE_H
|