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
categorizedrendererpanel.cpp File Reference

IRendererPanel implementation for the "Categorized" renderer class. Slice X.4 follow-up — completes the categorized leg that previously surfaced as an empty stub. More...

#include "ui/dialogs/irendererpanel.h"
#include "layers/openswmmvislayer.h"
#include "layers/swmmmodellayer.h"
#include "layers/swmmresultslayer.h"
#include "render/ifeaturerenderer.h"
#include "render/iattributeprovider.h"
#include "render/renderers/categorizedrenderer.h"
#include "render/rule.h"
#include "render/sublayers/feature/featuresublayer.h"
#include "render/symbolstyle.h"
#include "ui/widgets/dashstylecombo.h"
#include "ui/widgets/markershapecombo.h"
#include "ui/theme/iconfactory.h"
#include <QColor>
#include <QColorDialog>
#include <QComboBox>
#include <QDialog>
#include <QDialogButtonBox>
#include <QDoubleSpinBox>
#include <QEvent>
#include <QFormLayout>
#include <QGroupBox>
#include <QHBoxLayout>
#include <QHeaderView>
#include <QLabel>
#include <QPainter>
#include <QPushButton>
#include <QSet>
#include <QSignalBlocker>
#include <QStandardItem>
#include <QStandardItemModel>
#include <QStyledItemDelegate>
#include <QTableView>
#include <QToolButton>
#include <QVBoxLayout>
Include dependency graph for categorizedrendererpanel.cpp:

Namespaces

namespace  openswmmvis
 
namespace  openswmmvis::ui
 

Detailed Description

IRendererPanel implementation for the "Categorized" renderer class. Slice X.4 follow-up — completes the categorized leg that previously surfaced as an empty stub.

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

Layout (QGIS-aligned):

  • Attribute combo (picks the classifyAttribute on the renderer)
  • Categories table : Value | Label | Colour
  • Buttons : Sample unique values / Add / Remove / Reset

Every edit writes through setKindRenderer(category, clone) on the host so the layer's rebuildKindFeatureOverrides repaints the scene and the legend refreshes — single source of truth, MVC all the way down.