Home · Modules · Classes · Namespaces · Functions

QxtListWidgetItem Class Reference
[QxtGui module]

The QxtListWidgetItem class is an extended QListWidgetItem. More...

    #include <QxtListWidgetItem>

Inherits QListWidgetItem.

Public Functions


Detailed Description

The QxtListWidgetItem class is an extended QListWidgetItem.

QxtListWidgetItem provides means for offering check state change signals and convenience methods for testing and setting flags.

See also QxtListWidget.


Member Function Documentation

QxtListWidgetItem::QxtListWidgetItem ( QListWidget * parent = 0, int type = Type )

Constructs a new QxtListWidgetItem with parent and type.

QxtListWidgetItem::QxtListWidgetItem ( const QString & text, QListWidget * parent = 0, int type = Type )

Constructs a new QxtListWidgetItem with text, parent and type.

QxtListWidgetItem::QxtListWidgetItem ( const QIcon & icon, const QString & text, QListWidget * parent = 0, int type = Type )

Constructs a new QxtListWidgetItem with icon, text, parent and type.

QxtListWidgetItem::QxtListWidgetItem ( const QxtListWidgetItem & other )

Constructs a copy of other.

QxtListWidgetItem::~QxtListWidgetItem ()   [virtual]

Destructs the list widget item.

void QxtListWidgetItem::setFlag ( Qt::ItemFlag flag, bool enabled = true )

If enabled is true, the item flag is enabled; otherwise, it is disabled.

See also testFlag(), QListWidgetItem::setFlags(), and Qt::ItemFlag.

bool QxtListWidgetItem::testFlag ( Qt::ItemFlag flag ) const

Returns true if the flag is set, otherwise false.

See also setFlag(), QListWidgetItem::flags(), and Qt::ItemFlag.


Copyright © 2007-2011 Qxt Foundation
Qxt 0.6.2