pqPropertyWidgetDecorator provides a mechanism to decorate pqPropertyWidget instances to add logic to the widget to add additional control logic.
More...
#include <pqPropertyWidgetDecorator.h>
|
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 () |
|
pqPropertyWidgetDecorator provides a mechanism to decorate pqPropertyWidget instances to add logic to the widget to add additional control logic.
Subclasses can be used to logic to control when the widget is enabled/disabled, hidden/visible, etc. based on values of other properties of UI elements.
Definition at line 19 of file pqPropertyWidgetDecorator.h.
◆ pqPropertyWidgetDecorator()
Constructor.
- Parameters
-
xml | The XML element from the <Hints/> section for the proxy/property that resulted in the creation of the decorator. Decorators can be provided configuration parameters from the XML. |
parent | Parent widget |
◆ ~pqPropertyWidgetDecorator()
pqPropertyWidgetDecorator::~pqPropertyWidgetDecorator |
( |
| ) |
|
|
override |
◆ parentWidget()
◆ canShowWidget()
virtual bool pqPropertyWidgetDecorator::canShowWidget |
( |
bool |
show_advanced | ) |
const |
|
inlinevirtual |
◆ enableWidget()
virtual bool pqPropertyWidgetDecorator::enableWidget |
( |
| ) |
const |
|
inlinevirtual |
◆ create()
Creates a new decorator, given the xml config and the parent pqPropertyWidget for the decorator.
◆ visibilityChanged
void pqPropertyWidgetDecorator::visibilityChanged |
( |
| ) |
|
|
signal |
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.
◆ enableStateChanged
void pqPropertyWidgetDecorator::enableStateChanged |
( |
| ) |
|
|
signal |
◆ xml()
The documentation for this class was generated from the following file: