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

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>
Include dependency graph for rastersymbologypanel.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  openswmmvis::ui::RasterSymbologyPanel
 

Namespaces

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

Detailed Description

Symbology tab content for a GISRasterLayer — the GIS-style raster renderer chooser (QGIS "Singleband pseudocolor" / "Paletted" / "Multiband colour") mounted by LayerStyleDialog.

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

┌ 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).