Merge branch '1208-main' into 'dbus-interface'

ui字体颜色

See merge request kylin-desktop/kylin-nm!463
This commit is contained in:
赵 世旭 2021-12-13 05:39:14 +00:00
commit 08cfa6dab2
2 changed files with 2 additions and 0 deletions

View File

@ -737,6 +737,7 @@ void LanPage::initUI()
m_activatedNetLayout->addWidget(m_activatedLanListWidget); m_activatedNetLayout->addWidget(m_activatedLanListWidget);
m_inactivatedNetLabel->setText(tr("Inactivated LAN")); m_inactivatedNetLabel->setText(tr("Inactivated LAN"));
m_inactivatedNetLabel->setDisabled(true);
m_inactivatedLanListWidget = new QListWidget(m_inactivatedNetListArea); m_inactivatedLanListWidget = new QListWidget(m_inactivatedNetListArea);
m_inactivatedLanListWidget->setFrameShape(QFrame::Shape::NoFrame); m_inactivatedLanListWidget->setFrameShape(QFrame::Shape::NoFrame);
m_inactivatedLanListWidget->setSpacing(LAN_LIST_SPACING); m_inactivatedLanListWidget->setSpacing(LAN_LIST_SPACING);

View File

@ -81,6 +81,7 @@ void WlanPage::initWlanUI()
m_activatedNetLayout->addWidget(m_activatedNetListWidget); m_activatedNetLayout->addWidget(m_activatedNetListWidget);
m_inactivatedNetLabel->setText(tr("Other WLAN")); m_inactivatedNetLabel->setText(tr("Other WLAN"));
m_inactivatedNetLabel->setDisabled(true);
m_inactivatedNetListWidget = new QListWidget(m_inactivatedNetListArea); m_inactivatedNetListWidget = new QListWidget(m_inactivatedNetListArea);
m_inactivatedNetListWidget->setContentsMargins(MAIN_LAYOUT_MARGINS); m_inactivatedNetListWidget->setContentsMargins(MAIN_LAYOUT_MARGINS);
m_inactivatedNetListWidget->setSpacing(NET_LIST_SPACING); m_inactivatedNetListWidget->setSpacing(NET_LIST_SPACING);