pqColorEditorPropertyWidget.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
3 #ifndef pqColorEditorPropertyWidget_h
4 #define pqColorEditorPropertyWidget_h
5 
6 #include "pqApplicationComponentsModule.h"
7 #include "pqPropertyWidget.h"
8 
14 class PQAPPLICATIONCOMPONENTS_EXPORT pqColorEditorPropertyWidget : public pqPropertyWidget
15 {
16  Q_OBJECT
17 public:
19 
20  pqColorEditorPropertyWidget(vtkSMProxy* proxy, QWidget* parent = nullptr);
21  ~pqColorEditorPropertyWidget() override;
22 
23 private Q_SLOTS:
24  void updateEnableState();
25 
26 private: // NOLINT(readability-redundant-access-specifiers)
27  class pqInternals;
28  pqInternals* Internals;
29 
30  Q_DISABLE_COPY(pqColorEditorPropertyWidget)
31 };
32 
33 #endif // pqColorEditorPropertyWidget_h
pqPropertyWidget
pqPropertyWidget represents a widget created for each property of a proxy on the pqPropertiesPanel (f...
Definition: pqPropertyWidget.h:25
vtkSMProxy
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:140
pqPropertyWidget.h
pqColorEditorPropertyWidget
This is a pqPropertyWidget subclass that presents a widget to edit the color of a representation and ...
Definition: pqColorEditorPropertyWidget.h:14
pqColorEditorPropertyWidget::Superclass
pqPropertyWidget Superclass
Definition: pqColorEditorPropertyWidget.h:18