原创 Qt中QTableWidget最後一欄自適應長度

Qt中QTableWidget最後一欄自適應長度 ui->tableSpot->horizontalHeader()->setStretchLastSection(true);