ParaView
Public Slots | Public Member Functions | Protected Slots
pqAnimatablePropertiesComboBox Class Reference

pqAnimatablePropertiesComboBox is a combo box that can list the animatable properties of any proxy. More...

#include <pqAnimatablePropertiesComboBox.h>

List of all members.

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 ()
vtkSMProxysource () const
 Returns the source whose properties are currently being listed, if any.
vtkSMProxygetCurrentProxy () 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.

Detailed Description

pqAnimatablePropertiesComboBox is a combo box that can list the animatable properties of any proxy.

Definition at line 42 of file pqAnimatablePropertiesComboBox.h.


Constructor & Destructor Documentation

pqAnimatablePropertiesComboBox::pqAnimatablePropertiesComboBox ( QWidget *  parent = 0)
pqAnimatablePropertiesComboBox::~pqAnimatablePropertiesComboBox ( )

Member Function Documentation

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.


The documentation for this class was generated from the following file: