pqPropertyWidgetInterface.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 #ifndef pqPropertyWidgetInterface_h
5 #define pqPropertyWidgetInterface_h
6 
7 #include <QtPlugin>
8 
9 #include "pqComponentsModule.h"
10 
11 class pqPropertyWidget;
13 class vtkPVXMLElement;
14 class vtkSMProperty;
15 class vtkSMPropertyGroup;
16 class vtkSMProxy;
17 
24 class PQCOMPONENTS_EXPORT pqPropertyWidgetInterface
25 {
26 public:
27  // Destroys the property widget interface object.
28  virtual ~pqPropertyWidgetInterface();
29 
35  virtual pqPropertyWidget* createWidgetForProperty(
36  vtkSMProxy* proxy, vtkSMProperty* property, QWidget* parentWidget);
37 
43  virtual pqPropertyWidget* createWidgetForPropertyGroup(
44  vtkSMProxy* proxy, vtkSMPropertyGroup* group, QWidget* parentWidget);
45 
52  virtual pqPropertyWidgetDecorator* createWidgetDecorator(
53  const QString& type, vtkPVXMLElement* config, pqPropertyWidget* widget);
54 
58  virtual void createDefaultWidgetDecorators(pqPropertyWidget* widget);
59 };
60 
61 Q_DECLARE_INTERFACE(pqPropertyWidgetInterface, "com.kitware/paraview/propertywidget")
62 
63 #endif // pqPropertyWidgetInterface_h
pqPropertyWidgetInterface
pqPropertyWidgetInterface is part of the ParaView Plugin infrastructure that enables support for plug...
Definition: pqPropertyWidgetInterface.h:24
type
type
Q_DECLARE_INTERFACE
Q_DECLARE_INTERFACE(pqViewFrameActionsInterface, "com.kitware/paraview/viewframeactions")
pqPropertyWidget
pqPropertyWidget represents a widget created for each property of a proxy on the pqPropertiesPanel (f...
Definition: pqPropertyWidget.h:25
vtkSMProperty
superclass for all SM properties
Definition: vtkSMProperty.h:144
vtkSMProxy
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:140
pqPropertyWidgetDecorator
pqPropertyWidgetDecorator provides a mechanism to decorate pqPropertyWidget instances to add logic to...
Definition: pqPropertyWidgetDecorator.h:19
vtkSMPropertyGroup
Definition: vtkSMPropertyGroup.h:16
vtkPVXMLElement
Definition: vtkPVXMLElement.h:23