![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
#include <QPointer>#include <QWidget>Go to the source code of this file.
Classes | |
| class | openswmmvis::ui::FeatureLayerPanel |
Namespaces | |
| namespace | openswmmvis |
| namespace | openswmmvis::ui |
The Features dock: pick the edit target, edit the schema, edit the Z policy (workplans/MESH_DIALOG_TABS_AND_FEATURE_LAYERS_PLAN_2026-09-07.md §5.3).
This is a VIEW in the CLAUDE.md §5.1 sense. It never touches OGR and never calls a FeatureLayer setter that bypasses the undo stack: schema edits go through AddFieldCommand / RemoveFieldCommand and the resample goes through ResampleZCommand, so the same edit is undoable whether it was made here, on the map, or in the attribute table. It rebuilds itself from the layer's featuresChanged / schemaChanged / zPolicyChanged signals and from the canvas's layerAdded / layerRemoved.
The selected layer is the EDIT TARGET: the drawing and editing tools all read it from here, which is why selecting a layer is a first-class action rather than a side effect of the layer tree's selection.