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 
7 #include "pqPropertyWidget.h"
8 
9 #include <QScopedPointer>
10 
17 {
18  Q_OBJECT
19 public:
21 
22  pqColorEditorPropertyWidget(vtkSMProxy* proxy, QWidget* parent = nullptr,
23  int selectedPropertiesType = 0 /*Representation*/);
24  ~pqColorEditorPropertyWidget() override;
25 
26 private Q_SLOTS:
27  void updateBlockBasedEnableState();
28 
29  void updateEnableState();
30 
31 private: // NOLINT(readability-redundant-access-specifiers)
32  class pqInternals;
33  QScopedPointer<pqInternals> Internals;
34 
35  Q_DISABLE_COPY(pqColorEditorPropertyWidget)
36 };
37 
38 #endif // pqColorEditorPropertyWidget_h
pqPropertyWidget represents a widget created for each property of a proxy on the pqPropertiesPanel (f...
#define PQAPPLICATIONCOMPONENTS_EXPORT
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:140
This is a pqPropertyWidget subclass that presents a widget to edit the color of a representation and ...