To get the text of your cell do :
Qt Code:
QString str; str=m_ui->tableWidget->item(row,column)->text();To copy to clipboard, switch view to plain text mode
to prevent the cell form being editable use the function
QTableWidgetItem::setFlags ( Qt::ItemFlags flags )and the flag
Qt::ItemIsEditable
Bookmarks