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

Reaction for importing views. More...

#include <pqImportReaction.h>

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

Public Slots

void updateEnableState () override
 Updates the enabled state. More...
 

Public Member Functions

 pqImportReaction (QAction *parent)
 Constructor. More...
 
void import ()
 Opens a file dialog and imports scenes from the selected file. 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 importing views.

Definition at line 16 of file pqImportReaction.h.

Constructor & Destructor Documentation

◆ pqImportReaction()

pqImportReaction::pqImportReaction ( QAction *  parent)

Constructor.

Parent cannot be nullptr.

Member Function Documentation

◆ import()

void pqImportReaction::import ( )

Opens a file dialog and imports scenes from the selected file.

◆ updateEnableState

void pqImportReaction::updateEnableState ( )
overrideslot

Updates the enabled state.

Applications need not explicitly call this.

◆ onTriggered()

void pqImportReaction::onTriggered ( )
inlineoverrideprotectedvirtual

Called when the action is triggered.

Reimplemented from pqReaction.

Definition at line 42 of file pqImportReaction.h.


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