pqStandardPropertyWidgetInterface.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 pqStandardPropertyWidgetInterface_h
5 #define pqStandardPropertyWidgetInterface_h
6 
7 #include "pqApplicationComponentsModule.h"
9 
15 class PQAPPLICATIONCOMPONENTS_EXPORT pqStandardPropertyWidgetInterface
16  : public QObject
18 {
19  Q_OBJECT
20  Q_INTERFACES(pqPropertyWidgetInterface)
21 public:
22  pqStandardPropertyWidgetInterface(QObject* p = nullptr);
24 
58  vtkSMProxy* proxy, vtkSMProperty* property, QWidget* parentWidget) override;
59 
90  vtkSMProxy* proxy, vtkSMPropertyGroup* group, QWidget* parentWidget) override;
91 
109  const QString& type, vtkPVXMLElement* config, pqPropertyWidget* widget) override;
110 
116  void createDefaultWidgetDecorators(pqPropertyWidget* widget) override;
117 };
118 
119 #endif // pqStandardPropertyWidgetInterface_h
pqStandardPropertyWidgetInterface
pqStandardPropertyWidgetInterface provides a concrete implementation of pqPropertyWidget used by Para...
Definition: pqStandardPropertyWidgetInterface.h:15
pqPropertyWidgetInterface
pqPropertyWidgetInterface is part of the ParaView Plugin infrastructure that enables support for plug...
Definition: pqPropertyWidgetInterface.h:24
type
type
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
pqPropertyWidgetInterface::createWidgetForProperty
virtual pqPropertyWidget * createWidgetForProperty(vtkSMProxy *proxy, vtkSMProperty *property, QWidget *parentWidget)
Given a proxy and its property, create a widget for the same, of possible.
pqPropertyWidgetInterface.h
vtkPVXMLElement
Definition: vtkPVXMLElement.h:23
pqPropertyWidgetInterface::createWidgetForPropertyGroup
virtual pqPropertyWidget * createWidgetForPropertyGroup(vtkSMProxy *proxy, vtkSMPropertyGroup *group, QWidget *parentWidget)
Given a proxy and its property group, create a widget for the same, of possible.
pqPropertyWidgetInterface::createDefaultWidgetDecorators
virtual void createDefaultWidgetDecorators(pqPropertyWidget *widget)
Create all default decorators for a specific widget.
pqPropertyWidgetInterface::createWidgetDecorator
virtual pqPropertyWidgetDecorator * createWidgetDecorator(const QString &type, vtkPVXMLElement *config, pqPropertyWidget *widget)
Given the type of the decorator and the pqPropertyWidget that needs to be decorated,...