Needs work for correctly placing the items in menu and on toolbar. Old system still needs to be removed left in place to keep app useable.
22 lines
531 B
C++
22 lines
531 B
C++
#include "PluginContentWidget.h"
|
|
|
|
PluginContentWidget::PluginContentWidget(IPluginContentWidgetContext *context,
|
|
PluginModule *module, QWidget* parent)
|
|
: QWidget(parent)
|
|
, m_context(context)
|
|
, m_pluginModule(module)
|
|
{}
|
|
|
|
bool PluginContentWidget::canClose()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
QList<QAction *> PluginContentWidget::actions()
|
|
{ return QList<QAction*>(); }
|
|
|
|
PluginModule *PluginContentWidget::pluginModule()
|
|
{ return m_pluginModule; }
|
|
|
|
IPluginContentWidgetContext *PluginContentWidget::context()
|
|
{ return m_context; }
|