![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
#include <ilayerstylesubject.h>
Public Member Functions | |
| LayerStyleSubject (QString title, QObject *propertyObject, QString routingId={}, QString section={}) | |
| QString | title () const override |
| QString | section () const override |
| QString | routingId () const override |
| QObject * | propertyObject () const override |
Public Member Functions inherited from openswmmvis::ui::ILayerStyleSubject | |
| virtual | ~ILayerStyleSubject ()=default |
| virtual QJsonObject | snapshot () const |
| virtual void | restore (const QJsonObject &snapshot) |
Trivial concrete subject — title + propertyObject + optional routingId. Most layers can use this directly without writing a derived class.
|
inline |
|
inlineoverridevirtual |
The QObject whose Q_PROPERTYs drive the editor.
Implements openswmmvis::ui::ILayerStyleSubject.
|
inlineoverridevirtual |
Stable id for routing (right-click → "focus this tab"). For sublayer subjects this should match the sublayer id; for layer- level subjects, use a fixed slug like "general" / "rendering".
Reimplemented from openswmmvis::ui::ILayerStyleSubject.
|
inlineoverridevirtual |
Optional sub-section. When non-empty, subjects sharing a section get grouped into a single outer tab with sub-tabs inside.
Reimplemented from openswmmvis::ui::ILayerStyleSubject.
|
inlineoverridevirtual |
Tab title displayed in the dialog.
Implements openswmmvis::ui::ILayerStyleSubject.