ui->tableSpot->setSelectionBehavior ( QAbstractItemView::SelectRows);
ui->tableSpot->setSelectionMode(QAbstractItemView::SingleSelection);
转载于:https://my.oschina.net/u/3907010/blog/1844604
ui->tableSpot->setSelectionBehavior ( QAbstractItemView::SelectRows);
ui->tableSpot->setSelectionMode(QAbstractItemView::SingleSelection);
转载于:https://my.oschina.net/u/3907010/blog/1844604