32 #ifndef pqTestingReaction_h 33 #define pqTestingReaction_h 55 static void recordTest(
const QString& filename);
56 static void recordTest();
59 static void playTest(
const QString& filename);
60 static void playTest();
63 static void lockViewSize(
bool);
66 static void lockViewSizeCustom();
71 switch (this->ReactionMode)
82 case LOCK_VIEW_SIZE_CUSTOM:
static void lockViewSizeCustom()
Locks the view size with a custom resolution.
virtual void onTriggered()
Called when the action is triggered.
This is a superclass just to make it easier to collect all such reactions.
This is a superclass just to make it easier to collect all such reactions.
QAction * parentAction() const
Provides access to the parent action.
static void lockViewSize(bool)
Locks the view size for testing.
pqTestingReaction can be used to recording or playing back tests.