Public Slots | Public Member Functions | Protected Member Functions | List of all members
pqExportReaction Class Reference

Reaction for exporting a view. More...

#include <pqExportReaction.h>

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

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
 

Detailed Description

Reaction for exporting a view.

Uses pqViewExporterManager for actual exporting.

Definition at line 17 of file pqExportReaction.h.

Constructor & Destructor Documentation

◆ pqExportReaction()

pqExportReaction::pqExportReaction ( QAction *  parent)

Constructor.

Parent cannot be nullptr.

Member Function Documentation

◆ exportActiveView()

QString pqExportReaction::exportActiveView ( )

Exports the current view.

Returns the exported filename of successful export, otherwise returns an empty QString.

◆ updateEnableState

void pqExportReaction::updateEnableState ( )
overrideslot

Updates the enabled state.

Applications need not explicitly call this.

◆ onTriggered()

void pqExportReaction::onTriggered ( )
inlineoverrideprotectedvirtual

Called when the action is triggered.

Reimplemented from pqReaction.

Definition at line 44 of file pqExportReaction.h.


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