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 
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
pqPropertyWidget represents a widget created for each property of a proxy on the pqPropertiesPanel (f...
type
#define PQCOMPONENTS_EXPORT
pqPropertyWidgetInterface is part of the ParaView Plugin infrastructure that enables support for plug...
Q_DECLARE_INTERFACE(pqViewFrameActionsInterface, "com.kitware/paraview/viewframeactions")
superclass for all SM properties
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:140
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
pqPropertyWidgetDecorator provides a mechanism to decorate pqPropertyWidget instances to add logic to...