![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Slice US.1 (UNIFIED_STYLING plan S1) — the one classification editor shared by every classified visual. More...
Go to the source code of this file.
Classes | |
| class | openswmmvis::ui::ClassificationEditor |
Namespaces | |
| namespace | openswmmvis |
| namespace | openswmmvis::ui |
Slice US.1 (UNIFIED_STYLING plan S1) — the one classification editor shared by every classified visual.
Extracted from KindRendererPanel's graduated box so the 1D per-kind GraduatedRenderer, the 2D depth fill / contour bands / isolines, and the mesh elevation fill all expose the SAME ArcGIS-Pro-style controls:
┌─ Classification ─────────────────────────────┐ │ [○ Continuous ● Classified] (optional) │ │ Attribute: [ depth ▾ ] (optional) │ │ Colour ramp: [ ▒▒▒ Viridis ▾ ] [ ] Invert │ │ Method: [ Equal interval ▾ ] Classes: 5 │ │ Range: [ Fixed over run ▾ ] (optional) │ │ [ ] Custom range Min ____ Max ____ (opt.) │ │ ┌─────────────────────────────────────────┐ │ │ │ Lower Upper Colour Label │ │ │ └─────────────────────────────────────────┘ │ │ [Auto-classify from data] │ └──────────────────────────────────────────────┘
The editor owns no model state — it talks to an IClassificationBinding. Every edit calls binding->setScheme(), which routes through the model's normal change channel so all views repaint. The host re-shows the editor against the live model via refresh() (e.g. after a Cancel rollback).