src
paraview-5.12
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
pqReaction.h
pqChangePipelineInputReaction::changeInput
static void changeInput()
Changes the input for the active source.
pqChangePipelineInputReaction
Definition:
pqChangePipelineInputReaction.h:13
pqChangePipelineInputReaction::onTriggered
void onTriggered() override
Called when the action is triggered.
Definition:
pqChangePipelineInputReaction.h:37
pqReaction::updateEnableState
virtual void updateEnableState()
Definition:
pqReaction.h:48
pqReaction
Definition:
pqReaction.h:25
Generated by
1.8.17 on Wed Mar 27 2024