Property widget that can be used to edit a proxy set as the value of a ProxyProperty in a pop-up dialog.
More...
|
template<class T > |
static QString | getXMLName (T *object) |
| Description: This static utility method returns the XML name for an object as a QString. More...
|
|
static QString | getTooltip (vtkSMProperty *property) |
| Returns the tooltip to use for the property. More...
|
|
static int | hintsWidgetHeightNumberOfRows (vtkPVXMLElement *hints, int defaultValue=10) |
| Helper method to return value from WidgetHeight XML hint, if any. More...
|
|
static std::vector< std::string > | parseComponentLabels (vtkPVXMLElement *hints, unsigned int elemCount=0) |
| Parse a XML element as a list of label to use for this widget. More...
|
|
void | addPropertyLink (QObject *qobject, const char *qproperty, const char *qsignal, vtkSMProperty *smproperty, int smindex=-1) |
|
void | addPropertyLink (QObject *qobject, const char *qproperty, const char *qsignal, vtkSMProxy *smproxy, vtkSMProperty *smproperty, int smindex=-1) |
|
void | removePropertyLink (QObject *qobject, const char *qproperty, const char *qsignal, vtkSMProperty *smproperty, int smindex=-1) |
|
void | removePropertyLink (QObject *qobject, const char *qproperty, const char *qsignal, vtkSMProxy *smproxy, vtkSMProperty *smproperty, int smindex=-1) |
|
void | setShowLabel (bool show) |
|
void | setChangeAvailableAsChangeFinished (bool status) |
| For most pqPropertyWidget subclasses a changeAvailable() signal, corresponds to a changeFinished() signal. More...
|
|
void | addDecorator (pqPropertyWidgetDecorator *) |
| Register a decorator. More...
|
|
void | removeDecorator (pqPropertyWidgetDecorator *) |
| Unregisters a decorator. More...
|
|
pqPropertyLinks & | links () |
| Provides access to the pqPropertyLinks instance. More...
|
|
Property widget that can be used to edit a proxy set as the value of a ProxyProperty in a pop-up dialog.
e.g. RenderView proxy has a "GridActor3D" ProxyProperty which is set to a "GridActor3D" proxy. Using this widget allows the users to edit the properties on this GridActor3D, when present.
To use this widget, add 'panel_widget="proxy_editor"' to the property's XML.
Since it's common to have a property on the proxy being edited in the popup dialog which controls its visibility (or enabled state), we add support for putting that property as a checkbox in this pqProxyEditorPropertyWidget itself. For that, one can use ProxyEditorPropertyWidget
hints.
Example XML:
<ProxyProperty name="AxesGrid" ... >
<ProxyListDomain name="proxy_list">
<Proxy group="annotations" name="GridAxes3DActor" />
</ProxyListDomain>
<Hints>
<ProxyEditorPropertyWidget property="Visibility" />
</Hints>
</ProxyProperty>
Definition at line 40 of file pqProxyEditorPropertyWidget.h.