32 #ifndef pqSaveScreenshotReaction_h 33 #define pqSaveScreenshotReaction_h 68 static void saveScreenshot(
bool clipboardMode =
false);
75 static bool saveScreenshot(
76 const QString& filename,
const QSize&
size,
int quality,
bool all_views =
false);
81 static bool copyScreenshotToClipboard(
const QSize& size,
bool all_views =
false);
93 static QString promptFileName(
void onTriggered() override
Called when the action is triggered.
virtual void updateEnableState()
#define PQAPPLICATIONCOMPONENTS_EXPORT
This is a superclass just to make it easier to collect all such reactions.
Reaction to save a screenshot.
proxy to help with saving screenshots for views
static void saveScreenshot(bool clipboardMode=false)
Saves the screenshot.