#include <pqSaveStateReaction.h>
|
| static bool | saveState () |
| | Open File dialog in order to choose the location and the type of the state file that should be saved Returns true if the user selected a file to save and false if they canceled the dialog. More...
|
| |
| static bool | saveState (const QString &filename, vtkTypeUInt32 location=0x10) |
| | Saves the state file. More...
|
| |
| static bool | savePythonState (const QString &filename, vtkTypeUInt32 location=0x10) |
| | Saves the state file as a python state. More...
|
| |
Reaction for saving state file.
Definition at line 14 of file pqSaveStateReaction.h.
◆ pqSaveStateReaction()
| pqSaveStateReaction::pqSaveStateReaction |
( |
QAction * |
parent | ) |
|
Constructor.
Parent cannot be nullptr.
◆ ~pqSaveStateReaction()
| pqSaveStateReaction::~pqSaveStateReaction |
( |
| ) |
|
|
overridedefault |
◆ saveState() [1/2]
| static bool pqSaveStateReaction::saveState |
( |
| ) |
|
|
static |
Open File dialog in order to choose the location and the type of the state file that should be saved Returns true if the user selected a file to save and false if they canceled the dialog.
◆ saveState() [2/2]
| static bool pqSaveStateReaction::saveState |
( |
const QString & |
filename, |
|
|
vtkTypeUInt32 |
location = 0x10 |
|
) |
| |
|
static |
Saves the state file.
Note that this method is static. Applications can simply use this without having to create a reaction instance. Return true if the operation succeeded otherwise return false.
◆ savePythonState()
| static bool pqSaveStateReaction::savePythonState |
( |
const QString & |
filename, |
|
|
vtkTypeUInt32 |
location = 0x10 |
|
) |
| |
|
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. Return true if the operation succeeded otherwise return false.
◆ updateEnableState
| void pqSaveStateReaction::updateEnableState |
( |
| ) |
|
|
overrideslot |
Updates the enabled state.
Applications need not explicitly call this.
◆ onTriggered()
| void pqSaveStateReaction::onTriggered |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
The documentation for this class was generated from the following file: