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

void QTreeWidgetItem::setIcon ( int  column,
const QIcon icon 
) [inline]

Sets the icon to be displayed in the given column to icon.

See also:
icon(), setText(), {QAbstractItemView::iconSize}{iconSize}

Definition at line 166 of file qtreewidget.h.

References setData().

Referenced by QAbstractFormBuilder::loadTreeWidgetExtraInfo().

{ setData(column, Qt::DecorationRole, aicon); }


Generated by  Doxygen 1.6.0   Back to index