|
ParaView
|
Reaction for application undo-redo. More...
#include <pqUndoRedoReaction.h>


Public Member Functions | |
| pqUndoRedoReaction (QAction *parent, bool undo) | |
if undo is set to true, then this behaves as an undo-reaction otherwise as a redo-reaction. | |
Static Public Member Functions | |
| static void | undo () |
| undo. | |
| static void | redo () |
| redo. | |
| static void | clear () |
| Clear stack. | |
Protected Slots | |
| void | enable (bool) |
| void | setLabel (const QString &label) |
| void | setUndoStack (pqUndoStack *) |
Protected Member Functions | |
| virtual void | onTriggered () |
| Called when the action is triggered. | |
Reaction for application undo-redo.
Definition at line 41 of file pqUndoRedoReaction.h.
| pqUndoRedoReaction::pqUndoRedoReaction | ( | QAction * | parent, |
| bool | undo | ||
| ) |
if undo is set to true, then this behaves as an undo-reaction otherwise as a redo-reaction.
| static void pqUndoRedoReaction::undo | ( | ) | [static] |
undo.
| static void pqUndoRedoReaction::redo | ( | ) | [static] |
redo.
| static void pqUndoRedoReaction::clear | ( | ) | [static] |
Clear stack.
| void pqUndoRedoReaction::enable | ( | bool | ) | [protected, slot] |
| void pqUndoRedoReaction::setLabel | ( | const QString & | label | ) | [protected, slot] |
| void pqUndoRedoReaction::setUndoStack | ( | pqUndoStack * | ) | [protected, slot] |
| virtual void pqUndoRedoReaction::onTriggered | ( | ) | [inline, protected, virtual] |
Called when the action is triggered.
Reimplemented from pqReaction.
Definition at line 66 of file pqUndoRedoReaction.h.
1.7.5.1