|
ParaView
|
Reaction for saving state file. More...
#include <pqSaveStateReaction.h>


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. | |
Reaction for saving state file.
Definition at line 39 of file pqSaveStateReaction.h.
| pqSaveStateReaction::pqSaveStateReaction | ( | QAction * | parent | ) |
Constructor. Parent cannot be NULL.
| pqSaveStateReaction::~pqSaveStateReaction | ( | ) | [inline] |
Definition at line 46 of file pqSaveStateReaction.h.
| 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.
1.7.5.1