pqLinkSelectionReaction.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 pqLinkSelectionReaction_h
5 #define pqLinkSelectionReaction_h
6 
7 #include "pqReaction.h"
8 
14 {
15  Q_OBJECT
16  typedef pqReaction Superclass;
17 
18 public:
19  pqLinkSelectionReaction(QAction* parent = nullptr);
20 
25  static void linkSelection();
26 
27 public Q_SLOTS: // NOLINT(readability-redundant-access-specifiers)
31  void updateEnableState() override;
32 
33 protected:
38 
39 private:
40  Q_DISABLE_COPY(pqLinkSelectionReaction)
41 };
42 #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 for change pipeline input for the currently selected element.
static void linkSelection()
Link selection of the current active source with the current selected source.