pqAnimatedExportReaction.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 pqAnimatedExportReaction_h
5 #define pqAnimatedExportReaction_h
6 
7 #include "pqReaction.h"
8 
14 {
15  Q_OBJECT
16  typedef pqReaction Superclass;
17 
18 public:
22  pqAnimatedExportReaction(QAction* parent);
23 
29  static void Export();
30  static void Export(const QString& filename);
31 
32 public Q_SLOTS: // NOLINT(readability-redundant-access-specifiers)
37  void updateEnableState() override;
38 
39 protected:
44 
45 private:
46  Q_DISABLE_COPY(pqAnimatedExportReaction)
47 };
48 
49 #endif
void onTriggered() override
Called when the action is triggered.
virtual void updateEnableState()
Definition: pqReaction.h:48
#define PQAPPLICATIONCOMPONENTS_EXPORT
This is a superclass just to make it easier to collect all such reactions.
Definition: pqReaction.h:25
Reaction to export an animated scene in a web format.
static void Export()
Export the animated scene from the active render view.