ParaView
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
pqTestingReaction Class Reference

pqTestingReaction can be used to recording or playing back tests. More...

#include <pqTestingReaction.h>

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

List of all members.

Public Types

enum  Mode { RECORD, PLAYBACK, LOCK_VIEW_SIZE, LOCK_VIEW_SIZE_CUSTOM }

Public Member Functions

 pqTestingReaction (QAction *parentObject, Mode mode, Qt::ConnectionType type=Qt::AutoConnection)

Static Public Member Functions

static void recordTest (const QString &filename)
 Records test.
static void recordTest ()
static void playTest (const QString &filename)
 Plays test.
static void playTest ()
static void lockViewSize (bool)
 Locks the view size for testing.
static void lockViewSizeCustom ()
 Locks the view size with a custom resolution.

Protected Member Functions

virtual void onTriggered ()
 Called when the action is triggered.

Detailed Description

pqTestingReaction can be used to recording or playing back tests.

Definition at line 39 of file pqTestingReaction.h.


Member Enumeration Documentation

Enumerator:
RECORD 
PLAYBACK 
LOCK_VIEW_SIZE 
LOCK_VIEW_SIZE_CUSTOM 

Definition at line 44 of file pqTestingReaction.h.


Constructor & Destructor Documentation

pqTestingReaction::pqTestingReaction ( QAction *  parentObject,
Mode  mode,
Qt::ConnectionType  type = Qt::AutoConnection 
)

Member Function Documentation

static void pqTestingReaction::recordTest ( const QString &  filename) [static]

Records test.

static void pqTestingReaction::recordTest ( ) [static]
static void pqTestingReaction::playTest ( const QString &  filename) [static]

Plays test.

static void pqTestingReaction::playTest ( ) [static]
static void pqTestingReaction::lockViewSize ( bool  ) [static]

Locks the view size for testing.

static void pqTestingReaction::lockViewSizeCustom ( ) [static]

Locks the view size with a custom resolution.

virtual void pqTestingReaction::onTriggered ( ) [inline, protected, virtual]

Called when the action is triggered.

Reimplemented from pqReaction.

Definition at line 69 of file pqTestingReaction.h.


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