33 #ifndef _pqSMAdaptor_h 34 #define _pqSMAdaptor_h 40 #include "pqCoreModule.h" 108 static QList<pqSMProxy> getProxyListProperty(
vtkSMProperty* Property);
113 static void setProxyListProperty(
vtkSMProperty* Property, QList<pqSMProxy> Value);
118 static QList<pqSMProxy> getProxyPropertyDomain(
vtkSMProperty* Property);
123 static QList<QList<QVariant> > getSelectionProperty(
128 static QList<QVariant> getSelectionProperty(
129 vtkSMProperty* Property,
unsigned int Index, PropertyValueType Type = CHECKED);
133 static void setSelectionProperty(
134 vtkSMProperty* Property, QList<QList<QVariant> > Value, PropertyValueType Type = CHECKED);
141 static void setSelectionProperty(
142 vtkSMProperty* Property, QList<QVariant> Value, PropertyValueType Type = CHECKED);
147 static QList<QVariant> getSelectionPropertyDomain(
vtkSMProperty* Property);
152 static QVariant getEnumerationProperty(
vtkSMProperty* Property, PropertyValueType Type = CHECKED);
156 static void setEnumerationProperty(
157 vtkSMProperty* Property, QVariant Value, PropertyValueType Type = CHECKED);
161 static QList<QVariant> getEnumerationPropertyDomain(
vtkSMProperty* Property);
166 static QVariant getElementProperty(
vtkSMProperty* Property, PropertyValueType Type = CHECKED);
170 static void setElementProperty(
171 vtkSMProperty* Property, QVariant Value, PropertyValueType Type = CHECKED);
175 static QList<QVariant> getElementPropertyDomain(
vtkSMProperty* Property);
180 static QList<QVariant> getMultipleElementProperty(
185 static void setMultipleElementProperty(
186 vtkSMProperty* Property, QList<QVariant> Value, PropertyValueType Type = CHECKED);
191 static QList<QList<QVariant> > getMultipleElementPropertyDomain(
vtkSMProperty* Property);
197 static QVariant getMultipleElementProperty(
198 vtkSMProperty* Property,
unsigned int Index, PropertyValueType Type = CHECKED);
203 static void setMultipleElementProperty(
204 vtkSMProperty* Property,
unsigned int Index, QVariant Value, PropertyValueType Type = CHECKED);
210 static QList<QVariant> getMultipleElementPropertyDomain(
216 static QStringList getFileListProperty(
vtkSMProperty* Property, PropertyValueType Type = CHECKED);
220 static void setFileListProperty(
221 vtkSMProperty* Property, QStringList Value, PropertyValueType Type = CHECKED);
228 static QList<QString> getDomainTypes(
vtkSMProperty* property);
233 static void clearUncheckedProperties(
vtkSMProperty* property);
238 static QVariant convertToQVariant(
const vtkVariant& variant);
241 #endif // !_pqSMAdaptor_h
Translates server manager events into Qt-compatible slots and signals.
PropertyType
enumeration for types of properties this class handles
superclass for all SM properties
proxy for a VTK object(s) on a server