ParaView
Public Slots | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
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>

Inherits QObject.

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 More...
 
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. More...
 
void insertString (int, const QString &)
 
void removeString (const QString &)
 
void removeAllStrings ()
 
vtkSMProperty * getProperty () const
 
vtkSMDomain * getDomain () 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::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

§ ~pqComboBoxDomain()

virtual pqComboBoxDomain::~pqComboBoxDomain ( )
virtual

Member Function Documentation

§ forceDomainChanged()

void pqComboBoxDomain::forceDomainChanged ( )
inline

Definition at line 60 of file pqComboBoxDomain.h.

§ addString()

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.

§ insertString()

void pqComboBoxDomain::insertString ( int  ,
const QString &   
)

§ removeString()

void pqComboBoxDomain::removeString ( const QString &  )

§ removeAllStrings()

void pqComboBoxDomain::removeAllStrings ( )

§ getProperty()

vtkSMProperty* pqComboBoxDomain::getProperty ( ) const

§ getDomain()

vtkSMDomain* pqComboBoxDomain::getDomain ( ) const

§ getDomainName()

const QString& pqComboBoxDomain::getDomainName ( ) const

§ getUserStrings()

const QStringList& pqComboBoxDomain::getUserStrings ( ) const

§ domainChanged

void pqComboBoxDomain::domainChanged ( )
slot

§ internalDomainChanged

virtual void pqComboBoxDomain::internalDomainChanged ( )
protectedvirtualslot

§ markForUpdate()

void pqComboBoxDomain::markForUpdate ( bool  mark)
protected

Member Data Documentation

§ Internal

pqInternal* pqComboBoxDomain::Internal
protected

Definition at line 82 of file pqComboBoxDomain.h.


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