32 #ifndef pqTestingReaction_h 33 #define pqTestingReaction_h 60 static void recordTest(
const QString& filename);
61 static void recordTest();
66 static void playTest(
const QString& filename);
67 static void playTest();
72 static void lockViewSize(
bool);
77 static void lockViewSizeCustom();
82 switch (this->ReactionMode)
93 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.