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

void QTableWidgetItem::setIcon ( const QIcon icon  )  [inline]

Sets the item's icon to the icon specified.

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

Definition at line 156 of file qtablewidget.h.

References setData().

Referenced by QAbstractFormBuilder::loadTableWidgetExtraInfo().

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


Generated by  Doxygen 1.6.0   Back to index