Qt
ApplicationComponents
pqAutoApplyReaction.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 pqAutoApplyReaction_h
5
#define pqAutoApplyReaction_h
6
7
#include "
pqReaction.h
"
8
13
class
PQAPPLICATIONCOMPONENTS_EXPORT
pqAutoApplyReaction
:
public
pqReaction
14
{
15
Q_OBJECT
16
typedef
pqReaction
Superclass
;
17
18
public
:
19
pqAutoApplyReaction
(QAction* parent =
nullptr
);
20
24
static
void
setAutoApply(
bool
);
25
29
static
bool
autoApply();
30
31
protected
Q_SLOTS:
32
void
updateState();
33
void
checkStateChanged(
bool
);
34
35
private
:
36
Q_DISABLE_COPY(
pqAutoApplyReaction
)
37
};
38
39
#endif
pqReaction.h
pqAutoApplyReaction
Reaction for enabling/disabling auto-apply.
Definition:
pqAutoApplyReaction.h:13
PQAPPLICATIONCOMPONENTS_EXPORT
#define PQAPPLICATIONCOMPONENTS_EXPORT
Definition:
pqApplicationComponentsModule.h:15
pqReaction
This is a superclass just to make it easier to collect all such reactions.
Definition:
pqReaction.h:25
Generated by
1.8.13 on Fri Jan 10 2025