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>
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 | |
pqPropertyWidget * | parentWidget () 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 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 |
Protected Attributes inherited from pqBoolPropertyWidgetDecorator | |
vtkWeakPointer< vtkSMProperty > | Property |
QString | Function |
int | Index |
unsigned long | ObserverId |
bool | BoolProperty |
QString | Value |
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 15 of file pqEnableWidgetDecorator.h.
pqEnableWidgetDecorator::pqEnableWidgetDecorator | ( | vtkPVXMLElement * | config, |
pqPropertyWidget * | parent | ||
) |
|
inlineoverridevirtual |
overridden from pqPropertyWidget.
Reimplemented from pqPropertyWidgetDecorator.
Definition at line 26 of file pqEnableWidgetDecorator.h.