Reaction to save a screen shot.
More...
#include <pqSaveScreenshotReaction.h>
Reaction to save a screen shot.
Definition at line 39 of file pqSaveScreenshotReaction.h.
§ pqSaveScreenshotReaction()
pqSaveScreenshotReaction::pqSaveScreenshotReaction |
( |
QAction * |
parent | ) |
|
Constructor. Parent cannot be NULL.
§ saveScreenshot() [1/2]
static void pqSaveScreenshotReaction::saveScreenshot |
( |
| ) |
|
|
static |
Saves the screenshot.
Note that this method is static. Applications can simply use this without having to create a reaction instance.
§ saveScreenshot() [2/2]
static void pqSaveScreenshotReaction::saveScreenshot |
( |
const QString & |
filename, |
|
|
const QSize & |
size, |
|
|
int |
quality, |
|
|
bool |
all_views = false |
|
) |
| |
|
static |
§ updateEnableState
void pqSaveScreenshotReaction::updateEnableState |
( |
| ) |
|
|
slot |
Updates the enabled state.
Applications need not explicitly call this.
§ onTriggered()
virtual void pqSaveScreenshotReaction::onTriggered |
( |
| ) |
|
|
inlineprotectedvirtual |
The documentation for this class was generated from the following file: