commit
007296234c
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue