![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Always-open layer-styling dock (Slice Z.18). More...
#include <QDockWidget>#include <QPointer>Go to the source code of this file.
Classes | |
| class | openswmmvis::ui::LayerStylingDock |
Namespaces | |
| namespace | openswmmvis |
| namespace | openswmmvis::ui |
Always-open layer-styling dock (Slice Z.18).
RENDERING_RULE_MODEL_PLAN.md §13 — a docked, non-modal variant
of the LayerStyleDialog's Symbology tab. Lives in the main
window so users can leave it open and edit a layer's styling
while panning / zooming the map.
Live preview is automatic — the Rule Model's signal cascade
(Rule::rendererReplaced → layer's render path → canvas
repaint) already drives the map on every edit. The dock just
hosts the editor widget; no extra "apply" plumbing is needed.
When the active layer has no RuleList (e.g. basemap / WMS),
the dock shows a placeholder message instead of swapping in
an empty editor.