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;
23 {
24  Q_OBJECT
25 
26 public:
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
pqDataRepresentation is the superclass for a display for a pqPipelineSource i.e.
pqPropertyWidget represents a widget created for each property of a proxy on the pqPropertiesPanel (f...
#define PQCOMPONENTS_EXPORT
superclass for all SM properties
This is a PQ abstraction of a generic view module.
Definition: pqView.h:26
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:140