signal adaptor to allow getting/setting/observing of a pseudo 'currentText' property of a combo box the QComboBox currentIndexChanged signal is forwarded to this currentTextChanged signal
More...
#include <pqSignalAdaptors.h>
signal adaptor to allow getting/setting/observing of a pseudo 'currentText' property of a combo box the QComboBox currentIndexChanged signal is forwarded to this currentTextChanged signal
Definition at line 23 of file pqSignalAdaptors.h.
◆ pqSignalAdaptorComboBox()
| pqSignalAdaptorComboBox::pqSignalAdaptorComboBox |
( |
QComboBox * |
p | ) |
|
constructor requires a QComboBox
◆ currentText()
| QString pqSignalAdaptorComboBox::currentText |
( |
| ) |
const |
get the current text of a combo box
◆ currentIndex()
| int pqSignalAdaptorComboBox::currentIndex |
( |
| ) |
const |
get the current index of a combo box.
◆ currentData()
| QVariant pqSignalAdaptorComboBox::currentData |
( |
| ) |
const |
get the user data associated with the current index.
◆ currentTextChanged
| void pqSignalAdaptorComboBox::currentTextChanged |
( |
const QString & |
| ) |
|
|
signal |
signal text changed in a combo box
◆ currentIndexChanged
| void pqSignalAdaptorComboBox::currentIndexChanged |
( |
int |
| ) |
|
|
signal |
◆ setCurrentText
| void pqSignalAdaptorComboBox::setCurrentText |
( |
const QString & |
| ) |
|
|
slot |
set the current text of a combo box (actually sets the index for the text)
◆ setCurrentIndex
| void pqSignalAdaptorComboBox::setCurrentIndex |
( |
int |
index | ) |
|
|
slot |
set the current index of a combox box.
◆ setCurrentData
| void pqSignalAdaptorComboBox::setCurrentData |
( |
const QVariant & |
data | ) |
|
|
slot |
set the current index to the index with user data as the argument.
◆ currentText
| QString pqSignalAdaptorComboBox::currentText |
|
readwrite |
◆ currentIndex
| int pqSignalAdaptorComboBox::currentIndex |
|
readwrite |
◆ currentData
| QVariant pqSignalAdaptorComboBox::currentData |
|
readwrite |
The documentation for this class was generated from the following file: