![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
QWidget host that paints one SectionDiagramModel. More...
Go to the source code of this file.
Classes | |
| class | openswmmvis::sectionview::SectionPreviewWidget |
Namespaces | |
| namespace | openswmmvis |
| namespace | openswmmvis::sectionview |
QWidget host that paints one SectionDiagramModel.
Slice SP.2 (workplans/SECTION_PREVIEW_WORKPLAN.md).
Deliberately dumb: it owns a model, repaints when the model is replaced, and nothing else. Every surface that shows a section diagram — the Section View dock, the cross-section editor, the LID editor — hosts one of these and feeds it from its own builder, so the drawing code exists once.
Follows the StreetSectionPreview / StylePreviewSwatch idiom already in the codebase (plain QWidget + paintEvent, palette-driven colours).