diff options
Diffstat (limited to 'client/mainwindow.h')
-rw-r--r-- | client/mainwindow.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/client/mainwindow.h b/client/mainwindow.h new file mode 100644 index 0000000..1e73657 --- /dev/null +++ b/client/mainwindow.h @@ -0,0 +1,42 @@ +#pragma once + +#include <QMainWindow> + +//#include "database.h" +#include "dbconnector.h" + +#include <QMessageBox> +#include <QtSql> +#include <QSqlDatabase> +#include "main.h" + + +QT_BEGIN_NAMESPACE +namespace Ui { class MainWindow; } +QT_END_NAMESPACE + +class MainWindow : public QMainWindow +{ + Q_OBJECT + +public: + MainWindow(QWidget *parent = nullptr); + ~MainWindow(); + +private slots: + void on_actionAbout_triggered(); + + void on_pushButton_clicked(); + + void on_actionConnection_triggered(); + +private: + Ui::MainWindow *ui; + + dbConnector *_dbConenctor; +// QSqlDatabase db; + + QSqlQueryModel *pQueryModel; + +// Database database; +}; |