|
ParaView
|
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>

Public Slots | |
| void | setCurrentText (const QString &) |
| set the current text of a combo box (actually sets the index for the text) | |
| void | setCurrentIndex (int index) |
| set the current index of a combox box. | |
| void | setCurrentData (const QVariant &data) |
| set the current index to the index with user data as the argument. | |
Signals | |
| void | currentTextChanged (const QString &) |
| signal text changed in a combo box | |
| void | currentIndexChanged (int) |
Public Member Functions | |
| pqSignalAdaptorComboBox (QComboBox *p) | |
| constructor requires a QComboBox | |
| QString | currentText () const |
| get the current text of a combo box | |
| int | currentIndex () const |
| get the current index of a combo box. | |
| QVariant | currentData () const |
| get the user data associated with the current index. | |
Properties | |
| QString | currentText |
| int | currentIndex |
| QVariant | currentData |
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 49 of file pqSignalAdaptors.h.
| pqSignalAdaptorComboBox::pqSignalAdaptorComboBox | ( | QComboBox * | p | ) |
constructor requires a QComboBox
| QString pqSignalAdaptorComboBox::currentText | ( | ) | const |
get the current text of a combo box
| int pqSignalAdaptorComboBox::currentIndex | ( | ) | const |
get the current index of a combo box.
| QVariant pqSignalAdaptorComboBox::currentData | ( | ) | const |
get the user data associated with the current index.
| void pqSignalAdaptorComboBox::currentTextChanged | ( | const QString & | ) | [signal] |
signal text changed in a combo box
| void pqSignalAdaptorComboBox::currentIndexChanged | ( | int | ) | [signal] |
| void pqSignalAdaptorComboBox::setCurrentText | ( | const QString & | ) | [slot] |
set the current text of a combo box (actually sets the index for the text)
| void pqSignalAdaptorComboBox::setCurrentIndex | ( | int | index | ) | [slot] |
set the current index of a combox box.
| void pqSignalAdaptorComboBox::setCurrentData | ( | const QVariant & | data | ) | [slot] |
set the current index to the index with user data as the argument.
QString pqSignalAdaptorComboBox::currentText [read, write] |
Definition at line 52 of file pqSignalAdaptors.h.
int pqSignalAdaptorComboBox::currentIndex [read, write] |
Definition at line 53 of file pqSignalAdaptors.h.
QVariant pqSignalAdaptorComboBox::currentData [read, write] |
Definition at line 54 of file pqSignalAdaptors.h.
1.7.5.1