![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Records adding a layer to the canvas layer stack. More...
#include <mapundostack.h>
Public Member Functions | |
| AddLayerCommand (OpenSWMMVisLayer *layer, int position, MapCanvas *canvas, QUndoCommand *parent=nullptr) | |
| void | undo () override |
| void | redo () 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 |
Additional Inherited Members | |
Protected Attributes inherited from MapCommand | |
| MapCanvas * | m_canvas |
Records adding a layer to the canvas layer stack.
| AddLayerCommand::AddLayerCommand | ( | OpenSWMMVisLayer * | layer, |
| int | position, | ||
| MapCanvas * | canvas, | ||
| QUndoCommand * | parent = nullptr |
||
| ) |
|
override |
|
override |