赞
踩
1.设置部分tab的关闭按钮隐藏,操作如下: ((QTabBar*)(ui->tabWidget->tabBar()))->setTabButton(ui->tabWidget->indexOf(ui->tabRealTimeData),QTabBar::RightSide,NULL);