Reaction for camera undo or redo.
More...
#include <pqCameraUndoRedoReaction.h>
Reaction for camera undo or redo.
Definition at line 16 of file pqCameraUndoRedoReaction.h.
◆ pqCameraUndoRedoReaction()
pqCameraUndoRedoReaction::pqCameraUndoRedoReaction |
( |
QAction * |
parent, |
|
|
bool |
undo, |
|
|
pqView * |
view = nullptr |
|
) |
| |
Constructor parent cannot be nullptr.
When undo is true, acts as undo-reaction, else acts as redo reaction. If view
==nullptr then active view is used.
◆ undo()
static void pqCameraUndoRedoReaction::undo |
( |
pqView * |
view | ) |
|
|
static |
◆ redo()
static void pqCameraUndoRedoReaction::redo |
( |
pqView * |
view | ) |
|
|
static |
◆ setEnabled
void pqCameraUndoRedoReaction::setEnabled |
( |
bool |
enable | ) |
|
|
inlineprotectedslot |
◆ setActiveView
void pqCameraUndoRedoReaction::setActiveView |
( |
pqView * |
| ) |
|
|
protectedslot |
◆ onTriggered()
void pqCameraUndoRedoReaction::onTriggered |
( |
| ) |
|
|
overrideprotectedvirtual |
Called when the action is triggered.
Reimplemented from pqReaction.
The documentation for this class was generated from the following file: