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

void QTableWidgetItem::setText ( const QString text  )  [inline]

Sets the item's text to the text specified.

See also:
text() setFont() setTextColor()

Definition at line 153 of file qtablewidget.h.

References setData().

Referenced by QAbstractFormBuilder::loadTableWidgetExtraInfo(), QTableWidget::setHorizontalHeaderLabels(), and QTableWidget::setVerticalHeaderLabels().

{ setData(Qt::DisplayRole, atext); }

Generated by  Doxygen 1.6.0   Back to index