4 #ifndef pqTestingReaction_h 5 #define pqTestingReaction_h 32 static void recordTest(
const QString& filename);
33 static void recordTest();
38 static void playTest(
const QString& filename);
39 static void playTest();
44 static void lockViewSize(
bool);
49 static void lockViewSizeCustom();
54 switch (this->ReactionMode)
65 case LOCK_VIEW_SIZE_CUSTOM:
static void lockViewSizeCustom()
Locks the view size with a custom resolution.
void onTriggered() override
Called when the action is triggered.
#define PQAPPLICATIONCOMPONENTS_EXPORT
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.