pqTransferFunctionWidgetPropertyWidget.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
3 #ifndef pqTransferFunctionWidgetPropertyWidget_h
4 #define pqTransferFunctionWidgetPropertyWidget_h
5 
6 #include "pqApplicationComponentsModule.h" // for export macros
7 #include "pqPropertyWidget.h"
8 
13 
21  : public pqPropertyWidget
22 {
23  Q_OBJECT
24 
25 public:
27  vtkSMProxy* proxy, vtkSMProperty* property, QWidget* parent = nullptr);
29 
31 
32 Q_SIGNALS:
33  void domainChanged();
34 
35 protected:
36  void UpdateProperty();
37 
38 protected Q_SLOTS: // NOLINT(readability-redundant-access-specifiers)
39  void editButtonClicked();
40  void propagateProxyPointsProperty();
41  void resetRangeToDomainDefault();
42 
46  void updateRange();
47 
51  void onRangeEdited();
52 
53 private:
54  vtkEventQtSlotConnect* Connection;
56  QDialog* Dialog;
58 
59  class pqInternals;
60  const QScopedPointer<pqInternals> Internals;
61 };
62 
63 #endif // pqTransferFunctionWidgetPropertyWidget_h
A property widget for editing a transfer function.
pqPropertyWidget represents a widget created for each property of a proxy on the pqPropertiesPanel (f...
vtkSMTransferFunctionProxy is the proxy used for "PVLookupTable", "ColorTransferFunction" and "Piecew...
#define PQAPPLICATIONCOMPONENTS_EXPORT
superclass for all SM properties
represents a ranged vtkSMTransferFunctionProxy
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:140