pqPropertyWidget represents a widget created for each property of a proxy on the pqPropertiesPanel (for the proxy's properties or display properties).
More...
#include <pqPropertyWidget.h>
|
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...
|
|
pqPropertyWidget represents a widget created for each property of a proxy on the pqPropertiesPanel (for the proxy's properties or display properties).
Definition at line 54 of file pqPropertyWidget.h.
◆ pqPropertyWidget()
pqPropertyWidget::pqPropertyWidget |
( |
vtkSMProxy * |
proxy, |
|
|
QWidget * |
parent = 0 |
|
) |
| |
◆ ~pqPropertyWidget()
pqPropertyWidget::~pqPropertyWidget |
( |
| ) |
|
|
override |
◆ apply()
virtual void pqPropertyWidget::apply |
( |
| ) |
|
|
virtual |
◆ reset()
virtual void pqPropertyWidget::reset |
( |
| ) |
|
|
virtual |
◆ select()
virtual void pqPropertyWidget::select |
( |
| ) |
|
|
inlinevirtual |
◆ deselect()
virtual void pqPropertyWidget::deselect |
( |
| ) |
|
|
inlinevirtual |
◆ isSelected()
bool pqPropertyWidget::isSelected |
( |
| ) |
const |
|
inline |
◆ updateWidget()
virtual void pqPropertyWidget::updateWidget |
( |
bool |
showing_advanced_properties | ) |
|
|
inlinevirtual |
◆ view()
pqView* pqPropertyWidget::view |
( |
| ) |
const |
◆ proxy()
◆ property()
◆ panelVisibility()
virtual char* pqPropertyWidget::panelVisibility |
( |
| ) |
const |
|
virtual |
◆ setPanelVisibility()
virtual void pqPropertyWidget::setPanelVisibility |
( |
const char * |
vis | ) |
|
|
virtual |
◆ isSingleRowItem()
virtual bool pqPropertyWidget::isSingleRowItem |
( |
| ) |
const |
|
virtual |
Determines if the PropertyWidget must be constructed using a single row.
Originally intended for PropertyWidgets which are a group of other Propertywidgets, such as pqCheckableProperty. This mandates that when the widget is rendered, its label to be placed in the same row as the widget group.
- See also
- pqProxyWidgetItem::newGroupItem
Reimplemented in pqCheckableProperty.
◆ showLabel()
bool pqPropertyWidget::showLabel |
( |
| ) |
const |
◆ getXMLName()
template<class T >
static QString pqPropertyWidget::getXMLName |
( |
T * |
object | ) |
|
|
inlinestatic |
Description: This static utility method returns the XML name for an object as a QString.
This allows for code to get the XML name of an object without having to explicitly check for a possibly NULL char* pointer.
This is templated so that it will work with a variety of objects such as vtkSMProperty's and vtkSMDomain's. It can be called with anything that has a "char* GetXMLName()" method.
For example, to get the XML name of a vtkSMIntRangeDomain: QString name = pqPropertyWidget::getXMLName(domain);
Definition at line 127 of file pqPropertyWidget.h.
◆ decorators()
◆ getTooltip()
static QString pqPropertyWidget::getTooltip |
( |
vtkSMProperty * |
property | ) |
|
|
static |
Returns the tooltip to use for the property.
May return an empty string.
◆ hintsWidgetHeightNumberOfRows()
static int pqPropertyWidget::hintsWidgetHeightNumberOfRows |
( |
vtkPVXMLElement * |
hints, |
|
|
int |
defaultValue = 10 |
|
) |
| |
|
static |
Helper method to return value from WidgetHeight XML hint, if any.
<WidgetHeight number_of_rows="val">
,
◆ viewChanged
void pqPropertyWidget::viewChanged |
( |
pqView * |
view | ) |
|
|
signal |
This signal is emitted when the current view changes.
◆ changeAvailable
void pqPropertyWidget::changeAvailable |
( |
| ) |
|
|
signal |
This signal is fired as soon as the user starts editing in the widget.
The editing may not be complete.
◆ changeFinished
void pqPropertyWidget::changeFinished |
( |
| ) |
|
|
signal |
◆ restartRequired
void pqPropertyWidget::restartRequired |
( |
| ) |
|
|
signal |
Indicates that a restart of the program is required for the setting to take effect.
◆ setView
virtual void pqPropertyWidget::setView |
( |
pqView * |
| ) |
|
|
virtualslot |
◆ addPropertyLink() [1/2]
void pqPropertyWidget::addPropertyLink |
( |
QObject * |
qobject, |
|
|
const char * |
qproperty, |
|
|
const char * |
qsignal, |
|
|
vtkSMProperty * |
smproperty, |
|
|
int |
smindex = -1 |
|
) |
| |
|
protected |
◆ addPropertyLink() [2/2]
◆ removePropertyLink() [1/2]
void pqPropertyWidget::removePropertyLink |
( |
QObject * |
qobject, |
|
|
const char * |
qproperty, |
|
|
const char * |
qsignal, |
|
|
vtkSMProperty * |
smproperty, |
|
|
int |
smindex = -1 |
|
) |
| |
|
protected |
◆ removePropertyLink() [2/2]
◆ setShowLabel()
void pqPropertyWidget::setShowLabel |
( |
bool |
show | ) |
|
|
protected |
◆ setChangeAvailableAsChangeFinished()
void pqPropertyWidget::setChangeAvailableAsChangeFinished |
( |
bool |
status | ) |
|
|
inlineprotected |
◆ addDecorator()
◆ removeDecorator()
◆ links()
◆ setProperty()
◆ pqCompositePropertyWidgetDecorator
◆ pqPropertyWidgetDecorator
◆ pqProxyWidget
The documentation for this class was generated from the following file: