Crud page has now reload action.

F5 key is bound to the execute query, reload catalog and reload crud
actions. By using addAction to add these actions to the relevant pages
the ambiguity of the shortcut is resolved.
This commit is contained in:
eelke 2019-10-13 07:31:48 +02:00
parent 4278fe6ff4
commit 1a208a6a2d
4 changed files with 71 additions and 51 deletions

View file

@ -31,29 +31,13 @@ private:
std::optional<PgClass> m_table;
CrudModel *m_crudModel = nullptr;
QAction *m_refreshAction = nullptr;
void initActions();
// virtual QList<QAction *> actions() override;
private slots:
void on_actionRemove_rows_triggered();
void headerCustomContextMenu(const QPoint &pos);
};
//class CrudPageModule: public PluginModule {
// Q_OBJECT
//public:
// using PluginModule::PluginModule;
// void init();
//private slots:
//private:
// void moduleAction_open(IPluginContentWidgetContext* context, const ModuleActionParameters &params);
//};
#endif // CRUDTAB_H