ParaView
Public Slots | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes
pqComboBoxDomain Class Reference

combo box domain observers the domain for a combo box and updates accordingly the list of values in the combo box is automatically updated when the domain changes More...

#include <pqComboBoxDomain.h>

List of all members.

Public Slots

void domainChanged ()

Public Member Functions

 pqComboBoxDomain (QComboBox *p, vtkSMProperty *prop, const QString &domainName=QString())
 constructor requires a QComboBox, and the property with the domain to observe optionally pass in a domainName if a specific one needs to be watched
virtual ~pqComboBoxDomain ()
void forceDomainChanged ()
void addString (const QString &)
 Provides a mechanism to always add a set of strings to the combo box irrespective of what the domain tells us.
void insertString (int, const QString &)
void removeString (const QString &)
void removeAllStrings ()
vtkSMPropertygetProperty () const
vtkSMDomaingetDomain () const
const QString & getDomainName () const
const QStringList & getUserStrings () const

Protected Slots

virtual void internalDomainChanged ()

Protected Member Functions

void markForUpdate (bool mark)

Protected Attributes

pqInternal * Internal

Detailed Description

combo box domain observers the domain for a combo box and updates accordingly the list of values in the combo box is automatically updated when the domain changes

Definition at line 46 of file pqComboBoxDomain.h.


Constructor & Destructor Documentation

pqComboBoxDomain::pqComboBoxDomain ( QComboBox *  p,
vtkSMProperty prop,
const QString &  domainName = QString() 
)

constructor requires a QComboBox, and the property with the domain to observe optionally pass in a domainName if a specific one needs to be watched

virtual pqComboBoxDomain::~pqComboBoxDomain ( ) [virtual]

Member Function Documentation

void pqComboBoxDomain::forceDomainChanged ( ) [inline]

Definition at line 60 of file pqComboBoxDomain.h.

void pqComboBoxDomain::addString ( const QString &  )

Provides a mechanism to always add a set of strings to the combo box irrespective of what the domain tells us.

void pqComboBoxDomain::insertString ( int  ,
const QString &   
)
void pqComboBoxDomain::removeString ( const QString &  )
void pqComboBoxDomain::removeAllStrings ( )
vtkSMProperty* pqComboBoxDomain::getProperty ( ) const
vtkSMDomain* pqComboBoxDomain::getDomain ( ) const
const QString& pqComboBoxDomain::getDomainName ( ) const
const QStringList& pqComboBoxDomain::getUserStrings ( ) const
void pqComboBoxDomain::domainChanged ( ) [slot]
virtual void pqComboBoxDomain::internalDomainChanged ( ) [protected, virtual, slot]
void pqComboBoxDomain::markForUpdate ( bool  mark) [protected]

Member Data Documentation

pqInternal* pqComboBoxDomain::Internal [protected]

Definition at line 82 of file pqComboBoxDomain.h.


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