Records a change to a subcatchment's polygon vertices.
More...
#include <mapundostack.h>
|
| | EditSubcatchCommand (SWMMModelLayer *layer, int catchIdx, QVector< QPointF > oldVertices, QVector< QPointF > newVertices, double oldArea, double newArea, bool applyArea, MapCanvas *canvas, QUndoCommand *parent=nullptr) |
| |
| void | undo () override |
| |
| void | redo () override |
| |
| int | id () const override |
| |
Public Member Functions inherited from MapCommand |
| | MapCommand (const QString &text, MapCanvas *canvas, QUndoCommand *parent=nullptr) |
| | Constructs a map command with a human-readable text.
|
| |
| MapCanvas * | canvas () const |
| |
Records a change to a subcatchment's polygon vertices.
◆ EditSubcatchCommand()
| EditSubcatchCommand::EditSubcatchCommand |
( |
SWMMModelLayer * |
layer, |
|
|
int |
catchIdx, |
|
|
QVector< QPointF > |
oldVertices, |
|
|
QVector< QPointF > |
newVertices, |
|
|
double |
oldArea, |
|
|
double |
newArea, |
|
|
bool |
applyArea, |
|
|
MapCanvas * |
canvas, |
|
|
QUndoCommand * |
parent = nullptr |
|
) |
| |
◆ id()
| int EditSubcatchCommand::id |
( |
| ) |
const |
|
inlineoverride |
◆ redo()
| void EditSubcatchCommand::redo |
( |
| ) |
|
|
override |
◆ undo()
| void EditSubcatchCommand::undo |
( |
| ) |
|
|
override |
The documentation for this class was generated from the following files: