blob: 0add526fc3a297bab7a3e5ef170da53b56f96e40 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QSettings>
#include "battery.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_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
|