设置托盘主界面页签内圆角

This commit is contained in:
zhangyuanyuan 2022-12-07 16:51:33 +08:00
parent c1e685fc9e
commit 1ff07bb9b8
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ void MainWindow::initUI()
m_centralWidget = new QTabWidget(this); m_centralWidget = new QTabWidget(this);
this->setCentralWidget(m_centralWidget); this->setCentralWidget(m_centralWidget);
m_centralWidget->tabBar()->setFixedWidth(this->width()+1); m_centralWidget->tabBar()->setFixedWidth(this->width()+1);
// m_centralWidget->tabBar()->setStyleSheet("QTabBar::tab{min-height:40px}"); m_centralWidget->tabBar()->setProperty("setRadius", 12);
m_lanWidget = new LanPage(m_centralWidget); m_lanWidget = new LanPage(m_centralWidget);
m_wlanWidget = new WlanPage(m_centralWidget); m_wlanWidget = new WlanPage(m_centralWidget);
connect(this, &MainWindow::mainWindowVisibleChanged, m_wlanWidget, &WlanPage::onMainWindowVisibleChanged); connect(this, &MainWindow::mainWindowVisibleChanged, m_wlanWidget, &WlanPage::onMainWindowVisibleChanged);