Signals | Public Member Functions | Protected Attributes | List of all members
pqBoolPropertyWidgetDecorator Class Reference

pqBoolPropertyWidgetDecorator is a base class for enable/disable or show/hide widgets based on the status of another property not directly controlled by the widget. More...

#include <pqBoolPropertyWidgetDecorator.h>

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

Signals

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 ()
 

Public Member Functions

 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...
 
virtual bool enableWidget () const
 Override this method to override the enable state of the widget in the panel. More...
 

Protected Attributes

vtkWeakPointer< vtkSMPropertyProperty
 
QString Function
 
int Index
 
unsigned long ObserverId
 
bool BoolProperty
 
QString Value
 

Additional Inherited Members

- 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
 

Detailed Description

pqBoolPropertyWidgetDecorator is a base class for enable/disable or show/hide widgets based on the status of another property not directly controlled by the widget.

Definition at line 16 of file pqBoolPropertyWidgetDecorator.h.

Constructor & Destructor Documentation

◆ pqBoolPropertyWidgetDecorator()

pqBoolPropertyWidgetDecorator::pqBoolPropertyWidgetDecorator ( vtkPVXMLElement config,
pqPropertyWidget parent 
)

◆ ~pqBoolPropertyWidgetDecorator()

pqBoolPropertyWidgetDecorator::~pqBoolPropertyWidgetDecorator ( )
override

Member Function Documentation

◆ isBoolProperty()

bool pqBoolPropertyWidgetDecorator::isBoolProperty ( ) const
inline

Definition at line 26 of file pqBoolPropertyWidgetDecorator.h.

◆ boolPropertyChanged

void pqBoolPropertyWidgetDecorator::boolPropertyChanged ( )
signal

Member Data Documentation

◆ Property

vtkWeakPointer<vtkSMProperty> pqBoolPropertyWidgetDecorator::Property
protected

Definition at line 32 of file pqBoolPropertyWidgetDecorator.h.

◆ Function

QString pqBoolPropertyWidgetDecorator::Function
protected

Definition at line 33 of file pqBoolPropertyWidgetDecorator.h.

◆ Index

int pqBoolPropertyWidgetDecorator::Index
protected

Definition at line 34 of file pqBoolPropertyWidgetDecorator.h.

◆ ObserverId

unsigned long pqBoolPropertyWidgetDecorator::ObserverId
protected

Definition at line 35 of file pqBoolPropertyWidgetDecorator.h.

◆ BoolProperty

bool pqBoolPropertyWidgetDecorator::BoolProperty
protected

Definition at line 36 of file pqBoolPropertyWidgetDecorator.h.

◆ Value

QString pqBoolPropertyWidgetDecorator::Value
protected

Definition at line 37 of file pqBoolPropertyWidgetDecorator.h.


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