pqEditMacrosReaction.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
3 #ifndef pqEditMacrosReaction_h
4 #define pqEditMacrosReaction_h
5 
6 #include "pqMasterOnlyReaction.h"
7 
8 class QAction;
10 
18 {
19  Q_OBJECT
21 
22 public:
23  pqEditMacrosReaction(QAction* action);
24 
28  static void configureMacros();
29 
30 protected:
31  void onTriggered() override;
32 
33 private:
34  Q_DISABLE_COPY(pqEditMacrosReaction)
35 
36  static QPointer<pqEditMacrosDialog> Dialog;
37 };
38 
39 #endif
#define PQAPPLICATIONCOMPONENTS_EXPORT
pqEditMacrosReaction is the reaction to pop-up the edit macros dialog.
This is a superclass just to make it easier to collect all such reactions.
virtual void onTriggered()
Called when the action is triggered.
Definition: pqReaction.h:46
pqEditMacrosDialog is the Edit Macros dialog used by ParaView.