ParaView
Public Member Functions | List of all members
pqGenericPropertyWidgetDecorator Class Reference

pqGenericPropertyWidgetDecorator is a pqPropertyWidgetDecorator that supports multiple common use-cases from a pqPropertyWidgetDecorator. More...

#include <pqGenericPropertyWidgetDecorator.h>

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

Public Member Functions

 pqGenericPropertyWidgetDecorator (vtkPVXMLElement *config, pqPropertyWidget *parent)
 
virtual ~pqGenericPropertyWidgetDecorator ()
 
virtual bool canShowWidget (bool show_advanced) const
 Methods overridden from pqPropertyWidget. More...
 
virtual bool enableWidget () const
 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...
 
virtual ~pqPropertyWidgetDecorator ()
 
pqPropertyWidgetparentWidget () 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 ()
 
- Protected Member Functions inherited from pqPropertyWidgetDecorator
vtkPVXMLElementxml () const
 

Detailed Description

pqGenericPropertyWidgetDecorator is a pqPropertyWidgetDecorator that supports multiple common use-cases from a pqPropertyWidgetDecorator.

The use-cases supported are as follows:

Definition at line 53 of file pqGenericPropertyWidgetDecorator.h.

Constructor & Destructor Documentation

§ pqGenericPropertyWidgetDecorator()

pqGenericPropertyWidgetDecorator::pqGenericPropertyWidgetDecorator ( vtkPVXMLElement config,
pqPropertyWidget parent 
)

§ ~pqGenericPropertyWidgetDecorator()

virtual pqGenericPropertyWidgetDecorator::~pqGenericPropertyWidgetDecorator ( )
virtual

Member Function Documentation

§ canShowWidget()

virtual bool pqGenericPropertyWidgetDecorator::canShowWidget ( bool  show_advanced) const
virtual

Methods overridden from pqPropertyWidget.

Reimplemented from pqPropertyWidgetDecorator.

§ enableWidget()

virtual bool pqGenericPropertyWidgetDecorator::enableWidget ( ) const
virtual

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.


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