![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Modal editor for the model climatology configuration. More...
#include <climatologydialog.h>
Public Types | |
| enum | Tab { TabTemperature = 0 , TabEvaporation = 1 , TabWind = 2 , TabHumidity = 3 , TabSnowMelt = 4 , TabArealDepletion = 5 , TabAdjustments = 6 } |
Public Member Functions | |
| ClimatologyDialog (SWMM_Engine engine, SWMMModelLayer *layer=nullptr, QWidget *parent=nullptr) | |
| ~ClimatologyDialog () override=default | |
| bool | wroteAnyChanges () const |
| void | setCurrentTab (int idx) |
| void | setProjectAnchor (const QString &dir) |
Modal editor for the model climatology configuration.
|
explicit |
|
overridedefault |
| void ClimatologyDialog::setCurrentTab | ( | int | idx | ) |
Select the tab a toolbar button maps to.
| void ClimatologyDialog::setProjectAnchor | ( | const QString & | dir | ) |
Directory of the project's .inp, used to show and commit the climate file relative to the project. Set by the caller, which knows the model layer — deriving it here would drag SWMMModelLayer's implementation into every target that links this dialog. Empty = absolute paths.
|
inline |
True after OK wrote at least one changed value.