Reaction to save animation. More...
#include <pqSaveAnimationReaction.h>
Public Slots | |
void | updateEnableState () override |
Updates the enabled state. More... | |
Public Member Functions | |
pqSaveAnimationReaction (QAction *parent) | |
Constructor. 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... | |
Static Public Member Functions | |
static void | saveAnimation () |
Saves the animation from the active scene. 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 to save animation.
Definition at line 15 of file pqSaveAnimationReaction.h.
pqSaveAnimationReaction::pqSaveAnimationReaction | ( | QAction * | parent | ) |
Constructor.
Parent cannot be nullptr.
|
static |
Saves the animation from the active scene.
Note that this method is static. Applications can simply use this without having to create a reaction instance.
|
overrideslot |
Updates the enabled state.
Applications need not explicitly call this.
|
inlineoverrideprotectedvirtual |
Called when the action is triggered.
Reimplemented from pqReaction.
Definition at line 43 of file pqSaveAnimationReaction.h.