src
paraview-5.12
Qt
ApplicationComponents
pqSaveAnimationReaction.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2
// SPDX-FileCopyrightText: Copyright (c) Sandia Corporation
3
// SPDX-License-Identifier: BSD-3-Clause
4
#ifndef pqSaveAnimationReaction_h
5
#define pqSaveAnimationReaction_h
6
7
#include "
pqReaction.h
"
8
9
class
pqServer
;
10
15
class
PQAPPLICATIONCOMPONENTS_EXPORT
pqSaveAnimationReaction
:
public
pqReaction
16
{
17
Q_OBJECT
18
typedef
pqReaction
Superclass;
19
20
public
:
24
pqSaveAnimationReaction
(QAction* parent);
25
31
static
void
saveAnimation();
32
33
public
Q_SLOTS:
// NOLINT(readability-redundant-access-specifiers)
37
void
updateEnableState
()
override
;
38
39
protected
:
43
void
onTriggered
()
override
{
pqSaveAnimationReaction::saveAnimation
(); }
44
45
private
:
46
Q_DISABLE_COPY(
pqSaveAnimationReaction
)
47
};
48
49
#endif
pqSaveAnimationReaction::saveAnimation
static void saveAnimation()
Saves the animation from the active scene.
pqReaction.h
pqServer
pqServer (should be renamed to pqSession) is a pqServerManagerModelItem subclass that represents a vt...
Definition:
pqServer.h:35
pqSaveAnimationReaction
Definition:
pqSaveAnimationReaction.h:15
pqReaction::updateEnableState
virtual void updateEnableState()
Definition:
pqReaction.h:48
pqSaveAnimationReaction::onTriggered
void onTriggered() override
Called when the action is triggered.
Definition:
pqSaveAnimationReaction.h:43
pqReaction
Definition:
pqReaction.h:25
Generated by
1.8.17 on Wed Mar 27 2024