Public Member Functions | List of all members
pqStandardPropertyWidgetInterface Class Reference

pqStandardPropertyWidgetInterface provides a concrete implementation of pqPropertyWidget used by ParaView application. More...

#include <pqStandardPropertyWidgetInterface.h>

Inheritance diagram for pqStandardPropertyWidgetInterface:
Inheritance graph
[legend]
Collaboration diagram for pqStandardPropertyWidgetInterface:
Collaboration graph
[legend]

Public Member Functions

 pqStandardPropertyWidgetInterface (QObject *p=0)
 
 ~pqStandardPropertyWidgetInterface () override
 
pqPropertyWidgetcreateWidgetForProperty (vtkSMProxy *proxy, vtkSMProperty *property, QWidget *parentWidget) override
 Given a proxy and its property, create a widget for the same, if possible. More...
 
pqPropertyWidgetcreateWidgetForPropertyGroup (vtkSMProxy *proxy, vtkSMPropertyGroup *group, QWidget *parentWidget) override
 Given a proxy and its property group, create a widget for the same, of possible. More...
 
pqPropertyWidgetDecoratorcreateWidgetDecorator (const QString &type, vtkPVXMLElement *config, pqPropertyWidget *widget) override
 Given the type of the decorator and the pqPropertyWidget that needs to be decorated, create the pqPropertyWidgetDecorator instance, if possible. More...
 
void createDefaultWidgetDecorators (pqPropertyWidget *widget) override
 Create all default decorators for a specific widget. More...
 
- Public Member Functions inherited from pqPropertyWidgetInterface
virtual ~pqPropertyWidgetInterface ()
 

Detailed Description

pqStandardPropertyWidgetInterface provides a concrete implementation of pqPropertyWidget used by ParaView application.

It adds logic to create some of the custom widgets and decorators used by ParaView's Properties Panel.

Definition at line 43 of file pqStandardPropertyWidgetInterface.h.

Constructor & Destructor Documentation

◆ pqStandardPropertyWidgetInterface()

pqStandardPropertyWidgetInterface::pqStandardPropertyWidgetInterface ( QObject *  p = 0)

◆ ~pqStandardPropertyWidgetInterface()

pqStandardPropertyWidgetInterface::~pqStandardPropertyWidgetInterface ( )
override

Member Function Documentation

◆ createWidgetForProperty()

pqPropertyWidget* pqStandardPropertyWidgetInterface::createWidgetForProperty ( vtkSMProxy proxy,
vtkSMProperty property,
QWidget *  parentWidget 
)
overridevirtual

Given a proxy and its property, create a widget for the same, if possible.

For unsupported/unknown proxies/properties, implementations should simply return nullptr without raising any errors (or messages). Supported types are:

Reimplemented from pqPropertyWidgetInterface.

◆ createWidgetForPropertyGroup()

pqPropertyWidget* pqStandardPropertyWidgetInterface::createWidgetForPropertyGroup ( vtkSMProxy proxy,
vtkSMPropertyGroup group,
QWidget *  parentWidget 
)
overridevirtual

Given a proxy and its property group, create a widget for the same, of possible.

For unsupported/unknown proxies/property-groups, implementations should simply return nullptr without raising any errors (or messages). Supported types are:

Reimplemented from pqPropertyWidgetInterface.

◆ createWidgetDecorator()

pqPropertyWidgetDecorator* pqStandardPropertyWidgetInterface::createWidgetDecorator ( const QString &  type,
vtkPVXMLElement config,
pqPropertyWidget widget 
)
overridevirtual

Given the type of the decorator and the pqPropertyWidget that needs to be decorated, create the pqPropertyWidgetDecorator instance, if possible.

For unsupported/unknown, implementations should simply return nullptr without raising any errors (or messages). Supported types are:

Reimplemented from pqPropertyWidgetInterface.

◆ createDefaultWidgetDecorators()

void pqStandardPropertyWidgetInterface::createDefaultWidgetDecorators ( pqPropertyWidget widget)
overridevirtual

Create all default decorators for a specific widget.

Created decorators are:

Reimplemented from pqPropertyWidgetInterface.


The documentation for this class was generated from the following file: