2018-12-29 18:59:54 +01:00
|
|
|
|
#include "PluginContentWidget.h"
|
|
|
|
|
|
|
2019-08-14 09:06:48 +02:00
|
|
|
|
PluginContentWidget::PluginContentWidget(IPluginContentWidgetContext *context,
|
|
|
|
|
|
PluginModule *module, QWidget* parent)
|
2018-12-29 18:59:54 +01:00
|
|
|
|
: QWidget(parent)
|
|
|
|
|
|
, m_context(context)
|
2019-08-14 09:06:48 +02:00
|
|
|
|
, m_pluginModule(module)
|
2019-01-05 19:58:23 +01:00
|
|
|
|
{}
|
2018-12-29 18:59:54 +01:00
|
|
|
|
|
|
|
|
|
|
bool PluginContentWidget::canClose()
|
|
|
|
|
|
{
|
|
|
|
|
|
return true;
|
|
|
|
|
|
}
|
2019-08-14 09:06:48 +02:00
|
|
|
|
|
|
|
|
|
|
QList<QAction *> PluginContentWidget::actions()
|
|
|
|
|
|
{ return QList<QAction*>(); }
|
|
|
|
|
|
|
|
|
|
|
|
PluginModule *PluginContentWidget::pluginModule()
|
|
|
|
|
|
{ return m_pluginModule; }
|
|
|
|
|
|
|
|
|
|
|
|
IPluginContentWidgetContext *PluginContentWidget::context()
|
|
|
|
|
|
{ return m_context; }
|