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

Slice BQ Phase 6.7.4 — three-pane non-modal editor for SWMM transects. More...

#include <QDialog>
#include <QPointer>
Include dependency graph for transecteditordialog.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  openswmmvis::ui::TransectEditorDialog
 

Namespaces

namespace  openswmmvis
 
namespace  openswmmvis::transect
 
namespace  openswmmvis::ui
 

Detailed Description

Slice BQ Phase 6.7.4 — three-pane non-modal editor for SWMM transects.

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

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.