src
paraview-5.12
Qt
ApplicationComponents
pqEditColorMapReaction.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 pqEditColorMapReaction_h
5
#define pqEditColorMapReaction_h
6
7
#include "
pqReaction.h
"
8
9
#include <QPointer>
10
11
class
pqPipelineRepresentation
;
12
class
pqDataRepresentation
;
13
18
class
PQAPPLICATIONCOMPONENTS_EXPORT
pqEditColorMapReaction
:
public
pqReaction
19
{
20
Q_OBJECT
21
typedef
pqReaction
Superclass
;
22
23
public
:
28
pqEditColorMapReaction
(QAction* parent,
bool
track_active_objects =
true
);
29
33
static
void
editColorMap(
pqPipelineRepresentation
* repr =
nullptr
);
34
35
public
Q_SLOTS:
// NOLINT(readability-redundant-access-specifiers)
39
void
updateEnableState
()
override
;
40
44
void
setRepresentation(
pqDataRepresentation
*);
45
46
protected
:
50
void
onTriggered
()
override
;
51
52
private
:
53
Q_DISABLE_COPY(
pqEditColorMapReaction
)
54
QPointer<pqPipelineRepresentation> Representation;
55
};
56
57
#endif
pqPipelineRepresentation
This is PQ representation for a single display.
Definition:
pqPipelineRepresentation.h:30
pqReaction.h
pqEditColorMapReaction
Definition:
pqEditColorMapReaction.h:18
pqReaction::onTriggered
virtual void onTriggered()
Called when the action is triggered.
Definition:
pqReaction.h:46
pqDataRepresentation
pqDataRepresentation is the superclass for a display for a pqPipelineSource i.e.
Definition:
pqDataRepresentation.h:24
pqReaction::updateEnableState
virtual void updateEnableState()
Definition:
pqReaction.h:48
pqReaction
Definition:
pqReaction.h:25
Generated by
1.8.17 on Wed Mar 27 2024