SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
ClimatologyDialog Class Reference

Modal editor for the model climatology configuration. More...

#include <climatologydialog.h>

Inheritance diagram for ClimatologyDialog:
Collaboration diagram for ClimatologyDialog:

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)
 

Detailed Description

Modal editor for the model climatology configuration.

Member Enumeration Documentation

◆ Tab

Tab indices (legacy order).

Enumerator
TabTemperature 
TabEvaporation 
TabWind 
TabHumidity 
TabSnowMelt 
TabArealDepletion 
TabAdjustments 

Constructor & Destructor Documentation

◆ ClimatologyDialog()

ClimatologyDialog::ClimatologyDialog ( SWMM_Engine  engine,
SWMMModelLayer layer = nullptr,
QWidget *  parent = nullptr 
)
explicit

◆ ~ClimatologyDialog()

ClimatologyDialog::~ClimatologyDialog ( )
overridedefault

Member Function Documentation

◆ setCurrentTab()

void ClimatologyDialog::setCurrentTab ( int  idx)

Select the tab a toolbar button maps to.

◆ setProjectAnchor()

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.

Here is the call graph for this function:

◆ wroteAnyChanges()

bool ClimatologyDialog::wroteAnyChanges ( ) const
inline

True after OK wrote at least one changed value.


The documentation for this class was generated from the following files: