pqArrayListDomain is used to connect a widget showing a selection of arrays with its vtkSMArrayListDomain. More...
#include <pqArrayListDomain.h>
Inherits QObject.
Public Member Functions | |
pqArrayListDomain (QWidget *selectorWidget, const QString &qproperty, vtkSMProxy *proxy, vtkSMProperty *smproperty, vtkSMDomain *domain) | |
~pqArrayListDomain () override | |
pqArrayListDomain is used to connect a widget showing a selection of arrays with its vtkSMArrayListDomain.
Whenever the vtkSMArrayListDomain changes, the widget is "reset" to update using the property's new domain. This is useful for DescriptiveStatistics panel, for example. Whenever the attribute selection changes (i.e. user switches from cell-data to point-data), we need to update the widget's contents to show the list of array in the corresponding attribute. This class takes care of that.
Definition at line 24 of file pqArrayListDomain.h.
pqArrayListDomain::pqArrayListDomain | ( | QWidget * | selectorWidget, |
const QString & | qproperty, | ||
vtkSMProxy * | proxy, | ||
vtkSMProperty * | smproperty, | ||
vtkSMDomain * | domain | ||
) |
|
override |