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

Slice BB Phase 8.6.16 — modeless QPropertyModel-backed editor for a shared LegendOverlayStyle. More...

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

Go to the source code of this file.

Classes

class  openswmmvis::ui::LegendPropertiesDialog
 

Namespaces

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

Detailed Description

Slice BB Phase 8.6.16 — modeless QPropertyModel-backed editor for a shared LegendOverlayStyle.

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

Opened from LegendOverlay's right-click context menu. The dialog does not own the style — it edits the shared model that the legend overlay (and, eventually, the LegendDock and any other legend surface) all subscribe to via Qt signals. Edits are live; Reset reverts to defaults; Cancel reverts to the snapshot captured at construction time.

Properties are grouped visually via the model's displayLabelFor() hook (prefixed labels "General — …", "Frame — …", "Background — …"). Per-class theming for individual legend items lives on each layer's IFeatureRenderer and is edited from the context menu directly — not in this dialog.