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
openswmmvis::ui::LandUseEditorDialog Class Reference

#include <landuseeditordialog.h>

Inheritance diagram for openswmmvis::ui::LandUseEditorDialog:
Collaboration diagram for openswmmvis::ui::LandUseEditorDialog:

Public Types

enum class  Mode {
  Edit ,
  CreateNew
}
 

Public Slots

void refreshPollutants ()
 

Public Member Functions

 LandUseEditorDialog (openswmmvis::landuse::LandUseRegistry *registry, SWMMModelLayer *layer, QWidget *parent=nullptr)
 
 ~LandUseEditorDialog () override
 
Mode mode () const noexcept
 
openswmmvis::landuse::LandUseProvidercurrentProvider () const noexcept
 
QListView * listView () const noexcept
 
LandUseListModellistModel () const noexcept
 
QLineEdit * nameEdit () const noexcept
 
BuildupTableModelbuildupModel () const noexcept
 
WashoffTableModelwashoffModel () const noexcept
 
void invokeNew ()
 
void trackPollutantRegistry (openswmmvis::pollutant::PollutantRegistry *registry)
 

Static Public Member Functions

static LandUseEditorDialogcreateNew (openswmmvis::landuse::LandUseRegistry *registry, SWMMModelLayer *layer, QWidget *parent=nullptr)
 
static QString pickLandUse (openswmmvis::landuse::LandUseRegistry *registry, SWMMModelLayer *layer, const QString &initialName, QWidget *parent=nullptr)
 

Member Enumeration Documentation

◆ Mode

Enumerator
Edit 
CreateNew 

Constructor & Destructor Documentation

◆ LandUseEditorDialog()

openswmmvis::ui::LandUseEditorDialog::LandUseEditorDialog ( openswmmvis::landuse::LandUseRegistry registry,
SWMMModelLayer layer,
QWidget *  parent = nullptr 
)
Here is the call graph for this function:

◆ ~LandUseEditorDialog()

openswmmvis::ui::LandUseEditorDialog::~LandUseEditorDialog ( )
overridedefault

Member Function Documentation

◆ buildupModel()

BuildupTableModel * openswmmvis::ui::LandUseEditorDialog::buildupModel ( ) const
inlinenoexcept

◆ createNew()

LandUseEditorDialog * openswmmvis::ui::LandUseEditorDialog::createNew ( openswmmvis::landuse::LandUseRegistry registry,
SWMMModelLayer layer,
QWidget *  parent = nullptr 
)
static

◆ currentProvider()

LandUseProvider * openswmmvis::ui::LandUseEditorDialog::currentProvider ( ) const
noexcept
Here is the caller graph for this function:

◆ invokeNew()

void openswmmvis::ui::LandUseEditorDialog::invokeNew ( )
Here is the caller graph for this function:

◆ listModel()

LandUseListModel * openswmmvis::ui::LandUseEditorDialog::listModel ( ) const
inlinenoexcept

◆ listView()

QListView * openswmmvis::ui::LandUseEditorDialog::listView ( ) const
inlinenoexcept

◆ mode()

Mode openswmmvis::ui::LandUseEditorDialog::mode ( ) const
inlinenoexcept

◆ nameEdit()

QLineEdit * openswmmvis::ui::LandUseEditorDialog::nameEdit ( ) const
inlinenoexcept

◆ pickLandUse()

QString openswmmvis::ui::LandUseEditorDialog::pickLandUse ( openswmmvis::landuse::LandUseRegistry registry,
SWMMModelLayer layer,
const QString &  initialName,
QWidget *  parent = nullptr 
)
static
Here is the call graph for this function:

◆ refreshPollutants

void openswmmvis::ui::LandUseEditorDialog::refreshPollutants ( )
slot

Re-dimension the Buildup/Washoff rows after the pollutant set changed (add/remove/rename).

Here is the call graph for this function:
Here is the caller graph for this function:

◆ trackPollutantRegistry()

void openswmmvis::ui::LandUseEditorDialog::trackPollutantRegistry ( openswmmvis::pollutant::PollutantRegistry registry)

Follow registry so the Buildup/Washoff rows re-dimension live as pollutants are added/removed/renamed (wired by the launch site).

Here is the call graph for this function:

◆ washoffModel()

WashoffTableModel * openswmmvis::ui::LandUseEditorDialog::washoffModel ( ) const
inlinenoexcept

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