pqChangePipelineInputReaction.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 pqChangePipelineInputReaction_h
5 #define pqChangePipelineInputReaction_h
6 
7 #include "pqReaction.h"
8 
14 {
15  Q_OBJECT
16  typedef pqReaction Superclass;
17 
18 public:
19  pqChangePipelineInputReaction(QAction* parent = nullptr);
20 
24  static void changeInput();
25 
26 public Q_SLOTS: // NOLINT(readability-redundant-access-specifiers)
31  void updateEnableState() override;
32 
33 protected:
38 
39 private:
40  Q_DISABLE_COPY(pqChangePipelineInputReaction)
41 };
42 
43 #endif
Reaction for change pipeline input for the currently selected element.
virtual void updateEnableState()
Definition: pqReaction.h:48
#define PQAPPLICATIONCOMPONENTS_EXPORT
static void changeInput()
Changes the input for the active source.
This is a superclass just to make it easier to collect all such reactions.
Definition: pqReaction.h:25
void onTriggered() override
Called when the action is triggered.