![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Slice BQ Phase 6.7.3.1 — QUndoCommand subclasses for TimeseriesProvider. More...
#include "timeseries/timeseriesprovider.h"#include <QDateTime>#include <QString>#include <QUndoCommand>#include <QVector>Go to the source code of this file.
Classes | |
| class | openswmmvis::timeseries::SetPointValueCommand |
| Change one point's value. Time unchanged → monotonicity preserved. More... | |
| class | openswmmvis::timeseries::MovePointCommand |
| Change both time and value at an existing index. The provider refuses if the new time would break strict-ascending order. More... | |
| class | openswmmvis::timeseries::InsertPointCommand |
| Insert one point. Stores the time so undo can locate the inserted row. More... | |
| class | openswmmvis::timeseries::DeletePointsCommand |
| Delete a set of points. Stores (time, value) for each so undo can reinstate them. More... | |
| class | openswmmvis::timeseries::BulkTransformCommand |
| Replace the entire point list (used by rotate / scale bulk transforms). The caller must pre-validate that newPoints is strictly ascending; the provider also validates and will refuse otherwise. More... | |
| class | openswmmvis::timeseries::RenameTimeseriesCommand |
| Rename the Tseries. Cascading reference rewrites in dependent objects (inflows, rain gages, controls) are wired by the registry layer — see Phase 6.7.3.2. More... | |
| class | openswmmvis::timeseries::ChangeSourceModeCommand |
| Flip the source mode (Inline ↔ ExternalFile ↔ GeopackageObserved). Storage migration (reading file rows into inline points, writing inline points to gpkg) is the source-mode-card's responsibility — this command records only the mode flip. More... | |
| class | openswmmvis::timeseries::SetTimeModeCommand |
| Switch the series between Absolute (dated) and Relative (elapsed-from-simulation-start) time modes. The prior state is captured exactly — count, anchor and the sticky all-relative intent — so undoing from a loaded Mixed series restores Mixed, not merely Absolute. More... | |
Namespaces | |
| namespace | openswmmvis |
| namespace | openswmmvis::timeseries |
Slice BQ Phase 6.7.3.1 — QUndoCommand subclasses for TimeseriesProvider.
Each command operates on a single non-owning TimeseriesProvider*. Commands are pushed onto the project's main QUndoStack so a single Cmd-Z unwinds across the editor grid, the editor plot, and any open property panel uniformly (the views all subscribe to the provider's signals and re-render on apply).
Drag-edit batching uses the provider's setValueLive for in-flight updates (no undo push) and issues a single SetPointValueCommand on release. See the dialog's chart subclass in Phase 6.7.3.5.