Proof of concept for having the context actions statically defined in the module.
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.
This commit is contained in:
parent
7f09d5fe07
commit
601d071d0f
21 changed files with 303 additions and 70 deletions
|
|
@ -22,8 +22,8 @@
|
|||
#include "plugin_support/IPluginContentWidgetContext.h"
|
||||
|
||||
|
||||
QueryTool::QueryTool(IPluginContentWidgetContext *context_, QWidget *parent)
|
||||
: PluginContentWidget(context_, parent)
|
||||
QueryTool::QueryTool(IPluginContentWidgetContext *context_, PluginModule *module, QWidget *parent)
|
||||
: PluginContentWidget(context_, module, parent)
|
||||
, ui(new Ui::QueryTab)
|
||||
, m_dbConnection(*getGlobalAsioIoService())
|
||||
{
|
||||
|
|
@ -632,8 +632,6 @@ void QueryTool::exportData()
|
|||
|
||||
void QueryTool::initActions()
|
||||
{
|
||||
|
||||
|
||||
{
|
||||
auto ac = new QAction(QIcon(":/icons/script_save.png"), tr("Save SQL"), this);
|
||||
ac->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_S));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue