src
paraview-5.12
Qt
ApplicationComponents
pqShowHideAllReaction.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 pqShowHideAllReaction_h
5
#define pqShowHideAllReaction_h
6
7
#include "
pqReaction.h
"
8
13
class
PQAPPLICATIONCOMPONENTS_EXPORT
pqShowHideAllReaction
:
public
pqReaction
14
{
15
Q_OBJECT
16
typedef
pqReaction
Superclass;
17
18
public
:
19
enum class
ActionType
20
{
21
Show,
22
Hide
23
};
24
25
pqShowHideAllReaction
(QAction* parent, ActionType action);
26
27
static
void
act(ActionType action);
28
29
protected
:
33
void
onTriggered
()
override
{
pqShowHideAllReaction::act
(this->Action); }
34
35
private
:
36
Q_DISABLE_COPY(
pqShowHideAllReaction
)
37
38
39
ActionType Action;
40
};
41
#endif
pqReaction.h
pqShowHideAllReaction::ActionType
ActionType
Definition:
pqShowHideAllReaction.h:19
pqShowHideAllReaction::onTriggered
void onTriggered() override
Called when the action is triggered.
Definition:
pqShowHideAllReaction.h:33
pqShowHideAllReaction
Definition:
pqShowHideAllReaction.h:13
pqReaction
Definition:
pqReaction.h:25
pqShowHideAllReaction::act
static void act(ActionType action)
Generated by
1.8.17 on Wed Mar 27 2024