ParaView
|
Reaction for exporting a view. More...
#include <pqExportReaction.h>
Public Slots | |
void | updateEnableState () |
Updates the enabled state. More... | |
Public Member Functions | |
pqExportReaction (QAction *parent) | |
Constructor. Parent cannot be NULL. More... | |
QString | exportActiveView () |
Exports the current view. More... | |
![]() | |
pqReaction (QAction *parent, Qt::ConnectionType type=Qt::AutoConnection) | |
Constructor. Parent cannot be NULL. More... | |
virtual | ~pqReaction () |
QAction * | parentAction () const |
Provides access to the parent action. More... | |
Protected Member Functions | |
virtual void | onTriggered () |
Called when the action is triggered. More... | |
Additional Inherited Members | |
![]() | |
virtual void | updateEnableState () |
virtual void | updateMasterEnableState (bool) |
![]() | |
bool | IsMaster |
Reaction for exporting a view.
Uses pqViewExporterManager for actual exporting.
Definition at line 44 of file pqExportReaction.h.
pqExportReaction::pqExportReaction | ( | QAction * | parent | ) |
Constructor. Parent cannot be NULL.
QString pqExportReaction::exportActiveView | ( | ) |
Exports the current view.
Returns the exported filename of successful export, otherwise returns an empty QString.
|
slot |
Updates the enabled state.
Applications need not explicitly call this.
|
inlineprotectedvirtual |
Called when the action is triggered.
Reimplemented from pqReaction.
Definition at line 63 of file pqExportReaction.h.