ParaView
Public Slots | Public Member Functions | Static Public Member Functions | Protected Member Functions
pqSaveScreenshotReaction Class Reference

Reaction to save a screen shot. More...

#include <pqSaveScreenshotReaction.h>

Inheritance diagram for pqSaveScreenshotReaction:
Inheritance graph
[legend]
Collaboration diagram for pqSaveScreenshotReaction:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

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.


Constructor & Destructor Documentation

pqSaveScreenshotReaction::pqSaveScreenshotReaction ( QAction *  parent)

Constructor. Parent cannot be NULL.


Member Function Documentation

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.


The documentation for this class was generated from the following file: