30#ifndef OPENSWMMVIS_TIMESERIES_TIMESERIESSERIESCOMMANDS_H
31#define OPENSWMMVIS_TIMESERIES_TIMESERIESSERIESCOMMANDS_H
36#include <QUndoCommand>
50 QVector<TimeseriesPoint> points,
53 QUndoCommand *
parent =
nullptr);
58 void *m_layer =
nullptr;
60 QVector<TimeseriesPoint> m_points;
62 QString m_description;
63 bool m_preexisting =
false;
72 QVector<TimeseriesPoint> newPoints,
73 QString newDescription,
74 QUndoCommand *
parent =
nullptr);
79 void apply(
const QVector<TimeseriesPoint> &
pts,
const QString &desc);
81 void *m_layer =
nullptr;
83 QVector<TimeseriesPoint> m_newPoints, m_oldPoints;
84 QString m_newDescription, m_oldDescription;
85 bool m_captured =
false;
94 QUndoCommand *
parent =
nullptr);
99 void *m_layer =
nullptr;
101 QVector<TimeseriesPoint> m_points;
102 QString m_unitsLabel;
103 QString m_description;
104 bool m_captured =
false;
Create an inline series and flush it to the engine.
Definition timeseriesseriescommands.h:43
void undo() override
Definition timeseriesseriescommands.cpp:104
void redo() override
Definition timeseriesseriescommands.cpp:79
Delete a series from both the registry and the engine.
Definition timeseriesseriescommands.h:90
void redo() override
Definition timeseriesseriescommands.cpp:179
void undo() override
Definition timeseriesseriescommands.cpp:199
Replace every point (and the description) of an existing series.
Definition timeseriesseriescommands.h:68
void undo() override
Definition timeseriesseriescommands.cpp:163
void redo() override
Definition timeseriesseriescommands.cpp:146
QVector< QPointF > pts
Definition meshpatch.cpp:62
Definition timeseriesprovider.h:34
QVector< int > parent
union-find
Definition pslgminsize.cpp:176
QString name
Definition sectionmodelbuilders.cpp:474
Slice BQ Phase 6.7.3.1 — MVC model for a single Tseries.