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::transect::DeleteStationsCommand Class Reference

Remove one or more rows by index. Stores the removed (station, elevation) pairs so undo can reinstate them. More...

#include <transectundocommands.h>

Inheritance diagram for openswmmvis::transect::DeleteStationsCommand:
Collaboration diagram for openswmmvis::transect::DeleteStationsCommand:

Public Member Functions

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

Detailed Description

Remove one or more rows by index. Stores the removed (station, elevation) pairs so undo can reinstate them.

Constructor & Destructor Documentation

◆ DeleteStationsCommand()

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

Member Function Documentation

◆ redo()

void openswmmvis::transect::DeleteStationsCommand::redo ( )
override
Here is the call graph for this function:

◆ undo()

void openswmmvis::transect::DeleteStationsCommand::undo ( )
override
Here is the call graph for this function:

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