|
ParaView
|
Reaction to save a screen shot. More...
#include <pqSaveScreenshotReaction.h>


Public Slots | |
| void | updateEnableState () |
| Updates the enabled state. | |
Public Member Functions | |
| pqSaveScreenshotReaction (QAction *parent) | |
| Constructor. Parent cannot be NULL. | |
Static Public Member Functions | |
| static void | saveScreenshot () |
| Saves the screenshot. | |
| static void | saveScreenshot (const QString &filename, const QSize &size, int quality, bool all_views=false) |
Protected Member Functions | |
| virtual void | onTriggered () |
| Called when the action is triggered. | |
Reaction to save a screen shot.
This reaction can only be used when pqTabbedMultiViewWidget is used as the widget containing the views.
Definition at line 40 of file pqSaveScreenshotReaction.h.
| pqSaveScreenshotReaction::pqSaveScreenshotReaction | ( | QAction * | parent | ) |
Constructor. Parent cannot be NULL.
| 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.
| static void pqSaveScreenshotReaction::saveScreenshot | ( | const QString & | filename, |
| const QSize & | size, | ||
| int | quality, | ||
| bool | all_views = false |
||
| ) | [static] |
| void pqSaveScreenshotReaction::updateEnableState | ( | ) | [virtual, slot] |
Updates the enabled state.
Applications need not explicitly call this.
Reimplemented from pqReaction.
| virtual void pqSaveScreenshotReaction::onTriggered | ( | ) | [inline, protected, virtual] |
Called when the action is triggered.
Reimplemented from pqReaction.
Definition at line 64 of file pqSaveScreenshotReaction.h.
1.7.5.1