Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

QWidget * QListWidget::itemWidget ( QListWidgetItem item  )  const

Since:
4.1
Returns the widget displayed in the given item.

Definition at line 1537 of file qlistwidget.cpp.

References QAbstractItemView::indexWidget().

{
    Q_D(const QListWidget);
    QModelIndex index = d->model()->index(item);
    return QAbstractItemView::indexWidget(index);
}


Generated by  Doxygen 1.6.0   Back to index