in the direction of a plugin system. DatabaseWindow now passes a Context to QueryTab and other pages that give those pages an API for passing information up the system without knowing anything about the sytem.
18 lines
336 B
C++
18 lines
336 B
C++
#include "PluginContentWidget.h"
|
|
|
|
PluginContentWidget::PluginContentWidget(IPluginContentWidgetContext *context, QWidget* parent)
|
|
: QWidget(parent)
|
|
, m_context(context)
|
|
{
|
|
|
|
}
|
|
|
|
std::vector<QAction*> PluginContentWidget::getToolbarActions()
|
|
{
|
|
return std::vector<QAction*>();
|
|
}
|
|
|
|
bool PluginContentWidget::canClose()
|
|
{
|
|
return true;
|
|
}
|