ParaView
|
pqInputDataTypeDecorator is a pqPropertyWidgetDecorator subclass. More...
#include <pqInputDataTypeDecorator.h>
Public Member Functions | |
pqInputDataTypeDecorator (vtkPVXMLElement *config, pqPropertyWidget *parent) | |
virtual | ~pqInputDataTypeDecorator () |
virtual bool | enableWidget () const |
Overridden to enable/disable the widget based on input data type. More... | |
![]() | |
pqPropertyWidgetDecorator (vtkPVXMLElement *xml, pqPropertyWidget *parent) | |
Constructor. More... | |
virtual | ~pqPropertyWidgetDecorator () |
pqPropertyWidget * | parentWidget () const |
Returns the pqPropertyWidget parent. More... | |
virtual bool | canShowWidget (bool show_advanced) const |
Override this method to override the visibility of the widget in the panel. More... | |
Additional Inherited Members | |
![]() | |
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 () |
![]() | |
vtkPVXMLElement * | xml () const |
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 49 of file pqInputDataTypeDecorator.h.
pqInputDataTypeDecorator::pqInputDataTypeDecorator | ( | vtkPVXMLElement * | config, |
pqPropertyWidget * | parent | ||
) |
|
virtual |
|
virtual |
Overridden to enable/disable the widget based on input data type.
Reimplemented from pqPropertyWidgetDecorator.