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

Reaction to save data files. More...

#include <pqSaveDataReaction.h>

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

List of all members.

Public Slots

void updateEnableState ()
 Updates the enabled state.
void dataUpdated (pqPipelineSource *source)
 Triggered when a source became valid.

Public Member Functions

 pqSaveDataReaction (QAction *parent)
 Constructor. Parent cannot be NULL.

Static Public Member Functions

static bool saveActiveData (const QString &files)
 Save data files from active port.
static bool saveActiveData ()

Protected Member Functions

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

Detailed Description

Reaction to save data files.

Definition at line 41 of file pqSaveDataReaction.h.


Constructor & Destructor Documentation

pqSaveDataReaction::pqSaveDataReaction ( QAction *  parent)

Constructor. Parent cannot be NULL.


Member Function Documentation

static bool pqSaveDataReaction::saveActiveData ( const QString &  files) [static]

Save data files from active port.

Users the vtkSMWriterFactory to decide what writes are available. Returns true if the creation is successful, otherwise returns false. Note that this method is static. Applications can simply use this without having to create a reaction instance.

static bool pqSaveDataReaction::saveActiveData ( ) [static]
void pqSaveDataReaction::updateEnableState ( ) [virtual, slot]

Updates the enabled state.

Applications need not explicitly call this.

Reimplemented from pqReaction.

void pqSaveDataReaction::dataUpdated ( pqPipelineSource source) [slot]

Triggered when a source became valid.

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

Called when the action is triggered.

Reimplemented from pqReaction.

Definition at line 66 of file pqSaveDataReaction.h.


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