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