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
qualityfunctiontablemodels.h File Reference

Table models for the unified Land Use editor's Buildup and Washoff tabs (iteration 4). More...

#include <QAbstractTableModel>
#include <QStringList>
#include <QStyledItemDelegate>
Include dependency graph for qualityfunctiontablemodels.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  openswmmvis::ui::QualityFunctionTableModel
 Shared base: pollutant rows + one bound (engine, land use) target. More...
 
class  openswmmvis::ui::BuildupTableModel
 
class  openswmmvis::ui::WashoffTableModel
 
class  openswmmvis::ui::EnumComboDelegate
 

Namespaces

namespace  openswmmvis
 
namespace  openswmmvis::ui
 

Detailed Description

Table models for the unified Land Use editor's Buildup and Washoff tabs (iteration 4).

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
Date
2026
License\n GPL-3.0-or-later

Rows are the engine's pollutants; columns are the [BUILDUP]/[WASHOFF] function parameters for one selected land use. Cells read and write the engine directly (swmm_buildup_get/set, swmm_washoff_get/set) — apply-as-you-go, matching the compound-edit dialogs. Call refresh() after the pollutant set or the bound land use changes; rows re-dimension automatically ("sections dynamically added/removed").

EXT-buildup guard: when the function is EXT, coefficient C3 holds a time-series TABLE INDEX, not a number (see QualityHandler.cpp) — the cell is read-only with an explanatory tooltip so a numeric edit can never corrupt it.