33 #ifndef _pqSampleScalarWidget_h 34 #define _pqSampleScalarWidget_h 36 #include "pqComponentsModule.h" 40 #include <QModelIndex> 46 class vtkSMDoubleVectorProperty;
56 typedef QWidget Superclass;
59 Q_PROPERTY(QVariantList samples READ samples WRITE setSamples)
70 vtkSMDoubleVectorProperty* sample_property,
71 vtkSMProperty* range_property = 0);
80 QList<QVariant> samples();
83 void setSamples(QList<QVariant> samples);
86 void samplesChanged();
89 void onSamplesChanged();
90 void onSelectionChanged(
const QItemSelection&,
const QItemSelection&);
97 void onScientificNotation(
bool);
99 void onControlledPropertyChanged();
100 void onControlledPropertyDomainChanged();
106 bool getRange(
double& range_min,
double& range_max);
108 class pqImplementation;
109 pqImplementation*
const Implementation;
111 bool eventFilter(QObject *
object, QEvent *e);
114 #endif // !_pqSampleScalarWidget_h
vtkSmartPointer< vtkSMProxy > pqSMProxy
make pqSMProxy synonymous to a smart pointer of a vtkSMProxy