src
paraview-5.12
Qt
Components
pqTextureSelectorPropertyWidget.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 pqTextureSelectorPropertyWidget_h
6
#define pqTextureSelectorPropertyWidget_h
7
8
#include "pqComponentsModule.h"
9
10
#include "
pqPropertyWidget.h
"
11
#include "
vtkNew.h
"
12
20
class
pqTextureComboBox
;
21
class
pqDataRepresentation
;
22
class
PQCOMPONENTS_EXPORT
pqTextureSelectorPropertyWidget
:
public
pqPropertyWidget
23
{
24
Q_OBJECT
25
26
public
:
27
pqTextureSelectorPropertyWidget
(
28
vtkSMProxy
* proxy,
vtkSMProperty
* property, QWidget* parent =
nullptr
);
29
~
pqTextureSelectorPropertyWidget
()
override
=
default
;
30
31
protected
Q_SLOTS:
32
void
onTextureChanged(
vtkSMProxy
* texture);
33
void
onPropertyChanged();
34
void
checkAttributes(
bool
tcoords,
bool
tangents);
35
36
private
:
37
vtkNew<vtkEventQtSlotConnect>
VTKConnector;
38
pqTextureComboBox
* Selector;
39
pqDataRepresentation
* Representation =
nullptr
;
40
pqView
* View =
nullptr
;
41
};
42
43
#endif // pqTextureSelectorPropertyWidget_h
pqView
This is a PQ abstraction of a generic view module.
Definition:
pqView.h:26
pqPropertyWidget
pqPropertyWidget represents a widget created for each property of a proxy on the pqPropertiesPanel (f...
Definition:
pqPropertyWidget.h:25
pqDataRepresentation
pqDataRepresentation is the superclass for a display for a pqPipelineSource i.e.
Definition:
pqDataRepresentation.h:24
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
pqTextureComboBox
Definition:
pqTextureComboBox.h:23
vtkNew< vtkEventQtSlotConnect >
vtkNew.h
pqTextureSelectorPropertyWidget
Definition:
pqTextureSelectorPropertyWidget.h:22
Generated by
1.8.17 on Wed Mar 27 2024