SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
openswmmvis::timeseries::DeletePointsCommand Class Reference

Delete a set of points. Stores (time, value) for each so undo can reinstate them. More...

#include <timeseriesundocommands.h>

Inheritance diagram for openswmmvis::timeseries::DeletePointsCommand:
Collaboration diagram for openswmmvis::timeseries::DeletePointsCommand:

Public Member Functions

 DeletePointsCommand (TimeseriesProvider *provider, QVector< int > indices, QUndoCommand *parent=nullptr)
 
void undo () override
 
void redo () override
 

Detailed Description

Delete a set of points. Stores (time, value) for each so undo can reinstate them.

Constructor & Destructor Documentation

◆ DeletePointsCommand()

openswmmvis::timeseries::DeletePointsCommand::DeletePointsCommand ( TimeseriesProvider provider,
QVector< int >  indices,
QUndoCommand *  parent = nullptr 
)
Here is the call graph for this function:

Member Function Documentation

◆ redo()

void openswmmvis::timeseries::DeletePointsCommand::redo ( )
override
Here is the call graph for this function:

◆ undo()

void openswmmvis::timeseries::DeletePointsCommand::undo ( )
override
Here is the call graph for this function:

The documentation for this class was generated from the following files: