![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Unified, multitab styling dialog for every OpenSWMMVisLayer. More...
#include <QDialog>#include <QFlags>#include <QJsonObject>#include <QPointer>#include <QString>#include <memory>#include <vector>Go to the source code of this file.
Classes | |
| class | openswmmvis::ui::LayerStyleDialog |
Namespaces | |
| namespace | openswmmvis |
| namespace | openswmmvis::ui |
Enumerations | |
| enum class | openswmmvis::ui::LayerCapability : unsigned int { openswmmvis::ui::Information = 1u << 0 , openswmmvis::ui::Source = 1u << 1 , openswmmvis::ui::Symbology = 1u << 2 , openswmmvis::ui::Labels = 1u << 3 , openswmmvis::ui::Rendering = 1u << 4 , openswmmvis::ui::Metadata = 1u << 5 } |
| Which tabs apply to a given layer type. More... | |
Functions | |
| LayerCapabilities | openswmmvis::ui::layerCapabilities (OpenSWMMVisLayer *layer) |
Unified, multitab styling dialog for every OpenSWMMVisLayer.
Slice X.1 — refactored to a QGIS-aligned fixed tab set with a
vertical sidebar (`tabPosition = West`). The dialog hosts six
tabs in canonical QGIS order — Information / Source / Symbology
/ Labels / Rendering / Metadata — and shows only the ones the
current layer type supports per `layerCapabilities()`.
Apply / OK / Cancel buttons buffer edits — Cancel rolls back
every subject and the General/Rendering snapshot.
Entry points:
- Layer-tree right-click → Properties (any layer)
- Legend dock right-click → Edit Style (sublayer rows)
- Kind-row right-click → Properties (focused on kind)
The optional \p initialRoutingId focuses the Symbology tab on
the matching kind / sublayer when launched from a sub-row
context menu.