src
paraview-5.12
Qt
ApplicationComponents
pqLoadStateReaction.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 pqLoadStateReaction_h
5
#define pqLoadStateReaction_h
6
7
#include "
pqReaction.h
"
8
#include "
vtkType.h
"
9
10
class
pqServer
;
11
16
class
pqServer
;
17
class
PQAPPLICATIONCOMPONENTS_EXPORT
pqLoadStateReaction
:
public
pqReaction
18
{
19
Q_OBJECT
20
typedef
pqReaction
Superclass
;
21
22
public
:
26
pqLoadStateReaction
(QAction* parent);
27
34
static
void
loadState(
const
QString& filename,
bool
dialogBlocked =
false
,
35
pqServer
* server =
nullptr
, vtkTypeUInt32
location
= 0x10
/*vtkPVSession::CLIENT*/
);
36
static
void
loadState();
37
41
static
void
activateView();
42
43
public
Q_SLOTS:
// NOLINT(readability-redundant-access-specifiers)
47
void
updateEnableState
()
override
;
48
49
protected
:
53
void
onTriggered
()
override
{
pqLoadStateReaction::loadState
(); }
54
55
private
:
56
Q_DISABLE_COPY(
pqLoadStateReaction
)
57
};
58
59
#endif
pqLoadStateReaction::loadState
static void loadState()
pqReaction.h
pqLoadStateReaction::onTriggered
void onTriggered() override
Called when the action is triggered.
Definition:
pqLoadStateReaction.h:53
vtkType.h
pqServer
pqServer (should be renamed to pqSession) is a pqServerManagerModelItem subclass that represents a vt...
Definition:
pqServer.h:35
pqLoadStateReaction
Definition:
pqLoadStateReaction.h:17
pqReaction::updateEnableState
virtual void updateEnableState()
Definition:
pqReaction.h:48
location
location
pqReaction
Definition:
pqReaction.h:25
Generated by
1.8.17 on Wed Mar 27 2024