combo box domain observes the domain for a combo box and updates accordingly. More...
#include <pqComboBoxDomain.h>
Inherits QObject.
Public Slots | |
| void | domainChanged () |
Public Member Functions | |
| pqComboBoxDomain (QComboBox *p, vtkSMProperty *prop, vtkSMDomain *domain=nullptr) | |
| constructor requires a QComboBox, and the property with the domain to observe. More... | |
| ~pqComboBoxDomain () override | |
| 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 QStringList & | getUserStrings () const |
Protected Slots | |
| virtual void | internalDomainChanged () |
Protected Member Functions | |
| void | markForUpdate (bool mark) |
Protected Attributes | |
| pqInternal * | Internal |
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 48 of file pqComboBoxDomain.h.
| pqComboBoxDomain::pqComboBoxDomain | ( | QComboBox * | p, |
| vtkSMProperty * | prop, | ||
| vtkSMDomain * | domain = nullptr |
||
| ) |
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
|
override |
|
inline |
Definition at line 63 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::removeString | ( | const QString & | ) |
| void pqComboBoxDomain::removeAllStrings | ( | ) |
| vtkSMProperty* pqComboBoxDomain::getProperty | ( | ) | const |
| vtkSMDomain* pqComboBoxDomain::getDomain | ( | ) | const |
| const QStringList& pqComboBoxDomain::getUserStrings | ( | ) | const |
|
slot |
|
protectedvirtualslot |
|
protected |
|
protected |
Definition at line 86 of file pqComboBoxDomain.h.
1.8.13 on Tue May 18 2021