Public Member Functions | Protected Member Functions | List of all members
pqInputDataTypeDecorator Class Reference

pqInputDataTypeDecorator is a pqPropertyWidgetDecorator subclass. More...

#include <pqInputDataTypeDecorator.h>

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

Public Member Functions

 pqInputDataTypeDecorator (vtkPVXMLElement *config, pqPropertyWidget *parent)
 
 ~pqInputDataTypeDecorator () override
 
bool enableWidget () const override
 Overridden to enable/disable the widget based on input data type. More...
 
bool canShowWidget (bool show_advanced) const override
 Overriden to show or not the widget based on input data type. More...
 
- Public Member Functions inherited from pqPropertyWidgetDecorator
 pqPropertyWidgetDecorator (vtkPVXMLElement *xml, pqPropertyWidget *parent)
 Constructor. More...
 
 ~pqPropertyWidgetDecorator () override
 
pqPropertyWidgetparentWidget () const
 Returns the pqPropertyWidget parent. More...
 

Protected Member Functions

virtual bool processState () const
 
- Protected Member Functions inherited from pqPropertyWidgetDecorator
vtkPVXMLElementxml () const
 

Additional Inherited Members

- Signals inherited from pqPropertyWidgetDecorator
void visibilityChanged ()
 This signal is fired whenever the decorator has determined that the panel may need a refresh since the state of the system has changed which would deem changes in the widget visibility or enable state. More...
 
void enableStateChanged ()
 
- Static Public Member Functions inherited from pqPropertyWidgetDecorator
static pqPropertyWidgetDecoratorcreate (vtkPVXMLElement *xml, pqPropertyWidget *parent)
 Creates a new decorator, given the xml config and the parent pqPropertyWidget for the decorator. More...
 

Detailed Description

pqInputDataTypeDecorator is a pqPropertyWidgetDecorator subclass.

For certain properties, they should update the enable state based on input data types. For example, "Computer Gradients" in Contour filter should only be enabled when an input data type is a StructuredData. Please see vtkPVDataInformation::IsDataStructured() for structured types.

Definition at line 21 of file pqInputDataTypeDecorator.h.

Constructor & Destructor Documentation

◆ pqInputDataTypeDecorator()

pqInputDataTypeDecorator::pqInputDataTypeDecorator ( vtkPVXMLElement config,
pqPropertyWidget parent 
)

◆ ~pqInputDataTypeDecorator()

pqInputDataTypeDecorator::~pqInputDataTypeDecorator ( )
override

Member Function Documentation

◆ enableWidget()

bool pqInputDataTypeDecorator::enableWidget ( ) const
overridevirtual

Overridden to enable/disable the widget based on input data type.

Reimplemented from pqPropertyWidgetDecorator.

◆ canShowWidget()

bool pqInputDataTypeDecorator::canShowWidget ( bool  show_advanced) const
overridevirtual

Overriden to show or not the widget based on input data type.

Reimplemented from pqPropertyWidgetDecorator.

◆ processState()

virtual bool pqInputDataTypeDecorator::processState ( ) const
protectedvirtual

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