![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Slice AT.2 — transient map tool that lets the Comparison Plot Dialog harvest object picks from the canvas without leaving the dialog open. More...
#include "map/tools/maptool.h"#include "plot/plotattribute.h"#include "plot/resultdescriptor.h"#include <QStringList>#include "selection/selectionmanager.h"Go to the source code of this file.
Classes | |
| class | OpenSWMMVisMapToolPlotPick |
Slice AT.2 — transient map tool that lets the Comparison Plot Dialog harvest object picks from the canvas without leaving the dialog open.
Pushed onto the active canvas when the user toggles the dialog's "Add from Map…" toolbar action. Each left-click hit-tests the visible SWMM model layers, pops the AttributePickerMenu at the cursor, and emits objectPicked(SWMMObjectRef, PlotAttribute) for the chosen attribute. Stays active across clicks; Escape, or un-checking the dialog's toolbar action, pops the tool and restores the previous one.
Background-hit clicks (no object under cursor) emit plotSystemRequested(PlotAttribute) via the system-attribute submenu — same as OpenSWMMVisMapToolSelect::showContextMenu does on right-click.