Reaction for importing views. More...
#include <pqImportReaction.h>
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 |
Reaction for importing views.
Definition at line 16 of file pqImportReaction.h.
pqImportReaction::pqImportReaction | ( | QAction * | parent | ) |
Constructor.
Parent cannot be nullptr.
void pqImportReaction::import | ( | ) |
Opens a file dialog and imports scenes from the selected file.
|
overrideslot |
Updates the enabled state.
Applications need not explicitly call this.
|
inlineoverrideprotectedvirtual |
Called when the action is triggered.
Reimplemented from pqReaction.
Definition at line 42 of file pqImportReaction.h.