Records an extent change (pan or zoom) for undo/redo.
More...
#include <mapundostack.h>
Records an extent change (pan or zoom) for undo/redo.
◆ PanZoomCommand()
| PanZoomCommand::PanZoomCommand |
( |
const MapExtent & |
oldExtent, |
|
|
const MapExtent & |
newExtent, |
|
|
MapCanvas * |
canvas, |
|
|
QUndoCommand * |
parent = nullptr |
|
) |
| |
◆ id()
| int PanZoomCommand::id |
( |
| ) |
const |
|
inlineoverride |
◆ mergeWith()
| bool PanZoomCommand::mergeWith |
( |
const QUndoCommand * |
other | ) |
|
|
override |
Attempts to merge consecutive pan operations into a single command.
◆ redo()
| void PanZoomCommand::redo |
( |
| ) |
|
|
override |
◆ undo()
| void PanZoomCommand::undo |
( |
| ) |
|
|
override |
The documentation for this class was generated from the following files: