Classes | Macros | Functions
pqUndoStack.h File Reference
#include "pqCoreModule.h"
#include <QObject>
#include "pqApplicationCore.h"
Include dependency graph for pqUndoStack.h:

Go to the source code of this file.

Classes

class  pqUndoStack
 pqUndoStack represents a vtkSMUndoStack along with a a vtkSMUndoStackBuilder. More...
 
class  pqScopedUndoExclude
 
class  pqScopedUndoSet
 

Macros

#define SCOPED_UNDO_EXCLUDE()   SCOPED_UNDO_EXCLUDE__0(__LINE__)
 
#define SCOPED_UNDO_EXCLUDE__0(line)   pqScopedUndoExclude val##line
 
#define SCOPED_UNDO_SET(txt)   SCOPED_UNDO_SET__0(__LINE__, txt)
 
#define SCOPED_UNDO_SET__0(line, txt)   pqScopedUndoSet val##line(txt)
 

Functions

void BEGIN_UNDO_SET (const QString &name)
 
void END_UNDO_SET ()
 
void CLEAR_UNDO_STACK ()
 
void ADD_UNDO_ELEM (vtkUndoElement *elem)
 
void BEGIN_UNDO_EXCLUDE ()
 
void END_UNDO_EXCLUDE ()
 

Macro Definition Documentation

◆ SCOPED_UNDO_EXCLUDE

#define SCOPED_UNDO_EXCLUDE ( )    SCOPED_UNDO_EXCLUDE__0(__LINE__)

Definition at line 255 of file pqUndoStack.h.

◆ SCOPED_UNDO_EXCLUDE__0

#define SCOPED_UNDO_EXCLUDE__0 (   line)    pqScopedUndoExclude val##line

Definition at line 256 of file pqUndoStack.h.

◆ SCOPED_UNDO_SET

#define SCOPED_UNDO_SET (   txt)    SCOPED_UNDO_SET__0(__LINE__, txt)

Definition at line 258 of file pqUndoStack.h.

◆ SCOPED_UNDO_SET__0

#define SCOPED_UNDO_SET__0 (   line,
  txt 
)    pqScopedUndoSet val##line(txt)

Definition at line 259 of file pqUndoStack.h.

Function Documentation

◆ BEGIN_UNDO_SET()

void BEGIN_UNDO_SET ( const QString &  name)
inline

Definition at line 181 of file pqUndoStack.h.

◆ END_UNDO_SET()

void END_UNDO_SET ( )
inline

Definition at line 190 of file pqUndoStack.h.

◆ CLEAR_UNDO_STACK()

void CLEAR_UNDO_STACK ( )
inline

Definition at line 199 of file pqUndoStack.h.

◆ ADD_UNDO_ELEM()

void ADD_UNDO_ELEM ( vtkUndoElement elem)
inline

Definition at line 208 of file pqUndoStack.h.

◆ BEGIN_UNDO_EXCLUDE()

void BEGIN_UNDO_EXCLUDE ( )
inline

Definition at line 217 of file pqUndoStack.h.

◆ END_UNDO_EXCLUDE()

void END_UNDO_EXCLUDE ( )
inline

Definition at line 226 of file pqUndoStack.h.