src
paraview-5.12
Qt
Components
pqDoubleVectorPropertyWidget.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
5
#ifndef pqDoubleVectorPropertyWidget_h
6
#define pqDoubleVectorPropertyWidget_h
7
8
#include "
pqPropertyWidget.h
"
9
10
class
PQCOMPONENTS_EXPORT
pqDoubleVectorPropertyWidget
:
public
pqPropertyWidget
11
{
12
Q_OBJECT
13
typedef
pqPropertyWidget
Superclass
;
14
15
public
:
16
pqDoubleVectorPropertyWidget
(
17
vtkSMProperty
* property,
vtkSMProxy
* proxy, QWidget* parent =
nullptr
);
18
19
~
pqDoubleVectorPropertyWidget
()
override
;
20
21
// Overridden to clear highlights from the pqHighlightablePushButton.
22
void
apply
()
override
;
23
void
reset
()
override
;
24
25
Q_SIGNALS:
29
void
clearHighlight();
30
void
highlightResetButton();
31
32
protected
Q_SLOTS:
36
virtual
void
resetButtonClicked();
37
38
void
scaleHalf();
39
void
scaleTwice();
40
void
scale
(
double
);
41
45
void
resetToActiveDataBounds();
46
50
void
resetToBounds(
const
double
bds[6]);
51
52
private
:
53
Q_DISABLE_COPY(
pqDoubleVectorPropertyWidget
)
54
};
55
56
#endif // pqDoubleVectorPropertyWidget_h
scale
scale
pqPropertyWidget
pqPropertyWidget represents a widget created for each property of a proxy on the pqPropertiesPanel (f...
Definition:
pqPropertyWidget.h:25
vtkSMProperty
superclass for all SM properties
Definition:
vtkSMProperty.h:144
pqDoubleVectorPropertyWidget
Definition:
pqDoubleVectorPropertyWidget.h:10
vtkSMProxy
proxy for a VTK object(s) on a server
Definition:
vtkSMProxy.h:140
pqPropertyWidget.h
pqPropertyWidget::apply
virtual void apply()
pqPropertyWidget::reset
virtual void reset()
Generated by
1.8.17 on Wed Mar 27 2024