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 227 of file pqUndoStack.h.

◆ SCOPED_UNDO_EXCLUDE__0

#define SCOPED_UNDO_EXCLUDE__0 (   line)    pqScopedUndoExclude val##line

Definition at line 228 of file pqUndoStack.h.

◆ SCOPED_UNDO_SET

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

Definition at line 230 of file pqUndoStack.h.

◆ SCOPED_UNDO_SET__0

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

Definition at line 231 of file pqUndoStack.h.

Function Documentation

◆ BEGIN_UNDO_SET()

void BEGIN_UNDO_SET ( const QString &  name)
inline

Definition at line 153 of file pqUndoStack.h.

◆ END_UNDO_SET()

void END_UNDO_SET ( )
inline

Definition at line 162 of file pqUndoStack.h.

◆ CLEAR_UNDO_STACK()

void CLEAR_UNDO_STACK ( )
inline

Definition at line 171 of file pqUndoStack.h.

◆ ADD_UNDO_ELEM()

void ADD_UNDO_ELEM ( vtkUndoElement elem)
inline

Definition at line 180 of file pqUndoStack.h.

◆ BEGIN_UNDO_EXCLUDE()

void BEGIN_UNDO_EXCLUDE ( )
inline

Definition at line 189 of file pqUndoStack.h.

◆ END_UNDO_EXCLUDE()

void END_UNDO_EXCLUDE ( )
inline

Definition at line 198 of file pqUndoStack.h.