Added menu items for saving, loading, export data, closing window and about.
Saving and loading of SQL and close is implemented.
This commit is contained in:
parent
2db661b7a6
commit
cc5bbab0f5
4 changed files with 134 additions and 4 deletions
|
|
@ -57,7 +57,7 @@ private:
|
|||
void endTimer();
|
||||
|
||||
|
||||
std::unique_ptr<Ui::MainWindow> ui;
|
||||
Ui::MainWindow *ui;
|
||||
std::unique_ptr<SqlHighlighter> highlighter;
|
||||
|
||||
ASyncDBConnection m_dbConnection;
|
||||
|
|
@ -83,6 +83,11 @@ private slots:
|
|||
|
||||
void addLog(QString s);
|
||||
void updateTimer();
|
||||
void on_actionLoad_SQL_triggered();
|
||||
void on_actionSave_SQL_triggered();
|
||||
void on_actionExport_data_triggered();
|
||||
void on_actionClose_triggered();
|
||||
void on_actionAbout_triggered();
|
||||
};
|
||||
|
||||
#endif // MAINWINDOW_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue