pqCreateCustomFilterReaction.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 pqCreateCustomFilterReaction_h
5 #define pqCreateCustomFilterReaction_h
6 
7 #include "pqReaction.h"
8 
14 {
15  Q_OBJECT
16  typedef pqReaction Superclass;
17 
18 public:
22  pqCreateCustomFilterReaction(QAction* parent);
23 
27  static void createCustomFilter();
28 
29 public Q_SLOTS: // NOLINT(readability-redundant-access-specifiers)
33  void updateEnableState() override;
34 
35 protected:
40 
41 private:
42  Q_DISABLE_COPY(pqCreateCustomFilterReaction)
43 };
44 
45 #endif
virtual void updateEnableState()
Definition: pqReaction.h:48
#define PQAPPLICATIONCOMPONENTS_EXPORT
void onTriggered() override
Called when the action is triggered.
pqCreateCustomFilterReaction popups the create-custom-filter wizard for the active selection...
This is a superclass just to make it easier to collect all such reactions.
Definition: pqReaction.h:25
static void createCustomFilter()
Create custom filter.