![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Symbology tab content for a GISRasterLayer — the GIS-style raster renderer chooser (QGIS "Singleband pseudocolor" / "Paletted" / "Multiband colour") mounted by LayerStyleDialog. More...
#include <QPointer>#include <QWidget>Go to the source code of this file.
Classes | |
| class | openswmmvis::ui::RasterSymbologyPanel |
Namespaces | |
| namespace | OpenSWMM |
| namespace | OpenSWMM::Render |
| namespace | openswmmvis |
| namespace | openswmmvis::ui |
Symbology tab content for a GISRasterLayer — the GIS-style raster renderer chooser (QGIS "Singleband pseudocolor" / "Paletted" / "Multiband colour") mounted by LayerStyleDialog.
┌ Renderer: [ Singleband pseudocolor ▾ ] ─────────────────┐ │ Source Render band [1] NoData: -9999 │ │ ┌ page ──────────────────────────────────────────────┐ │ │ │ Graduated: shared ClassificationEditor (Continuous │ │ │ │ / Classified, ramp + invert, method, classes, │ │ │ │ custom range, class table, Auto-classify) │ │ │ │ [ ] Clip out-of-range values │ │ │ │ Paletted: palette combo, Value/Label/Colour table, │ │ │ │ Classify unique values · Load colour table · + − │ │ │ │ Multiband: R / G / B / A band spins │ │ │ └────────────────────────────────────────────────────┘ │ │ Hillshade relief (graduated only) │ └──────────────────────────────────────────────────────────┘
Every control writes live into the layer's IRasterRenderer and calls GISRasterLayer::notifyRasterRendererEdited() (or installs a fresh renderer via setRasterRenderer), so the canvas + legend repaint immediately. The constructor is read-only: the dialog snapshots the layer before building tabs, and Cancel / undo restore through StyleFileIO — the panel re-syncs from rasterRendererChanged (queued, so an edit never re-enters the editor that pushed it).