pqGenericPropertyWidgetDecorator is a pqPropertyWidgetDecorator that supports multiple common use cases from a pqPropertyWidgetDecorator. More...
#include <pqGenericPropertyWidgetDecorator.h>
Public Member Functions | |
pqGenericPropertyWidgetDecorator (vtkPVXMLElement *config, pqPropertyWidget *parent) | |
~pqGenericPropertyWidgetDecorator () override | |
bool | canShowWidget (bool show_advanced) const override |
Methods overridden from pqPropertyWidget. More... | |
bool | enableWidget () const override |
Override this method to override the enable state of the widget in the panel. More... | |
Public Member Functions inherited from pqPropertyWidgetDecorator | |
pqPropertyWidgetDecorator (vtkPVXMLElement *xml, pqPropertyWidget *parent) | |
Constructor. More... | |
~pqPropertyWidgetDecorator () override | |
pqPropertyWidget * | parentWidget () const |
Returns the pqPropertyWidget parent. More... | |
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... | |
Protected Member Functions inherited from pqPropertyWidgetDecorator | |
vtkPVXMLElement * | xml () const |
pqGenericPropertyWidgetDecorator is a pqPropertyWidgetDecorator that supports multiple common use cases from a pqPropertyWidgetDecorator.
The use cases supported are as follows:
Definition at line 27 of file pqGenericPropertyWidgetDecorator.h.
pqGenericPropertyWidgetDecorator::pqGenericPropertyWidgetDecorator | ( | vtkPVXMLElement * | config, |
pqPropertyWidget * | parent | ||
) |
|
override |
|
overridevirtual |
Methods overridden from pqPropertyWidget.
Reimplemented from pqPropertyWidgetDecorator.
|
overridevirtual |
Override this method to override the enable state of the widget in the panel.
This is called after the generic tests for advanced and text filtering are passed. Since there can be multiple decorators, the first decorator that returns 'false' wins. Default implementation returns true. Thus subclasses typically override this method only to force the widget disabled given the current state.
Reimplemented from pqPropertyWidgetDecorator.