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

Renderer-mode chooser + classification controls (Slice S2+S5). More...

#include "layers/swmm_category.h"
#include <QWidget>
#include <memory>
Include dependency graph for kindrendererpanel.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  openswmmvis::ui::KindRendererPanel
 

Namespaces

namespace  OpenSWMM
 
namespace  OpenSWMM::Render
 
namespace  openswmmvis
 
namespace  openswmmvis::ui
 

Detailed Description

Renderer-mode chooser + classification controls (Slice S2+S5).

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
    Embedded in each FeatureStyleEditor below the basic single-symbol
    controls. Lets the user override the per-kind paint with a
    GraduatedRenderer or CategorizedRenderer.

    Slice US.1 (UNIFIED_STYLING plan S1): the graduated classification
    block (ramp / method / classes / range mode / breaks table /
    auto-classify) now lives in the SHARED ClassificationEditor, driven
    here by a GraduatedRendererBinding. This panel keeps the 1D-specific
    glue: the mode chooser, the IAttributeProvider-backed attribute
    picker, the archetype-gated output-axis row (size/width by value),
    and the Categorized branch. The same editor drives the 2D results /
    mesh sublayers, so similar attributes get identical UI.

    The widget owns no model state — every edit routes back through
    hostLayer->setKindRenderer(category, ...) (or Rule::setRenderer)
    which fires the layer's repaintRequested. Cancel rollback is handled
    at the dialog level via the ILayerStyleSubject snapshot.