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
hydrographgroupeditor.h File Reference
#include <QDialog>
#include <QPointer>
#include <QString>
Include dependency graph for hydrographgroupeditor.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  HydrographGroupEditor
 

Namespaces

namespace  QtCharts
 
namespace  openswmmvis
 
namespace  openswmmvis::ui
 

Detailed Description

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

Slice BS Phase 6.9.2 — Unit-hydrograph editor dialog.

Three-pane non-modal editor for [HYDROGRAPHS] / [RDII_DECAY] data:

  • Pane 1: groups list (QListView bound to HydrographGroupListModel) with a toolbar of New / Delete / Rename actions and a search field over a QSortFilterProxyModel.
  • Pane 2: name label + rain-gage combo + season combo + tab widget with two QTableViews (RTK + Initial Abstraction). Both tables are bound to HydrographRtkTableModel / HydrographIaTableModel + HydrographDecayTableModel.
  • Pane 3: live UH preview plot (three filled triangles + a composite summation series). Uses InteractiveChartView for standard rubber-band zoom + wheel zoom + pan + reset-to-extent.

The dialog is pure view code — it owns no engine state. All mutations route through SWMMModelLayer::applyHydrograph* / applyRdiiDecay* helpers and rely on the layer's hydrographChanged(uhName) signal to keep every subscribed view (this editor, Object Browser, SWMMHydrographPropertyAdapter, NodeCompoundEditDialog's UH picker) synchronized.

Non-modal — matches the ProfileOptionsDialog convention so the user can keep the editor open while clicking around the network for calibration context. Geometry + splitter sizes persist via QSettings.

See: docs/GUI_IMPLEMENTATION_PLAN.md Slice BS Phase 6.9.2.