pqInputDataTypeDecorator is a pqPropertyWidgetDecorator subclass. More...
#include <pqInputDataTypeDecorator.h>
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 | |
pqPropertyWidget * | parentWidget () const |
Returns the pqPropertyWidget parent. More... | |
Protected Member Functions | |
virtual bool | processState () const |
Protected Member Functions inherited from pqPropertyWidgetDecorator | |
vtkPVXMLElement * | xml () 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 pqPropertyWidgetDecorator * | create (vtkPVXMLElement *xml, pqPropertyWidget *parent) |
Creates a new decorator, given the xml config and the parent pqPropertyWidget for the decorator. More... | |
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.
pqInputDataTypeDecorator::pqInputDataTypeDecorator | ( | vtkPVXMLElement * | config, |
pqPropertyWidget * | parent | ||
) |
|
override |
|
overridevirtual |
Overridden to enable/disable the widget based on input data type.
Reimplemented from pqPropertyWidgetDecorator.
|
overridevirtual |
Overriden to show or not the widget based on input data type.
Reimplemented from pqPropertyWidgetDecorator.
|
protectedvirtual |