标签:
QTableWidgetSelectionRange list=QTableWidgetSelectionRange(1,0,2,2);
// ui->tableWidget->selectAll();
// QTableWidgetSelectionRangerange(0,0,rowCount-1,colCount-1);
ui->tableWidget->setRangeSelected(list,true);
标签:
原文地址:http://www.cnblogs.com/luxiaolai/p/5082641.html