src
paraview-5.12
Qt
Components
pqInputSelectorWidget.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 pqInputSelectorWidget_h
5
#define pqInputSelectorWidget_h
6
7
#include "pqComponentsModule.h"
// for exports
8
#include "
pqPropertyWidget.h
"
9
#include "
pqSMProxy.h
"
// for pqSMProxy.
10
#include "pqTimer.h"
// for pqTimer
11
#include "
vtkSmartPointer.h
"
// for vtkSmartPointer
12
13
class
QComboBox;
14
class
vtkSMProxy
;
15
29
class
PQCOMPONENTS_EXPORT
pqInputSelectorWidget
:
public
pqPropertyWidget
30
{
31
Q_OBJECT
32
typedef
pqPropertyWidget
Superclass
;
33
Q_PROPERTY(
pqSMProxy
selectedInput READ selectedInput WRITE setSelectedInput)
34
35
public
:
36
pqInputSelectorWidget
(
vtkSMProxy
* proxy,
vtkSMProperty
* smproperty, QWidget* parent =
nullptr
);
37
~
pqInputSelectorWidget
()
override
;
38
43
pqSMProxy
selectedInput()
const
;
44
45
public
Q_SLOTS:
// NOLINT(readability-redundant-access-specifiers)
46
void
setSelectedInput(
pqSMProxy
);
47
48
Q_SIGNALS:
49
void
selectedInputChanged();
50
51
private
Q_SLOTS:
52
void
updateComboBox();
53
54
private
:
// NOLINT(readability-redundant-access-specifiers)
55
Q_DISABLE_COPY(
pqInputSelectorWidget
);
56
QComboBox* ComboBox;
57
vtkWeakPointer<vtkSMProxy>
ChosenPort;
58
pqTimer UpdateComboBoxTimer;
59
};
60
61
#endif
pqPropertyWidget
pqPropertyWidget represents a widget created for each property of a proxy on the pqPropertiesPanel (f...
Definition:
pqPropertyWidget.h:25
pqInputSelectorWidget
widget for input property to choose a pipeline input.
Definition:
pqInputSelectorWidget.h:29
vtkSmartPointer< vtkSMProxy >
vtkSMProperty
superclass for all SM properties
Definition:
vtkSMProperty.h:144
vtkSMProxy
proxy for a VTK object(s) on a server
Definition:
vtkSMProxy.h:140
pqSMProxy.h
pqPropertyWidget.h
vtkSmartPointer.h
vtkWeakPointer< vtkSMProxy >
Generated by
1.8.17 on Wed Mar 27 2024