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

Reaction for saving state file. More...

#include <pqSaveStateReaction.h>

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

List of all members.

Public Slots

void updateEnableState ()
 Updates the enabled state.

Public Member Functions

 pqSaveStateReaction (QAction *parent)
 Constructor. Parent cannot be NULL.
 ~pqSaveStateReaction ()

Static Public Member Functions

static void saveState ()
 Open File dialog in order to choose the location and the type of the state file that should be saved.
static void saveState (const QString &filename)
 Saves the state file.
static void savePythonState (const QString &filename)
 Saves the state file as a python state.

Protected Member Functions

virtual void onTriggered ()
 Called when the action is triggered.

Detailed Description

Reaction for saving state file.

Definition at line 39 of file pqSaveStateReaction.h.


Constructor & Destructor Documentation

pqSaveStateReaction::pqSaveStateReaction ( QAction *  parent)

Constructor. Parent cannot be NULL.

pqSaveStateReaction::~pqSaveStateReaction ( ) [inline]

Definition at line 46 of file pqSaveStateReaction.h.


Member Function Documentation

static void pqSaveStateReaction::saveState ( ) [static]

Open File dialog in order to choose the location and the type of the state file that should be saved.

static void pqSaveStateReaction::saveState ( const QString &  filename) [static]

Saves the state file.

Note that this method is static. Applications can simply use this without having to create a reaction instance.

static void pqSaveStateReaction::savePythonState ( const QString &  filename) [static]

Saves the state file as a python state.

Note that this method is static. Applications can simply use this without having to create a reaction instance.

void pqSaveStateReaction::updateEnableState ( ) [virtual, slot]

Updates the enabled state.

Applications need not explicitly call this.

Reimplemented from pqReaction.

virtual void pqSaveStateReaction::onTriggered ( ) [inline, protected, virtual]

Called when the action is triggered.

Reimplemented from pqReaction.

Definition at line 69 of file pqSaveStateReaction.h.


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