diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-10-27 10:46:30 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-10-27 10:46:30 +0200 |
commit | c363bf7fb006914dbcfadb0a752c05fdf8683400 (patch) | |
tree | f1bb77c9a5270b9e27b0cc2c48ecabcf5eb474f7 /client/mainwindow.h | |
parent | 183ed1e4c58f0c788db0b56886aad2dc258e9ddb (diff) | |
parent | 28af8ed412224bd8969db98521b67e0f4027ddf7 (diff) |
Merge branch 'devs' of https://github.com/UnavailableDev/avans-whether-station-Qt into dev-merge-temp
Diffstat (limited to 'client/mainwindow.h')
-rw-r--r-- | client/mainwindow.h | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/client/mainwindow.h b/client/mainwindow.h index 1e73657..25e22ec 100644 --- a/client/mainwindow.h +++ b/client/mainwindow.h @@ -8,6 +8,10 @@ #include <QMessageBox> #include <QtSql> #include <QSqlDatabase> +#include <QtCharts> +#include <QWidget> +#include <QWidgetSet> + #include "main.h" @@ -23,20 +27,26 @@ public: MainWindow(QWidget *parent = nullptr); ~MainWindow(); + virtual void drawGraph(); + private slots: - void on_actionAbout_triggered(); +// void on_actionAbout_triggered(); - void on_pushButton_clicked(); +// void on_pushButton_clicked(); void on_actionConnection_triggered(); + void on_actionRefresh_triggered(); + + void on_actionDisconnenct_triggered(); + private: Ui::MainWindow *ui; dbConnector *_dbConenctor; -// QSqlDatabase db; - QSqlQueryModel *pQueryModel; + QChart *_pChart; +// QLineSeries *_pSeries; + QChartView *_pChartView; -// Database database; }; |