src
paraview-5.12
Qt
ApplicationComponents
pqIgnoreSourceTimeReaction.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 pqIgnoreSourceTimeReaction_h
5
#define pqIgnoreSourceTimeReaction_h
6
7
#include "
pqReaction.h
"
8
9
class
pqPipelineSource
;
10
16
class
PQAPPLICATIONCOMPONENTS_EXPORT
pqIgnoreSourceTimeReaction
:
public
pqReaction
17
{
18
Q_OBJECT
19
typedef
pqReaction
Superclass
;
20
21
public
:
22
pqIgnoreSourceTimeReaction
(QAction* parent);
23
27
static
void
ignoreSourceTime(
bool
ignore);
28
32
static
void
ignoreSourceTime(
pqPipelineSource
*,
bool
ignore);
33
34
public
Q_SLOTS:
// NOLINT(readability-redundant-access-specifiers)
38
void
updateEnableState
()
override
;
39
40
protected
:
44
void
onTriggered
()
override
45
{
46
pqIgnoreSourceTimeReaction::ignoreSourceTime
(this->
parentAction
()->isChecked());
47
}
48
49
private
:
50
Q_DISABLE_COPY(
pqIgnoreSourceTimeReaction
)
51
};
52
53
#endif
pqReaction.h
pqIgnoreSourceTimeReaction::onTriggered
void onTriggered() override
Called when the action is triggered.
Definition:
pqIgnoreSourceTimeReaction.h:44
pqReaction::parentAction
QAction * parentAction() const
Provides access to the parent action.
Definition:
pqReaction.h:40
pqIgnoreSourceTimeReaction
Definition:
pqIgnoreSourceTimeReaction.h:16
pqIgnoreSourceTimeReaction::ignoreSourceTime
static void ignoreSourceTime(bool ignore)
Ignore time from all selected sources.
pqPipelineSource
PQ representation for a vtkSMProxy that can be involved in a pipeline.
Definition:
pqPipelineSource.h:32
pqReaction::updateEnableState
virtual void updateEnableState()
Definition:
pqReaction.h:48
pqReaction
Definition:
pqReaction.h:25
Generated by
1.8.17 on Wed Mar 27 2024