#pragma once #include #include "database.h" #include "dbconnector.h" #include #include #include #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; };