38#ifndef OPENSWMM_UI_DIALOGS_HEATCONFIGDIALOG_H
39#define OPENSWMM_UI_DIALOGS_HEATCONFIGDIALOG_H
41#include <openswmm/engine/openswmm_engine.h>
89 void onRemoveOverride();
93 void readFromEngine();
102 bool m_wroteAnyChanges =
false;
103 int m_lastWriteCount = 0;
104 QTabWidget *m_tabs =
nullptr;
107 QTableWidget *m_sourceTable =
nullptr;
108 QTableWidget *m_overrideTable =
nullptr;
111 QCheckBox *m_modules[3] = {
nullptr,
nullptr,
nullptr };
114 QRadioButton *m_swConstant =
nullptr;
115 QRadioButton *m_swTimeseries =
nullptr;
116 QRadioButton *m_swComputed =
nullptr;
117 QDoubleSpinBox *m_swConstSpin =
nullptr;
118 QComboBox *m_swTsCombo =
nullptr;
121 QString m_swTsInitial;
122 QString m_cloudTsInitial;
123 QDoubleSpinBox *m_radSpin[8] = {};
126 QDoubleSpinBox *m_solarSpin[9] = {};
129 QCheckBox *m_cloudEnable =
nullptr;
130 QDoubleSpinBox *m_cloudSpin[4] = {};
131 QComboBox *m_cloudTsCombo =
nullptr;
Editor for [HEAT_SOURCES], [HEAT_FLUXES] and the H6a radiative / solar / cloud configuration.
Definition heatconfigdialog.h:61
Tab
Definition heatconfigdialog.h:66
@ TabSolar
Definition heatconfigdialog.h:70
@ TabCloud
Definition heatconfigdialog.h:71
@ TabRadiative
Definition heatconfigdialog.h:69
@ TabFluxes
Definition heatconfigdialog.h:68
@ TabSources
Definition heatconfigdialog.h:67
void setCurrentTab(int idx)
Select the tab a menu action maps to (see Tab).
Definition heatconfigdialog.cpp:130
bool wroteAnyChanges() const
True once OK has written at least one change to the engine.
Definition heatconfigdialog.h:78
~HeatConfigDialog() override=default
int lastWriteCount() const
Number of engine writes the last OK performed (test hook).
Definition heatconfigdialog.h:84
Definition gwsourcesummary.h:21
void * SWMM_Engine
Definition objectdefaultsapplier.h:19
QVector< int > parent
union-find
Definition pslgminsize.cpp:176