Qt
ApplicationComponents
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
13
class
PQAPPLICATIONCOMPONENTS_EXPORT
pqChangePipelineInputReaction
:
public
pqReaction
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
:
37
void
onTriggered
()
override
{
pqChangePipelineInputReaction::changeInput
(); }
38
39
private
:
40
Q_DISABLE_COPY(
pqChangePipelineInputReaction
)
41
};
42
43
#endif
pqChangePipelineInputReaction
Reaction for change pipeline input for the currently selected element.
Definition:
pqChangePipelineInputReaction.h:13
pqReaction.h
pqReaction::updateEnableState
virtual void updateEnableState()
Definition:
pqReaction.h:48
pqChangePipelineInputReaction::changeInput
static void changeInput()
Changes the input for the active source.
pqReaction
This is a superclass just to make it easier to collect all such reactions.
Definition:
pqReaction.h:25
pqChangePipelineInputReaction::onTriggered
void onTriggered() override
Called when the action is triggered.
Definition:
pqChangePipelineInputReaction.h:37
Generated by
1.8.13 on Wed Dec 10 2025