|
void | viewChanged (pqView *view) |
| This signal is emitted when the current view changes. More...
|
|
void | changeAvailable () |
| This signal is fired as soon as the user starts editing in the widget. More...
|
|
void | changeFinished () |
| This signal is fired as soon as the user is done with making an atomic change. More...
|
|
void | restartRequired () |
| Indicates that a restart of the program is required for the setting to take effect. 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...
|
|
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 for properties representing a checkable property.
pqCheckableProperty is designed for a specific use-case: a property that can be enabled or disabled by a checkbox. This is useful for optional properties since it restrains the user to use the property unless it is really needed.
Example proxy definition(s) that use this widget is as follows:
<ServerManagerConfiguration>
<ProxyGroup name="sources">
<SourceProxy name="CustomSource" class="vtkSphereSource">
<DoubleVectorProperty name="PropertyA"
number_of_elements="1"
default_values="0">
<DoubleRangeDomain name="range" min="0" max="10" />
</DoubleVectorProperty>
<IntVectorProperty name="EnablePropertyA"
number_of_elements="1"
default_values="0">
<BooleanDomain name="bool" />
</IntVectorProperty>
<PropertyGroup label="Property A" panel_widget="CheckableProperty">
<Property name="PropertyA" function="Property" />
<Property name="EnablePropertyA" function="PropertyCheckBox" />
</PropertyGroup>
</SourceProxy>
</ProxyGroup>
</ServerManagerConfiguration>
Definition at line 75 of file pqCheckableProperty.h.