Records reordering one sublayer inside an ISublayerHost layer's paint stack (Slice LTR-2026-09-19). Applies through MapCanvas::moveSublayer(host, from, to, pushUndo = false) so the canvas emits sublayerOrderChanged() on both redo and undo.
More...
#include <mapundostack.h>
Records reordering one sublayer inside an ISublayerHost layer's paint stack (Slice LTR-2026-09-19). Applies through MapCanvas::moveSublayer(host, from, to, pushUndo = false) so the canvas emits sublayerOrderChanged() on both redo and undo.
◆ MoveSublayerCommand()
| MoveSublayerCommand::MoveSublayerCommand |
( |
OpenSWMMVisLayer * |
host, |
|
|
int |
fromIndex, |
|
|
int |
toIndex, |
|
|
MapCanvas * |
canvas, |
|
|
QUndoCommand * |
parent = nullptr |
|
) |
| |
◆ redo()
| void MoveSublayerCommand::redo |
( |
| ) |
|
|
override |
◆ undo()
| void MoveSublayerCommand::undo |
( |
| ) |
|
|
override |
The documentation for this class was generated from the following files: