src
paraview-5.12
Qt
Components
pqCalculatorWidget.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 pqCalculatorWidget_h
5
#define pqCalculatorWidget_h
6
7
#include "
pqPropertyWidget.h
"
8
20
class
PQCOMPONENTS_EXPORT
pqCalculatorWidget
:
public
pqPropertyWidget
21
{
22
Q_OBJECT
23
typedef
pqPropertyWidget
Superclass
;
24
25
public
:
26
pqCalculatorWidget
(
vtkSMProxy
* proxy,
vtkSMProperty
* property, QWidget* parent =
nullptr
);
27
~
pqCalculatorWidget
()
override
;
28
29
protected
Q_SLOTS:
33
void
variableChosen(QAction* action);
34
38
void
buttonPressed(
const
QString&);
39
43
void
updateVariableNames();
44
void
updateVariables(
const
QString&
mode
);
45
49
void
updateButtons();
50
51
private
:
52
Q_DISABLE_COPY(
pqCalculatorWidget
)
53
54
class
pqInternals;
55
pqInternals* Internals;
56
};
57
58
#endif
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
vtkSMProxy
proxy for a VTK object(s) on a server
Definition:
vtkSMProxy.h:140
pqPropertyWidget.h
pqCalculatorWidget
pqCalculatorWidget is a property-widget that can shows a calculator-like UI for the property.
Definition:
pqCalculatorWidget.h:20
mode
mode
Generated by
1.8.17 on Wed Mar 27 2024