src
paraview-5.12
Qt
ApplicationComponents
pqUseSeparateColorMapReaction.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 pqUseSeparateColorMapReaction_h
5
#define pqUseSeparateColorMapReaction_h
6
7
#include "
pqPropertyLinks.h
"
// For Links
8
#include "
pqReaction.h
"
9
#include <QPointer>
10
11
class
pqDataRepresentation
;
12
class
pqDisplayColorWidget
;
13
18
class
PQAPPLICATIONCOMPONENTS_EXPORT
pqUseSeparateColorMapReaction
:
public
pqReaction
19
{
20
Q_OBJECT
21
typedef
pqReaction
Superclass;
22
23
public
:
29
pqUseSeparateColorMapReaction
(
30
QAction* parent,
pqDisplayColorWidget
* colorWidget,
bool
track_active_objects =
true
);
31
~
pqUseSeparateColorMapReaction
()
override
;
32
36
pqDataRepresentation
* representation()
const
;
37
38
public
Q_SLOTS:
// NOLINT(readability-redundant-access-specifiers)
42
void
setRepresentation(
pqDataRepresentation
*);
43
44
protected
Q_SLOTS:
48
void
updateEnableState
()
override
;
49
53
void
onTriggered
()
override
;
54
55
private
:
56
Q_DISABLE_COPY(
pqUseSeparateColorMapReaction
)
57
58
pqPropertyLinks
Links;
59
QPointer<pqDataRepresentation> CachedRepresentation;
60
pqDisplayColorWidget
* ColorWidget;
61
bool
TrackActiveObjects;
62
bool
BlockSignals;
63
};
64
65
#endif
pqReaction.h
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
pqPropertyLinks.h
pqPropertyLinks
pqPropertyLinks is used to connect vtkSMProperty and subclasses to properties on QObject instances.
Definition:
pqPropertyLinks.h:38
pqUseSeparateColorMapReaction
Definition:
pqUseSeparateColorMapReaction.h:18
pqReaction::updateEnableState
virtual void updateEnableState()
Definition:
pqReaction.h:48
pqDisplayColorWidget
pqDisplayColorWidget is a widget that can be used to select the array to with for representations (al...
Definition:
pqDisplayColorWidget.h:28
pqReaction
Definition:
pqReaction.h:25
Generated by
1.8.17 on Wed Mar 27 2024