combo box domain observes the domain for a combo box and updates accordingly.
More...
#include <pqComboBoxDomain.h>
Inherits QObject.
|
static QIcon | getIcon (int fieldAssociation) |
| Returns an icon for the provided field association. More...
|
|
combo box domain observes 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 22 of file pqComboBoxDomain.h.
◆ pqComboBoxDomain()
constructor requires a QComboBox, and the property with the domain to observe.
optionally pass in a domain if a specific one needs to be watched
◆ ~pqComboBoxDomain()
pqComboBoxDomain::~pqComboBoxDomain |
( |
| ) |
|
|
override |
◆ forceDomainChanged()
void pqComboBoxDomain::forceDomainChanged |
( |
| ) |
|
|
inline |
◆ 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()
◆ getDomain()
◆ getUserStrings()
const QStringList& pqComboBoxDomain::getUserStrings |
( |
| ) |
const |
◆ getIcon()
static QIcon pqComboBoxDomain::getIcon |
( |
int |
fieldAssociation | ) |
|
|
static |
Returns an icon for the provided field association.
This isn't the best place for this API, but leaving this here for now.
◆ domainChanged
void pqComboBoxDomain::domainChanged |
( |
| ) |
|
|
slot |
◆ internalDomainChanged
virtual void pqComboBoxDomain::internalDomainChanged |
( |
| ) |
|
|
protectedvirtualslot |
◆ markForUpdate()
void pqComboBoxDomain::markForUpdate |
( |
bool |
mark | ) |
|
|
protected |
◆ Internal
pqInternal* pqComboBoxDomain::Internal |
|
protected |
The documentation for this class was generated from the following file: