close
You can get all tabBars contained in a tabWidget by using findChild, which is a method of QTabWidget.
After that, you can hide them at once.
QTabBar *tabBar = ui->tabWidget->findChild<QTabBar *>();
tabBar->hide();
And remove the boarder by calling setStyleSheet method
ui->tabWidget->setStyleSheet("QTabWidget::pane { border: 0; }");
How to let a statusbar load a label automatically
ui->statusbar->addPermanentWidget(ui->label_counter1);
全站熱搜
留言列表