src
paraview-5.12
Qt
ApplicationComponents
pqApplyPropertiesReaction.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 pqApplyPropertiesReaction_h
5
#define pqApplyPropertiesReaction_h
6
7
#include "pqApplicationComponentsModule.h"
8
9
#include "
pqReaction.h
"
10
11
#include <QPointer>
12
13
class
pqPropertiesPanel
;
14
15
class
PQAPPLICATIONCOMPONENTS_EXPORT
pqApplyPropertiesReaction
:
public
pqReaction
16
{
17
typedef
pqReaction
Superclass
;
18
19
public
:
20
pqApplyPropertiesReaction
(
pqPropertiesPanel
* panel, QAction* action,
bool
apply);
21
22
void
updateEnableState
()
override
;
23
24
protected
:
25
void
onTriggered
()
override
;
26
27
private
:
28
QPointer<pqPropertiesPanel> Panel;
29
bool
ShouldApply;
30
};
31
#endif
pqPropertiesPanel
pqPropertiesPanel is the default panel used by paraview to edit source properties and display propert...
Definition:
pqPropertiesPanel.h:33
pqReaction.h
pqReaction::onTriggered
virtual void onTriggered()
Called when the action is triggered.
Definition:
pqReaction.h:46
pqReaction::updateEnableState
virtual void updateEnableState()
Definition:
pqReaction.h:48
pqApplyPropertiesReaction
Definition:
pqApplyPropertiesReaction.h:15
pqReaction
Definition:
pqReaction.h:25
Generated by
1.8.17 on Wed Mar 27 2024