Insert one point. Stores the time so undo can locate the inserted row.
More...
#include <timeseriesundocommands.h>
Insert one point. Stores the time so undo can locate the inserted row.
◆ InsertPointCommand()
| openswmmvis::timeseries::InsertPointCommand::InsertPointCommand |
( |
TimeseriesProvider * |
provider, |
|
|
QDateTime |
time, |
|
|
double |
value, |
|
|
QUndoCommand * |
parent = nullptr |
|
) |
| |
◆ insertedIndex()
| int openswmmvis::timeseries::InsertPointCommand::insertedIndex |
( |
| ) |
const |
|
inlinenoexcept |
Index of the inserted point after redo. -1 until first redo, or if redo was rejected.
◆ redo()
| void openswmmvis::timeseries::InsertPointCommand::redo |
( |
| ) |
|
|
override |
◆ undo()
| void openswmmvis::timeseries::InsertPointCommand::undo |
( |
| ) |
|
|
override |
The documentation for this class was generated from the following files: