Qt中QTableWidget最后一栏自适应长度

ui->tableSpot->horizontalHeader()->setStretchLastSection(true);

  

猜你喜欢

转载自www.cnblogs.com/RootChu/p/9280757.html