|
ParaView
|
pqTestingReaction can be used to recording or playing back tests. More...
#include <pqTestingReaction.h>


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. | |
pqTestingReaction can be used to recording or playing back tests.
Definition at line 39 of file pqTestingReaction.h.
Definition at line 44 of file pqTestingReaction.h.
| pqTestingReaction::pqTestingReaction | ( | QAction * | parentObject, |
| Mode | mode, | ||
| Qt::ConnectionType | type = Qt::AutoConnection |
||
| ) |
| 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.
1.7.5.1