pqPropertyWidgetDecorator subclass that can combine multiple decorators using boolean operations. More...
#include <pqCompositePropertyWidgetDecorator.h>
Public Member Functions | |
pqCompositePropertyWidgetDecorator (vtkPVXMLElement *xml, pqPropertyWidget *parent) | |
~pqCompositePropertyWidgetDecorator () override | |
bool | canShowWidget (bool show_advanced) const override |
Override this method to override the visibility of the widget in the panel. 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... | |
Friends | |
class | pqInternals |
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 |
pqPropertyWidgetDecorator subclass that can combine multiple decorators using boolean operations.
pqCompositePropertyWidgetDecorator helps combine multiple decorators using boolean operators as indicated in the example below.
Definition at line 50 of file pqCompositePropertyWidgetDecorator.h.
pqCompositePropertyWidgetDecorator::pqCompositePropertyWidgetDecorator | ( | vtkPVXMLElement * | xml, |
pqPropertyWidget * | parent | ||
) |
|
override |
|
overridevirtual |
Override this method to override the visibility 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 invisible given the current state.
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.
|
friend |
Definition at line 67 of file pqCompositePropertyWidgetDecorator.h.