QTableWidget 遍历
for(int row=0; row<ui->tableWidget->rowCount(); row++)
{
for(int col=0; col<ui->tableWidget->columnCount(); col++)
{
QTableWidgetItem* item = ui->tableWidget_right->item(row,col);
}
}
for(int row=0; row<ui->tableWidget->rowCount(); row++)
{
QTableWidgetItem* item = ui->tableWidget_right->item(row,0);
}
本文来自博客园,作者:StimuMing,转载请注明原文链接:https://www.cnblogs.com/fole-del/p/16868626.html