![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Three-pane editor for SWMM inlet designs ([INLETS]). More...
Go to the source code of this file.
Classes | |
| class | openswmmvis::ui::InletEditorDialog |
Namespaces | |
| namespace | openswmmvis |
| namespace | openswmmvis::inlet |
| namespace | openswmmvis::ui |
Three-pane editor for SWMM inlet designs ([INLETS]).
Modelled on TransectEditorDialog (Inlets plan §2.2). Layout (left → right, a 1:3:3 QSplitter named "main" so the app-wide layout persistence picks it up):
┌────────────┬────────────────────────────┬────────────────────────┐ │ Inlets │ Name │ toolbar │ │ list view │ Description │ (Fit / Zoom / Copy / │ │ │ Inlet Type (combo) │ Export Image) │ │ [+ Add] │ Property tree — the │ InletDrawingView │ │ [- Delete]│ InletPropertyBag groups, │ (plan + section with │ │ │ filtered by type │ dimension callouts) │ └────────────┴────────────────────────────┴────────────────────────┘
MVC contract: every mutation goes through InletProvider / InletRegistry, wrapped in a QUndoCommand when the dialog has a QUndoStack (see inletundocommands.h); the list, the tree and the drawing all re-render from the provider's signals.
Entry points mirror the transect editor: createNew (modeless, starts on a fresh design), openForInlet (modeless, selects a design by name — used by the Object Browser), and the modal pickInlet used by the inlet-usage pickers, which additionally filters the list by the host conduit's cross-section shape.