pqAnimatablePropertiesComboBox is a combo box that can list the animatable properties of any proxy.
More...
#include <pqAnimatablePropertiesComboBox.h>
Inherits QComboBox.
pqAnimatablePropertiesComboBox is a combo box that can list the animatable properties of any proxy.
Definition at line 44 of file pqAnimatablePropertiesComboBox.h.
§ pqAnimatablePropertiesComboBox()
pqAnimatablePropertiesComboBox::pqAnimatablePropertiesComboBox |
( |
QWidget * |
parent = 0 | ) |
|
§ ~pqAnimatablePropertiesComboBox()
pqAnimatablePropertiesComboBox::~pqAnimatablePropertiesComboBox |
( |
| ) |
|
§ source()
vtkSMProxy* pqAnimatablePropertiesComboBox::source |
( |
| ) |
const |
Returns the source whose properties are currently being listed, if any.
§ getCurrentProxy()
vtkSMProxy* pqAnimatablePropertiesComboBox::getCurrentProxy |
( |
| ) |
const |
§ getCurrentPropertyName()
QString pqAnimatablePropertiesComboBox::getCurrentPropertyName |
( |
| ) |
const |
§ getCurrentIndex()
int pqAnimatablePropertiesComboBox::getCurrentIndex |
( |
| ) |
const |
§ getCollapseVectors()
bool pqAnimatablePropertiesComboBox::getCollapseVectors |
( |
| ) |
const |
If true, vector properties will have a single entry.
If false, each vector component will be displayed separately. Default: false.
§ getVectorSizeFilter()
int pqAnimatablePropertiesComboBox::getVectorSizeFilter |
( |
| ) |
const |
This class can filter the displayed properties to only show those with a specified number of components.
Returns the current filter settings. -1 means no filtering (default).
§ setUseBlankEntry()
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 79 of file pqAnimatablePropertiesComboBox.h.
§ setSource
void pqAnimatablePropertiesComboBox::setSource |
( |
vtkSMProxy * |
proxy | ) |
|
|
slot |
Set the source whose properties this widget should list.
If source is null, the widget gets disabled.
§ setSourceWithoutProperties
void pqAnimatablePropertiesComboBox::setSourceWithoutProperties |
( |
vtkSMProxy * |
proxy | ) |
|
|
slot |
Set source without calling buildPropertyList() internally.
Thus the user will explicitly call addSMProperty to add properties.
§ setCollapseVectors
void pqAnimatablePropertiesComboBox::setCollapseVectors |
( |
bool |
val | ) |
|
|
slot |
If true, vector properties will have a single entry.
If false, each vector component will be displayed separately. Default: false.
§ setVectorSizeFilter
void pqAnimatablePropertiesComboBox::setVectorSizeFilter |
( |
int |
size | ) |
|
|
slot |
This class can filter the displayed properties to only show those with a specified number of components.
Set the current filter setting. -1 means no filtering (default).
§ addSMProperty
void pqAnimatablePropertiesComboBox::addSMProperty |
( |
const QString & |
label, |
|
|
const QString & |
propertyname, |
|
|
int |
index |
|
) |
| |
|
slot |
Add a property to the widget.
§ buildPropertyList
void pqAnimatablePropertiesComboBox::buildPropertyList |
( |
| ) |
|
|
protectedslot |
Builds the property list.
The documentation for this class was generated from the following file: