src
paraview-5.12
Qt
ApplicationComponents
pqCameraLinkReaction.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 pqCameraLinkReaction_h
5
#define pqCameraLinkReaction_h
6
7
#include "
pqReaction.h
"
8
9
class
PQAPPLICATIONCOMPONENTS_EXPORT
pqCameraLinkReaction
:
public
pqReaction
10
{
11
Q_OBJECT
12
typedef
pqReaction
Superclass
;
13
14
public
:
15
pqCameraLinkReaction
(QAction* parent);
16
20
static
void
addCameraLink();
21
22
public
Q_SLOTS:
// NOLINT(readability-redundant-access-specifiers)
26
void
updateEnableState
()
override
;
27
28
protected
:
32
void
onTriggered
()
override
{
pqCameraLinkReaction::addCameraLink
(); }
33
34
private
:
35
Q_DISABLE_COPY(
pqCameraLinkReaction
)
36
};
37
38
#endif
pqCameraLinkReaction
Definition:
pqCameraLinkReaction.h:9
pqReaction.h
pqCameraLinkReaction::addCameraLink
static void addCameraLink()
Adds camera link with the active view.
pqReaction::updateEnableState
virtual void updateEnableState()
Definition:
pqReaction.h:48
pqReaction
Definition:
pqReaction.h:25
pqCameraLinkReaction::onTriggered
void onTriggered() override
Called when the action is triggered.
Definition:
pqCameraLinkReaction.h:32
Generated by
1.8.17 on Wed Mar 27 2024