ParaView
Public Member Functions | Static Public Member Functions | Protected Slots | Protected Member Functions
pqUndoRedoReaction Class Reference

Reaction for application undo-redo. More...

#include <pqUndoRedoReaction.h>

Inheritance diagram for pqUndoRedoReaction:
Inheritance graph
[legend]
Collaboration diagram for pqUndoRedoReaction:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

Reaction for application undo-redo.

Definition at line 41 of file pqUndoRedoReaction.h.


Constructor & Destructor Documentation

pqUndoRedoReaction::pqUndoRedoReaction ( QAction *  parent,
bool  undo 
)

if undo is set to true, then this behaves as an undo-reaction otherwise as a redo-reaction.


Member Function Documentation

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.


The documentation for this class was generated from the following file: