![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Slice BQ Phase 6.7.4 — three-pane non-modal editor for SWMM transects. More...
#include <QDialog>#include <QPointer>Go to the source code of this file.
Classes | |
| class | openswmmvis::ui::TransectEditorDialog |
Namespaces | |
| namespace | openswmmvis |
| namespace | openswmmvis::transect |
| namespace | openswmmvis::ui |
Slice BQ Phase 6.7.4 — three-pane non-modal editor for SWMM transects.
Layout (left → right):
┌──────────────┬──────────────────────────────┬────────────────────────┐ │ Transects │ Name (QLineEdit) │ Cross-section chart │ │ list view │ Comments (QTextEdit, rich) │ • ground fill │ │ │ ──── │ • overbank line │ │ [+ New] │ Roughness (QPropertyModel)│ • channel line │ │ [- Delete] │ Bank St. " " │ • bank markers │ │ │ Encroach. " " │ • drag handles │ │ │ Modifiers " " │ ──── │ │ │ ──── │ Toolbar: zoom-extent, │ │ │ Station table │ zoom in/out, pan, │ │ │ [+ Add] [− Delete] │ edit-points, copy, │ │ │ │ properties… │ └──────────────┴──────────────────────────────┴────────────────────────┘
MVC contract — every mutation goes through TransectProvider (or via the SWMMModelLayer apply helpers when a layer is bound). Subscribed signals keep the list, the property tree, the station table, and the chart in lock-step.
Right-click on the chart pops a context menu whose "Chart properties…" entry opens a QPropertyModel-backed editor over the TransectChartView's Q_PROPERTY surface (overbank/channel/ground-fill colours, handle size, handles-visible).
Per Slice BM.0-Add-New the dialog exposes a static createNew(...) factory used by the Object Browser Add-New dispatch.