src
paraview-5.12
Qt
ApplicationComponents
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
13
class
PQAPPLICATIONCOMPONENTS_EXPORT
pqLinkSelectionReaction
:
public
pqReaction
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
:
37
void
onTriggered
()
override
{
pqLinkSelectionReaction::linkSelection
(); }
38
39
private
:
40
Q_DISABLE_COPY(
pqLinkSelectionReaction
)
41
};
42
#endif
pqLinkSelectionReaction
Definition:
pqLinkSelectionReaction.h:13
pqReaction.h
pqLinkSelectionReaction::onTriggered
void onTriggered() override
Called when the action is triggered.
Definition:
pqLinkSelectionReaction.h:37
pqReaction::updateEnableState
virtual void updateEnableState()
Definition:
pqReaction.h:48
pqLinkSelectionReaction::linkSelection
static void linkSelection()
Link selection of the current active source with the current selected source.
pqReaction
Definition:
pqReaction.h:25
Generated by
1.8.17 on Wed Mar 27 2024