pqPropertyWidget that can be used for any proxy with a vtkSMProxyListDomain.
More...
#include <pqProxySelectionWidget.h>
|
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...
|
|
pqPropertyWidget that can be used for any proxy with a vtkSMProxyListDomain.
pqProxyPropertyWidget automatically creates this widget when it encounters a property with vtkSMProxyListDomain.
Definition at line 21 of file pqProxySelectionWidget.h.
◆ pqProxySelectionWidget()
pqProxySelectionWidget::pqProxySelectionWidget |
( |
vtkSMProperty * |
property, |
|
|
vtkSMProxy * |
proxy, |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
constructor requires the proxy, property.
Note that this will abort if the property does not have a ProxyListDomain.
◆ ~pqProxySelectionWidget()
pqProxySelectionWidget::~pqProxySelectionWidget |
( |
| ) |
|
|
override |
◆ chosenProxy()
vtkSMProxy* pqProxySelectionWidget::chosenProxy |
( |
| ) |
const |
◆ setChosenProxy()
void pqProxySelectionWidget::setChosenProxy |
( |
vtkSMProxy * |
proxy | ) |
|
◆ apply()
void pqProxySelectionWidget::apply |
( |
| ) |
|
|
overridevirtual |
◆ reset()
void pqProxySelectionWidget::reset |
( |
| ) |
|
|
overridevirtual |
◆ select()
void pqProxySelectionWidget::select |
( |
| ) |
|
|
overridevirtual |
These methods are called by pqPropertiesPanel when the panel for proxy becomes active/deactive.
Only widgets that have interactive widgets need to override these methods to select/deselect the interactive widgets. selectPort(int)
allows to specify an output port index and conditionnaly select the interactive widget if the XML hint WidgetVisibilityLink
has been set. Default implementation does nothing.
Reimplemented from pqPropertyWidget.
◆ deselect()
void pqProxySelectionWidget::deselect |
( |
| ) |
|
|
overridevirtual |
These methods are called by pqPropertiesPanel when the panel for proxy becomes active/deactive.
Only widgets that have interactive widgets need to override these methods to select/deselect the interactive widgets. selectPort(int)
allows to specify an output port index and conditionnaly select the interactive widget if the XML hint WidgetVisibilityLink
has been set. Default implementation does nothing.
Reimplemented from pqPropertyWidget.
◆ updateWidget()
void pqProxySelectionWidget::updateWidget |
( |
bool |
showing_advanced_properties | ) |
|
|
overridevirtual |
◆ setPanelVisibility()
void pqProxySelectionWidget::setPanelVisibility |
( |
const char * |
vis | ) |
|
|
overridevirtual |
◆ setView()
void pqProxySelectionWidget::setView |
( |
pqView * |
| ) |
|
|
overridevirtual |
◆ chosenProxyChanged
void pqProxySelectionWidget::chosenProxyChanged |
( |
| ) |
|
|
signal |
◆ chosenProxy
pqSMProxy pqProxySelectionWidget::chosenProxy |
|
readwrite |
The documentation for this class was generated from the following file: