4 #ifndef pqSaveScreenshotReaction_h 5 #define pqSaveScreenshotReaction_h 40 static bool saveScreenshot(
bool clipboardMode =
false);
47 static bool saveScreenshot(
48 const QString& filename,
const QSize&
size,
int quality,
bool all_views =
false);
53 static bool copyScreenshotToClipboard(
const QSize& size,
bool all_views =
false);
65 static QString promptFileName(
void onTriggered() override
Called when the action is triggered.
static bool saveScreenshot(bool clipboardMode=false)
Saves the screenshot.
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