32 #ifndef pqAnimatablePropertiesComboBox_h 33 #define pqAnimatablePropertiesComboBox_h 35 #include "pqComponentsModule.h" 45 typedef QComboBox Superclass;
52 vtkSMProxy* source()
const;
54 vtkSMProxy* getCurrentProxy()
const;
55 QString getCurrentPropertyName()
const;
56 int getCurrentIndex()
const;
60 bool getCollapseVectors()
const;
65 int getVectorSizeFilter()
const;
70 { this->UseBlankEntry = b;}
75 void setSource(vtkSMProxy* proxy);
79 void setSourceWithoutProperties(vtkSMProxy* proxy);
83 void setCollapseVectors(
bool val);
88 void setVectorSizeFilter(
int size);
91 void addSMProperty(
const QString& label,
const QString& propertyname,
int index);
95 void buildPropertyList();
100 void buildPropertyListInternal(vtkSMProxy* proxy,
const QString& labelPrefix);
101 void addSMPropertyInternal(
const QString& label,
102 vtkSMProxy* proxy,
const QString& propertyname,
int index,
103 bool is_display_property=
false,
unsigned int display_port=0);
106 void addDisplayProperties(vtkSMProxy* proxy);
111 pqInternal* Internal;
void setUseBlankEntry(bool b)
Sometimes, we want the combo to show a empty field that does not represent any property.
pqAnimatablePropertiesComboBox is a combo box that can list the animatable properties of any proxy...