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

Always-open layer-styling dock (Slice Z.18). More...

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

Go to the source code of this file.

Classes

class  openswmmvis::ui::LayerStylingDock
 

Namespaces

namespace  openswmmvis
 
namespace  openswmmvis::ui
 

Detailed Description

Always-open layer-styling dock (Slice Z.18).

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
    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.