#include <pqSampleScalarWidget.h>
Inherits QWidget.
Signals | |
void | samplesChanged () |
Signal emitted whenever the set of samples changes. More... | |
Public Member Functions | |
pqSampleScalarWidget (bool preserve_order, QWidget *Parent=0) | |
~pqSampleScalarWidget () override | |
void | setDataSources (pqSMProxy controlled_proxy, vtkSMDoubleVectorProperty *sample_property, vtkSMProperty *range_property=0) |
Sets the server manager objects that will be controlled by the widget. More... | |
void | accept () |
Accept pending changes. More... | |
void | reset () |
Reset pending changes. More... | |
QList< QVariant > | samples () |
void | setSamples (QList< QVariant > samples) |
Properties | |
QVariantList | samples |
This class is left over from old properties panel.
Provides a standard user interface component for manipulating a list of scalar samples. Current uses include: specifying the set of "slices" for the Cut filter, and specifying the set of contour values for the Contour filter.
Definition at line 61 of file pqSampleScalarWidget.h.
pqSampleScalarWidget::pqSampleScalarWidget | ( | bool | preserve_order, |
QWidget * | Parent = 0 |
||
) |
|
override |
void pqSampleScalarWidget::setDataSources | ( | pqSMProxy | controlled_proxy, |
vtkSMDoubleVectorProperty * | sample_property, | ||
vtkSMProperty * | range_property = 0 |
||
) |
Sets the server manager objects that will be controlled by the widget.
void pqSampleScalarWidget::accept | ( | ) |
Accept pending changes.
void pqSampleScalarWidget::reset | ( | ) |
Reset pending changes.
QList<QVariant> pqSampleScalarWidget::samples | ( | ) |
void pqSampleScalarWidget::setSamples | ( | QList< QVariant > | samples | ) |
|
signal |
Signal emitted whenever the set of samples changes.
|
readwrite |
Definition at line 66 of file pqSampleScalarWidget.h.