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

QWidget * QTreeWidget::itemWidget ( QTreeWidgetItem item,
int  column 
) const

Returns the widget displayed in the cell specified by item and the given column.

Definition at line 2196 of file qtreewidget.cpp.

References QAbstractItemModel::index(), QAbstractItemView::indexWidget(), and QModelIndex::model().

    Q_D(const QTreeWidget);
    QModelIndex index = d->model()->index(item, column);
    return QAbstractItemView::indexWidget(index);

Generated by  Doxygen 1.6.0   Back to index