|
ParaView
|
Reaction for camera undo or redo. More...
#include <pqCameraUndoRedoReaction.h>


Public Member Functions | |
| pqCameraUndoRedoReaction (QAction *parent, bool undo, pqView *view=0) | |
| Constructor parent cannot be NULL. | |
Static Public Member Functions | |
| static void | undo (pqView *view) |
| undo. | |
| static void | redo (pqView *view) |
| redo. | |
Protected Slots | |
| void | setEnabled (bool enable) |
| void | setActiveView (pqView *) |
Protected Member Functions | |
| virtual void | onTriggered () |
| Called when the action is triggered. | |
Reaction for camera undo or redo.
Definition at line 42 of file pqCameraUndoRedoReaction.h.
| pqCameraUndoRedoReaction::pqCameraUndoRedoReaction | ( | QAction * | parent, |
| bool | undo, | ||
| pqView * | view = 0 |
||
| ) |
Constructor parent cannot be NULL.
When undo is true, acts as undo-reaction, else acts as redo reaction. If view ==NULL then active view is used.
| static void pqCameraUndoRedoReaction::undo | ( | pqView * | view | ) | [static] |
undo.
| static void pqCameraUndoRedoReaction::redo | ( | pqView * | view | ) | [static] |
redo.
| void pqCameraUndoRedoReaction::setEnabled | ( | bool | enable | ) | [inline, protected, slot] |
Definition at line 59 of file pqCameraUndoRedoReaction.h.
| void pqCameraUndoRedoReaction::setActiveView | ( | pqView * | ) | [protected, slot] |
| virtual void pqCameraUndoRedoReaction::onTriggered | ( | ) | [protected, virtual] |
Called when the action is triggered.
Reimplemented from pqReaction.
1.7.5.1