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

Reaction to save animation. More...

#include <pqSaveAnimationReaction.h>

Inheritance diagram for pqSaveAnimationReaction:
Inheritance graph
Collaboration diagram for pqSaveAnimationReaction:
Collaboration graph

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

Detailed Description

Reaction to save animation.

Definition at line 15 of file pqSaveAnimationReaction.h.

Constructor & Destructor Documentation

◆ pqSaveAnimationReaction()

pqSaveAnimationReaction::pqSaveAnimationReaction ( QAction *  parent)


Parent cannot be nullptr.

Member Function Documentation

◆ saveAnimation()

static void pqSaveAnimationReaction::saveAnimation ( )

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.

◆ updateEnableState

void pqSaveAnimationReaction::updateEnableState ( )

Updates the enabled state.

Applications need not explicitly call this.

◆ onTriggered()

void pqSaveAnimationReaction::onTriggered ( )

Called when the action is triggered.

Reimplemented from pqReaction.

Definition at line 43 of file pqSaveAnimationReaction.h.

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