QxtCheckComboBox Class Reference
[QxtGui module]
The QxtCheckComboBox widget is an extended QComboBox with checkable items. More...
#include <QxtCheckComboBox>
Inherits QComboBox.
Public Functions
- 55 public functions inherited from QComboBox
- 207 public functions inherited from QWidget
- 12 public functions inherited from QPaintDevice
- 29 public functions inherited from QObject
Public Slots
- 4 public slots inherited from QComboBox
- 19 public slots inherited from QWidget
- 1 public slot inherited from QObject
Signals
Additional Inherited Members
- 13 properties inherited from QComboBox
- 57 properties inherited from QWidget
- 1 property inherited from QObject
- 1 public type inherited from QObject
- 4 static public members inherited from QWidget
- 1 static public member inherited from QPaintDevice
- 4 static public members inherited from QObject
- 1 protected function inherited from QComboBox
- 37 protected functions inherited from QWidget
- 1 protected function inherited from QPaintDevice
- 7 protected functions inherited from QObject
- 1 protected slot inherited from QWidget
- 1 protected type inherited from QPaintDevice
- 2 protected variables inherited from QObject
Detailed Description
The QxtCheckComboBox widget is an extended QComboBox with checkable items.
QxtComboBox is a specialized combo box with checkable items. Checked items are collected together in the line edit.
QxtCheckComboBox* comboBox = new QxtCheckComboBox(this);
comboBox->addItems(...);
comboBox->setItemCheckState(2, Qt::Checked);
comboBox->setItemCheckState(4, Qt::Checked);
comboBox->setCheckedItems(QStringList() << "dolor" << "amet");

Member Function Documentation
QxtCheckComboBox::QxtCheckComboBox ( QWidget * parent = 0 )
Constructs a new QxtCheckComboBox with parent.
QxtCheckComboBox::~QxtCheckComboBox () [virtual]
Destructs the combo box.
QStringList QxtCheckComboBox::checkedItems () const
See also setCheckedItems().
void QxtCheckComboBox::checkedItemsChanged ( const QStringList & items ) [signal]
This signal is emitted whenever the checked items have been changed.
QString QxtCheckComboBox::defaultText () const
See also setDefaultText().
Qt::CheckState QxtCheckComboBox::itemCheckState ( int index ) const
Returns the check state of the item at index.
See also setItemCheckState().
QString QxtCheckComboBox::separator () const
See also setSeparator().
void QxtCheckComboBox::setCheckedItems ( const QStringList & items ) [slot]
See also checkedItems().
void QxtCheckComboBox::setDefaultText ( const QString & text )
See also defaultText().
void QxtCheckComboBox::setItemCheckState ( int index, Qt::CheckState state )
Sets the check state of the item at index.
See also itemCheckState().
void QxtCheckComboBox::setSeparator ( const QString & separator )
See also separator().