|
ParaView
|
pqAnimatablePropertiesComboBox is a combo box that can list the animatable properties of any proxy. More...
#include <pqAnimatablePropertiesComboBox.h>
Public Slots | |
| void | setSource (vtkSMProxy *proxy) |
| Set the source whose properties this widget should list. | |
| void | setSourceWithoutProperties (vtkSMProxy *proxy) |
| Set source without calling buildPropertyList() internally. | |
| void | addSMProperty (const QString &label, const QString &propertyname, int index) |
| Add a property to the widget. | |
Public Member Functions | |
| pqAnimatablePropertiesComboBox (QWidget *parent=0) | |
| ~pqAnimatablePropertiesComboBox () | |
| vtkSMProxy * | source () const |
| Returns the source whose properties are currently being listed, if any. | |
| vtkSMProxy * | getCurrentProxy () const |
| QString | getCurrentPropertyName () const |
| int | getCurrentIndex () const |
| void | setUseBlankEntry (bool b) |
| Sometimes, we want the combo to show a empty field that does not represent any property. | |
Protected Slots | |
| void | buildPropertyList () |
| Builds the property list. | |
pqAnimatablePropertiesComboBox is a combo box that can list the animatable properties of any proxy.
Definition at line 42 of file pqAnimatablePropertiesComboBox.h.
| pqAnimatablePropertiesComboBox::pqAnimatablePropertiesComboBox | ( | QWidget * | parent = 0 | ) |
| pqAnimatablePropertiesComboBox::~pqAnimatablePropertiesComboBox | ( | ) |
| vtkSMProxy* pqAnimatablePropertiesComboBox::source | ( | ) | const |
Returns the source whose properties are currently being listed, if any.
| vtkSMProxy* pqAnimatablePropertiesComboBox::getCurrentProxy | ( | ) | const |
| QString pqAnimatablePropertiesComboBox::getCurrentPropertyName | ( | ) | const |
| int pqAnimatablePropertiesComboBox::getCurrentIndex | ( | ) | const |
| void pqAnimatablePropertiesComboBox::setUseBlankEntry | ( | bool | b | ) | [inline] |
Sometimes, we want the combo to show a empty field that does not represent any property.
Set this to true to use such a field.
Definition at line 60 of file pqAnimatablePropertiesComboBox.h.
| void pqAnimatablePropertiesComboBox::setSource | ( | vtkSMProxy * | proxy | ) | [slot] |
Set the source whose properties this widget should list.
If source is null, the widget gets disabled.
| void pqAnimatablePropertiesComboBox::setSourceWithoutProperties | ( | vtkSMProxy * | proxy | ) | [slot] |
Set source without calling buildPropertyList() internally.
Thus the user will explicitly call addSMProperty to add properties.
| void pqAnimatablePropertiesComboBox::addSMProperty | ( | const QString & | label, |
| const QString & | propertyname, | ||
| int | index | ||
| ) | [slot] |
Add a property to the widget.
| void pqAnimatablePropertiesComboBox::buildPropertyList | ( | ) | [protected, slot] |
Builds the property list.
1.7.5.1