Public Member Functions | List of all members
pqEnableWidgetDecorator Class Reference

pqEnableWidgetDecorator can be used to enable/disable a widget based on the status of another property not directly controlled by the widget. More...

#include <pqEnableWidgetDecorator.h>

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

Public Member Functions

 pqEnableWidgetDecorator (vtkPVXMLElement *config, pqPropertyWidget *parent)
 
bool enableWidget () const override
 overridden from pqPropertyWidget. More...
 
- Public Member Functions inherited from pqBoolPropertyWidgetDecorator
 pqBoolPropertyWidgetDecorator (vtkPVXMLElement *config, pqPropertyWidget *parent)
 
 ~pqBoolPropertyWidgetDecorator () override
 
bool isBoolProperty () const
 
- Public Member Functions inherited from pqPropertyWidgetDecorator
 pqPropertyWidgetDecorator (vtkPVXMLElement *xml, pqPropertyWidget *parent)
 Constructor. More...
 
 ~pqPropertyWidgetDecorator () override
 
pqPropertyWidgetparentWidget () 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

- Signals inherited from pqBoolPropertyWidgetDecorator
void boolPropertyChanged ()
 
- 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 pqPropertyWidgetDecoratorcreate (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
vtkPVXMLElementxml () const
 
- Protected Attributes inherited from pqBoolPropertyWidgetDecorator
vtkWeakPointer< vtkSMPropertyProperty
 
QString Function
 
int Index
 
unsigned long ObserverId
 
bool BoolProperty
 
QString Value
 

Detailed Description

pqEnableWidgetDecorator can be used to enable/disable a widget based on the status of another property not directly controlled by the widget.

Definition at line 43 of file pqEnableWidgetDecorator.h.

Constructor & Destructor Documentation

◆ pqEnableWidgetDecorator()

pqEnableWidgetDecorator::pqEnableWidgetDecorator ( vtkPVXMLElement config,
pqPropertyWidget parent 
)

Member Function Documentation

◆ enableWidget()

bool pqEnableWidgetDecorator::enableWidget ( ) const
inlineoverridevirtual

overridden from pqPropertyWidget.

Reimplemented from pqPropertyWidgetDecorator.

Definition at line 54 of file pqEnableWidgetDecorator.h.


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