#include <comparisonplotdialog.h>
|
| void | addFromMapToggled (bool active) |
| | Slice AT.2 — emitted when the user toggles the "Add from Map…" toolbar action. The dialog itself doesn't know about the canvas; SWMMVis owns the MapToolPlotPick lifecycle.
|
| |
◆ ComparisonPlotDialog()
| openswmmvis::ui::ComparisonPlotDialog::ComparisonPlotDialog |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
◆ ~ComparisonPlotDialog()
| openswmmvis::ui::ComparisonPlotDialog::~ComparisonPlotDialog |
( |
| ) |
|
|
overridedefault |
◆ addCellSeries()
| int openswmmvis::ui::ComparisonPlotDialog::addCellSeries |
( |
int |
runIndex, |
|
|
const QVector< int > & |
triIdxList, |
|
|
const QVector< openswmmvis::plot::PlotAttribute > & |
attributes |
|
) |
| |
CF.3 — add per-cell series for the supplied attribute list. Returns the count of series successfully added.
◆ addFromMapToggled
| void openswmmvis::ui::ComparisonPlotDialog::addFromMapToggled |
( |
bool |
active | ) |
|
|
signal |
Slice AT.2 — emitted when the user toggles the "Add from Map…" toolbar action. The dialog itself doesn't know about the canvas; SWMMVis owns the MapToolPlotPick lifecycle.
◆ addSeries() [1/2]
Y2b-2 (amendment D-Y4): descriptor-shaped overload — a fixed attribute or a species BY NAME. The enum overload above forwards here.
◆ addSeries() [2/2]
Convenience helper: add a series in one call. Returns the new series index, or -1 on failure.
◆ ensureRunSourceForLayer()
| int openswmmvis::ui::ComparisonPlotDialog::ensureRunSourceForLayer |
( |
::SWMMResultsLayer * |
layer, |
|
|
bool |
makeBaseline = false |
|
) |
| |
Convenience helper: add a 1D RunSource for the given results layer (or update the existing one if already added) and return its run index.
◆ ensureRunSourceForMeshLayer()
| int openswmmvis::ui::ComparisonPlotDialog::ensureRunSourceForMeshLayer |
( |
::SWMM2DResultsLayer * |
layer | ) |
|
CF.3 — add a 2D RunSource for the given mesh results layer (or return the existing one) and return its run index.
◆ model()
Underlying model — exposed so callers (Object Browser wiring, CF.3's openComparisonPlotForCells) can add runs/series directly.
◆ setAddFromMapChecked()
| void openswmmvis::ui::ComparisonPlotDialog::setAddFromMapChecked |
( |
bool |
checked | ) |
|
Slice AT.2 — programmatically set the Add-from-Map toolbar action's checked state. Used by SWMMVis when the user cancels the pick tool via Escape (so the toolbar button un-toggles).
The documentation for this class was generated from the following files: