summaryrefslogtreecommitdiff
path: root/mainwindow.h
diff options
context:
space:
mode:
authorJoshua Drake <joshua.drake@ditchwitch.com>2022-11-18 16:06:36 -0600
committerJoshua Drake <joshua.drake@ditchwitch.com>2022-11-18 16:06:36 -0600
commit1ed60cd00cd9fdcc45dab1f81e00dd723858a430 (patch)
tree073251bba5914829268bbf67563837c44a05ad80 /mainwindow.h
parentaeef870dbed6488483dc8dadfdf57858a9d84b7c (diff)
Made progress on battery class.
Diffstat (limited to 'mainwindow.h')
-rw-r--r--mainwindow.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/mainwindow.h b/mainwindow.h
index 9fb7515..0add526 100644
--- a/mainwindow.h
+++ b/mainwindow.h
@@ -2,6 +2,8 @@
#define MAINWINDOW_H
#include <QMainWindow>
+#include <QSettings>
+#include "battery.h"
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
@@ -18,7 +20,14 @@ public:
private slots:
void on_spinBoxPeakSystemPower_valueChanged(double arg1);
+ void on_comboBoxBatteryChemistry_currentIndexChanged(int index);
+
+ void on_actionactionSettings_triggered();
+
private:
+ Battery m_battery;
+
Ui::MainWindow *ui;
+ void initializeGraphics(void);
};
#endif // MAINWINDOW_H