Reaction for saving state file.
More...
#include <pqSaveStateReaction.h>
|
static void | saveState () |
| Open File dialog in order to choose the location and the type of the state file that should be saved. More...
|
|
static void | saveState (const QString &filename) |
| Saves the state file. More...
|
|
static void | savePythonState (const QString &filename) |
| Saves the state file as a python state. More...
|
|
Reaction for saving state file.
Definition at line 39 of file pqSaveStateReaction.h.
§ pqSaveStateReaction()
pqSaveStateReaction::pqSaveStateReaction |
( |
QAction * |
parent | ) |
|
Constructor. Parent cannot be NULL.
§ ~pqSaveStateReaction()
pqSaveStateReaction::~pqSaveStateReaction |
( |
| ) |
|
|
inline |
§ saveState() [1/2]
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.
§ saveState() [2/2]
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.
§ savePythonState()
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.
§ updateEnableState
void pqSaveStateReaction::updateEnableState |
( |
| ) |
|
|
slot |
Updates the enabled state.
Applications need not explicitly call this.
§ onTriggered()
virtual void pqSaveStateReaction::onTriggered |
( |
| ) |
|
|
inlineprotectedvirtual |
The documentation for this class was generated from the following file: