Home · All Classes · alphabetical Classes List · Modules · Functions ·

QxtCheckComboBox Class Reference
[Gui]

A combo box with checkable items. More...

Signals

Public Member Functions

Properties


Detailed Description

A combo box with checkable items.

QxtComboBox is a specialized combo box with checkable items. All the checked items are collected together on the line edit.

qxtcheckcombobox.png

QxtCheckComboBox in Plastique style.


Constructor & Destructor Documentation

QxtCheckComboBox::QxtCheckComboBox ( QWidget *  parent = 0 ) [explicit]

Constructs a new QxtCheckComboBox with parent.


QxtCheckComboBox::~QxtCheckComboBox ( ) [virtual]

Destructs the combo box.



Member Function Documentation

Qt::CheckState QxtCheckComboBox::itemCheckState ( int  index ) const

Returns the check state of the item at index.


void QxtCheckComboBox::setItemCheckState ( int  index, Qt::CheckState  state )

Sets the check state of the item at index to state.


QxtCheckComboBox::checkedItemsChanged ( const QStringList &  items ) [signal]

This signal is emitted whenever the checked items have been changed.



Property Documentation

QString QxtCheckComboBox::separator [read, write]

This property holds the default text.

The checked items are joined together with the separator string. The default value is a comma (",").


QString QxtCheckComboBox::defaultText [read, write]

This property holds the default text.

The default text is shown when there is no checked items. The default value is an empty string.


QxtCheckComboBox::CheckMode QxtCheckComboBox::checkMode [read, write]

This property holds the check mode.

The check mode describes item checking behaviour. The default value is QxtCheckComboBox::CheckIndicator.



(c) 2007A.Picciani and A.Higerd LGPL
libqxt 0.2