summaryrefslogtreecommitdiff
path: root/mainwindow.h
diff options
context:
space:
mode:
authorJoshua Drake <joshua.ellis.drake@gmail.com>2022-11-19 04:04:00 -0600
committerJoshua Drake <joshua.ellis.drake@gmail.com>2022-11-19 04:04:00 -0600
commit1321168cb22a76df96d747194fcb91863e4e0659 (patch)
tree772cc08ae6c85bd1a8b527509c3dd88bcc5600dc /mainwindow.h
parent1ed60cd00cd9fdcc45dab1f81e00dd723858a430 (diff)
Added Wire Class. Program now has some functionality!
Diffstat (limited to 'mainwindow.h')
-rw-r--r--mainwindow.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/mainwindow.h b/mainwindow.h
index 0add526..359faf5 100644
--- a/mainwindow.h
+++ b/mainwindow.h
@@ -3,7 +3,10 @@
#include <QMainWindow>
#include <QSettings>
+#include <QString>
+#include <QComboBox>
#include "battery.h"
+#include "wire.h"
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
@@ -24,8 +27,15 @@ private slots:
void on_actionactionSettings_triggered();
+ void on_comboBoxWireMaterial_currentIndexChanged(int index);
+
+ void on_doubleSpinBoxSystemVoltage_valueChanged(double arg1);
+
+ void on_doubleSpinBoxEstimatedWireLength_valueChanged(double arg1);
+
private:
Battery m_battery;
+ Wire m_wire;
Ui::MainWindow *ui;
void initializeGraphics(void);