From 1321168cb22a76df96d747194fcb91863e4e0659 Mon Sep 17 00:00:00 2001 From: Joshua Drake Date: Sat, 19 Nov 2022 04:04:00 -0600 Subject: Added Wire Class. Program now has some functionality! --- mainwindow.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'mainwindow.h') diff --git a/mainwindow.h b/mainwindow.h index 0add526..359faf5 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -3,7 +3,10 @@ #include #include +#include +#include #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); -- cgit v1.2.3