adjust widgets

This commit is contained in:
kangshuning 2021-10-29 14:42:49 +08:00
parent f92b3d10d5
commit 1f507d16cb
11 changed files with 154 additions and 158 deletions

View File

@ -5,7 +5,7 @@ WlanMoreItem::WlanMoreItem(QWidget *parent) : ListItem(parent)
setObjectName(WMI_OB_NAME);
m_netButton->setVisible(false);
m_infoButton->setVisible(false);
m_nameLabel->setText(tr("More..."));
m_nameLabel->setText(tr("Add Others..."));
}
WlanMoreItem::~WlanMoreItem() {

View File

@ -9,8 +9,6 @@
#define TEXT_MARGINS 16,0,0,0
#define SETTINGS_LAYOUT_MARGINS 24,16,24,16
#define TRANSPARENT_COLOR QColor(0,0,0,0)
#define SWITCH_WIDTH 48
#define SWITCH_HEIGHT 24
#define ITEM_HEIGHT 48
#define LOG_FLAG "[LanPage]"
@ -686,36 +684,22 @@ void LanPage::onShowControlCenter()
void LanPage::initUI()
{
m_titleLabel->setText(tr("LAN"));
m_netSwitch->resize(SWITCH_WIDTH, SWITCH_HEIGHT);
m_activatedNetLabel->setText(tr("Activated LAN"));
m_activatedLanListWidget = new QListWidget(m_activatedNetFrame);
m_activatedLanListWidget->setFrameShape(QFrame::Shape::NoFrame);
// m_activatedLanListWidget->setSpacing(LAN_LIST_SPACING);
m_activatedLanListWidget->setSpacing(LAN_LIST_SPACING);
m_activatedLanListWidget->setFixedHeight(ITEM_HEIGHT); //active区域固定高度,只显示一个条目
m_activatedLanListWidget->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
m_activatedNetLayout->addWidget(m_activatedLanListWidget);
m_inactivatedNetLabel->setText(tr("Inactivated LAN"));
m_inactivatedNetListArea->setBackgroundRole(QPalette::Base);
m_inactivatedNetListArea->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
m_inactivatedNetListArea->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
// m_inactivatedNetListArea->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
QVBoxLayout *inactiveLanListLayout = new QVBoxLayout(m_inactivatedNetListArea);
inactiveLanListLayout->setContentsMargins(MAIN_LAYOUT_MARGINS);
inactiveLanListLayout->setSpacing(MAIN_LAYOUT_SPACING);
m_inactivatedLanListWidget = new QListWidget(m_inactivatedNetListArea);
m_inactivatedLanListWidget->setFrameShape(QFrame::Shape::NoFrame);
m_inactivatedLanListWidget->setSpacing(LAN_LIST_SPACING);
m_inactivatedLanListWidget->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
// m_inactivatedLanListWidget->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff); //用了listwidget的滚动条
// m_inactivatedLanListWidget->setSortingEnabled(true);
// m_inactivatedLanListWidget->sortItems(Qt::AscendingOrder);
inactiveLanListLayout->addWidget(m_inactivatedLanListWidget);
m_inactivatedAreaLayout->addWidget(m_inactivatedLanListWidget);
m_settingsLabel->installEventFilter(this);
}
@ -860,6 +844,7 @@ void LanPage::onConnectionStateChange(QString uuid,
updateConnectionState(m_activeConnectionMap, m_activatedLanListWidget, uuid, (ConnectState)state);
} else if (state == NetworkManager::ActiveConnection::State::Deactivated) {
p_newItem = m_connectResourse->getConnectionItemByUuid(uuid);
qDebug() << "[LanPage] deactivated reason" << reason;
if (nullptr == p_newItem) {
qWarning()<<"[LanPage] get active connection failed, connection uuid" << uuid;
return;

View File

@ -17,6 +17,9 @@ TabPage::~TabPage()
void TabPage::initUI()
{
// this->setAutoFillBackground(false);
// this->setAttribute(Qt::WA_TranslucentBackground, true);
// this->setStyleSheet("background:transparent");
m_mainLayout = new QVBoxLayout(this);
m_mainLayout->setContentsMargins(MAIN_LAYOUT_MARGINS);
m_mainLayout->setSpacing(MAIN_LAYOUT_SPACING);
@ -70,14 +73,25 @@ void TabPage::initUI()
m_inactivatedNetLayout->setContentsMargins(NET_LAYOUT_MARGINS);
// m_inactivatedNetLayout->setSpacing(NET_LAYOUT_SPACING);
m_inactivatedNetFrame->setLayout(m_inactivatedNetLayout);
m_inactivatedNetLabel = new QLabel(m_inactivatedNetFrame);
m_inactivatedNetLabel->setContentsMargins(TEXT_MARGINS);
m_inactivatedNetLabel->setFixedHeight(LABEL_HEIGHT);
m_inactivatedNetListArea = new QScrollArea(m_inactivatedNetFrame);
m_inactivatedNetListArea->setFrameShape(QFrame::Shape::NoFrame);
m_inactivatedNetListArea->setWidgetResizable(true);
m_inactivatedNetListArea->setBackgroundRole(QPalette::Base);
m_inactivatedNetListArea->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
m_inactivatedNetListArea->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
m_inactivatedAreaLayout = new QVBoxLayout(m_inactivatedNetListArea);
m_inactivatedAreaLayout->setSpacing(MAIN_LAYOUT_SPACING);
m_inactivatedAreaLayout->setContentsMargins(MAIN_LAYOUT_MARGINS);
m_inactivatedNetListArea->setLayout(m_inactivatedAreaLayout);
m_inactivatedNetLayout->addWidget(m_inactivatedNetLabel);
m_inactivatedNetLayout->addWidget(m_inactivatedNetListArea);
m_inactivatedNetDivider = new Divider(this);
m_settingsFrame = new QFrame(this);
@ -102,18 +116,6 @@ void TabPage::initUI()
m_mainLayout->addWidget(m_settingsFrame);
}
//void TabPage::updateDefaultDevice(QString &deviceName)
//{
// qDebug() << "updateDefaultDevice" << deviceName;
// m_defaultDevice = deviceName;
//}
//QString TabPage::getDefaultDevice()
//{
// qDebug() << "getDefaultDevice" << m_defaultDevice;
// return m_defaultDevice;
//}
void TabPage::showDesktopNotify(const QString &message)
{
QDBusInterface iface("org.freedesktop.Notifications",

View File

@ -84,7 +84,8 @@ protected:
QVBoxLayout * m_inactivatedNetLayout = nullptr;
QLabel * m_inactivatedNetLabel = nullptr;
QScrollArea * m_inactivatedNetListArea = nullptr;
QListWidget * m_inactivatedNetListWidget = nullptr;
QVBoxLayout * m_inactivatedAreaLayout = nullptr;
Divider * m_inactivatedNetDivider = nullptr;
QFrame * m_settingsFrame = nullptr;

View File

@ -65,29 +65,8 @@ bool WlanPage::eventFilter(QObject *w, QEvent *e)
void WlanPage::initWlanUI()
{
m_titleLabel->setText(tr("WLAN"));
m_activatedNetLabel->setText(tr("Activated WLAN"));
m_inactivatedNetLabel->setText(tr("Other WLAN"));
//一些独有控件
m_inactivatedNetListArea->setBackgroundRole(QPalette::Base);
m_inactivatedNetListArea->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
m_inactivatedNetListArea->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
m_inactivatedWlanListAreaLayout = new QVBoxLayout(m_inactivatedNetListArea);
m_inactivatedWlanListAreaLayout->setSpacing(MAIN_LAYOUT_SPACING);
m_inactivatedWlanListAreaLayout->setContentsMargins(MAIN_LAYOUT_MARGINS);
m_inactivatedNetListArea->setLayout(m_inactivatedWlanListAreaLayout);
m_inactivatedNetListWidget = new QListWidget(m_inactivatedNetListArea);
m_inactivatedNetListWidget->setContentsMargins(MAIN_LAYOUT_MARGINS);
m_inactivatedNetListWidget->setSpacing(NET_LIST_SPACING);
m_inactivatedNetListWidget->setFrameShape(QFrame::Shape::NoFrame);
m_inactivatedNetListWidget->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
addWlanMoreItem();
m_inactivatedWlanListAreaLayout->addWidget(m_inactivatedNetListWidget);
m_activatedNetLabel->setText(tr("Activated WLAN"));
m_activatedNetListWidget = new QListWidget(m_activatedNetFrame);
m_activatedNetListWidget->setFrameShape(QFrame::Shape::NoFrame);
m_activatedNetListWidget->setContentsMargins(MAIN_LAYOUT_MARGINS);
@ -96,6 +75,16 @@ void WlanPage::initWlanUI()
m_activatedNetListWidget->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
m_activatedNetLayout->addWidget(m_activatedNetListWidget);
m_inactivatedNetLabel->setText(tr("Other WLAN"));
m_inactivatedNetListWidget = new QListWidget(m_inactivatedNetListArea);
m_inactivatedNetListWidget->setContentsMargins(MAIN_LAYOUT_MARGINS);
m_inactivatedNetListWidget->setSpacing(NET_LIST_SPACING);
m_inactivatedNetListWidget->setFrameShape(QFrame::Shape::NoFrame);
m_inactivatedNetListWidget->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
addWlanMoreItem();
m_inactivatedAreaLayout->addWidget(m_inactivatedNetListWidget);
m_settingsLabel->installEventFilter(this);
}

View File

@ -148,13 +148,11 @@ private:
QListWidgetItem *m_expandedItem = nullptr;
QFrame * m_inactivatedWlanListAreaCentralWidget = nullptr;
QVBoxLayout * m_inactivatedWlanListAreaLayout = nullptr;
WlanMoreItem * m_hiddenWlanWidget = nullptr;
QListWidgetItem *m_hiddenItem = nullptr;
QListWidget * m_activatedNetListWidget = nullptr;
QListWidget * m_inactivatedNetListWidget = nullptr;
QStringList m_devList;
QString m_currentDevice;

View File

@ -16,11 +16,13 @@
*
*/
#include "switchbutton.h"
#define SWITCH_WIDTH 48
#define SWITCH_HEIGHT 24
SwitchButton::SwitchButton(QWidget *parent) : QWidget(parent)
{
setFixedSize(50,24);
setFixedSize(SWITCH_WIDTH,SWITCH_HEIGHT);
m_fWidth = (float)width();
m_fHeight = (float)height();
m_cTimer = new QTimer(this);

View File

@ -229,19 +229,19 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/frontend/list-items/lanlistitem.cpp" line="92"/>
<location filename="../src/frontend/list-items/lanlistitem.cpp" line="97"/>
<source>Wired Device not carried</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/frontend/list-items/lanlistitem.cpp" line="113"/>
<location filename="../src/frontend/list-items/lanlistitem.cpp" line="129"/>
<location filename="../src/frontend/list-items/lanlistitem.cpp" line="118"/>
<location filename="../src/frontend/list-items/lanlistitem.cpp" line="134"/>
<source>Disconnect</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/frontend/list-items/lanlistitem.cpp" line="115"/>
<location filename="../src/frontend/list-items/lanlistitem.cpp" line="127"/>
<location filename="../src/frontend/list-items/lanlistitem.cpp" line="120"/>
<location filename="../src/frontend/list-items/lanlistitem.cpp" line="132"/>
<source>Connect</source>
<translation type="unfinished"></translation>
</message>
@ -249,35 +249,40 @@
<context>
<name>LanPage</name>
<message>
<location filename="../src/frontend/tab-pages/lanpage.cpp" line="178"/>
<location filename="../src/frontend/tab-pages/lanpage.cpp" line="176"/>
<source>No ethernet device avaliable</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/frontend/tab-pages/lanpage.cpp" line="698"/>
<location filename="../src/frontend/tab-pages/lanpage.cpp" line="686"/>
<source>LAN</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/frontend/tab-pages/lanpage.cpp" line="701"/>
<location filename="../src/frontend/tab-pages/lanpage.cpp" line="688"/>
<source>Activated LAN</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/frontend/tab-pages/lanpage.cpp" line="709"/>
<location filename="../src/frontend/tab-pages/lanpage.cpp" line="696"/>
<source>Inactivated LAN</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/frontend/tab-pages/lanpage.cpp" line="792"/>
<location filename="../src/frontend/tab-pages/lanpage.cpp" line="767"/>
<source>LAN Connected Successfully</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/frontend/tab-pages/lanpage.cpp" line="813"/>
<location filename="../src/frontend/tab-pages/lanpage.cpp" line="788"/>
<source>LAN Disconnected Successfully</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/frontend/tab-pages/lanpage.cpp" line="1085"/>
<source>Wired Device not carried</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ListItem</name>
@ -295,28 +300,28 @@
<context>
<name>MainWindow</name>
<message>
<location filename="../src/frontend/mainwindow.cpp" line="115"/>
<location filename="../src/frontend/mainwindow.cpp" line="180"/>
<location filename="../src/frontend/mainwindow.cpp" line="118"/>
<location filename="../src/frontend/mainwindow.cpp" line="183"/>
<source>kylin-nm</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/frontend/mainwindow.cpp" line="146"/>
<location filename="../src/frontend/mainwindow.cpp" line="149"/>
<source>LAN</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/frontend/mainwindow.cpp" line="148"/>
<location filename="../src/frontend/mainwindow.cpp" line="151"/>
<source>WLAN</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/frontend/mainwindow.cpp" line="178"/>
<location filename="../src/frontend/mainwindow.cpp" line="181"/>
<source>Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/frontend/mainwindow.cpp" line="177"/>
<location filename="../src/frontend/mainwindow.cpp" line="180"/>
<source>Show MainWindow</source>
<translation type="unfinished"></translation>
</message>
@ -559,7 +564,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/frontend/tab-pages/tabpage.cpp" line="92"/>
<location filename="../src/frontend/tab-pages/tabpage.cpp" line="104"/>
<source>Settings</source>
<translation type="unfinished"></translation>
</message>
@ -625,26 +630,26 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="116"/>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="495"/>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="128"/>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="507"/>
<source>Disconnect</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="118"/>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="219"/>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="493"/>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="130"/>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="231"/>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="505"/>
<source>Connect</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="125"/>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="499"/>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="137"/>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="511"/>
<source>Forget</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="238"/>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="250"/>
<source>Auto Connect</source>
<translation type="unfinished"></translation>
</message>
@ -653,39 +658,39 @@
<name>WlanMoreItem</name>
<message>
<location filename="../src/frontend/list-items/wlanmoreitem.cpp" line="8"/>
<source>More...</source>
<source>Add Others...</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>WlanPage</name>
<message>
<location filename="../src/frontend/tab-pages/wlanpage.cpp" line="65"/>
<location filename="../src/frontend/tab-pages/wlanpage.cpp" line="67"/>
<source>WLAN</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/frontend/tab-pages/wlanpage.cpp" line="66"/>
<location filename="../src/frontend/tab-pages/wlanpage.cpp" line="69"/>
<source>Activated WLAN</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/frontend/tab-pages/wlanpage.cpp" line="67"/>
<location filename="../src/frontend/tab-pages/wlanpage.cpp" line="78"/>
<source>Other WLAN</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/frontend/tab-pages/wlanpage.cpp" line="124"/>
<location filename="../src/frontend/tab-pages/wlanpage.cpp" line="118"/>
<source>No wireless network card detected</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/frontend/tab-pages/wlanpage.cpp" line="731"/>
<location filename="../src/frontend/tab-pages/wlanpage.cpp" line="767"/>
<source>WLAN Connected Successfully</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/frontend/tab-pages/wlanpage.cpp" line="727"/>
<location filename="../src/frontend/tab-pages/wlanpage.cpp" line="763"/>
<source>WLAN Disconnected Successfully</source>
<translation type="unfinished"></translation>
</message>

View File

@ -1255,19 +1255,19 @@
<translation type="unfinished">Bağlanamadı</translation>
</message>
<message>
<location filename="../src/frontend/list-items/lanlistitem.cpp" line="92"/>
<location filename="../src/frontend/list-items/lanlistitem.cpp" line="97"/>
<source>Wired Device not carried</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/frontend/list-items/lanlistitem.cpp" line="113"/>
<location filename="../src/frontend/list-items/lanlistitem.cpp" line="129"/>
<location filename="../src/frontend/list-items/lanlistitem.cpp" line="118"/>
<location filename="../src/frontend/list-items/lanlistitem.cpp" line="134"/>
<source>Disconnect</source>
<translation type="unfinished">Bağlantıyı Kes</translation>
</message>
<message>
<location filename="../src/frontend/list-items/lanlistitem.cpp" line="115"/>
<location filename="../src/frontend/list-items/lanlistitem.cpp" line="127"/>
<location filename="../src/frontend/list-items/lanlistitem.cpp" line="120"/>
<location filename="../src/frontend/list-items/lanlistitem.cpp" line="132"/>
<source>Connect</source>
<translation type="unfinished"></translation>
</message>
@ -1275,35 +1275,40 @@
<context>
<name>LanPage</name>
<message>
<location filename="../src/frontend/tab-pages/lanpage.cpp" line="178"/>
<location filename="../src/frontend/tab-pages/lanpage.cpp" line="176"/>
<source>No ethernet device avaliable</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/frontend/tab-pages/lanpage.cpp" line="698"/>
<location filename="../src/frontend/tab-pages/lanpage.cpp" line="686"/>
<source>LAN</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/frontend/tab-pages/lanpage.cpp" line="701"/>
<location filename="../src/frontend/tab-pages/lanpage.cpp" line="688"/>
<source>Activated LAN</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/frontend/tab-pages/lanpage.cpp" line="709"/>
<location filename="../src/frontend/tab-pages/lanpage.cpp" line="696"/>
<source>Inactivated LAN</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/frontend/tab-pages/lanpage.cpp" line="792"/>
<location filename="../src/frontend/tab-pages/lanpage.cpp" line="767"/>
<source>LAN Connected Successfully</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/frontend/tab-pages/lanpage.cpp" line="813"/>
<location filename="../src/frontend/tab-pages/lanpage.cpp" line="788"/>
<source>LAN Disconnected Successfully</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/frontend/tab-pages/lanpage.cpp" line="1085"/>
<source>Wired Device not carried</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ListItem</name>
@ -1321,8 +1326,8 @@
<context>
<name>MainWindow</name>
<message>
<location filename="../src/frontend/mainwindow.cpp" line="115"/>
<location filename="../src/frontend/mainwindow.cpp" line="180"/>
<location filename="../src/frontend/mainwindow.cpp" line="118"/>
<location filename="../src/frontend/mainwindow.cpp" line="183"/>
<source>kylin-nm</source>
<translation></translation>
</message>
@ -1343,17 +1348,17 @@
<translation type="vanished">Gizli ı Bağlan</translation>
</message>
<message>
<location filename="../src/frontend/mainwindow.cpp" line="146"/>
<location filename="../src/frontend/mainwindow.cpp" line="149"/>
<source>LAN</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/frontend/mainwindow.cpp" line="148"/>
<location filename="../src/frontend/mainwindow.cpp" line="151"/>
<source>WLAN</source>
<translation>WLAN</translation>
</message>
<message>
<location filename="../src/frontend/mainwindow.cpp" line="178"/>
<location filename="../src/frontend/mainwindow.cpp" line="181"/>
<source>Settings</source>
<translation type="unfinished"></translation>
</message>
@ -1370,7 +1375,7 @@
<translation type="vanished">HotSpot</translation>
</message>
<message>
<location filename="../src/frontend/mainwindow.cpp" line="177"/>
<location filename="../src/frontend/mainwindow.cpp" line="180"/>
<source>Show MainWindow</source>
<translation>Ana Pencereyi Göster</translation>
</message>
@ -1899,7 +1904,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/frontend/tab-pages/tabpage.cpp" line="92"/>
<location filename="../src/frontend/tab-pages/tabpage.cpp" line="104"/>
<source>Settings</source>
<translation type="unfinished"></translation>
</message>
@ -1972,26 +1977,26 @@
<translation type="unfinished">Bağlanamadı</translation>
</message>
<message>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="116"/>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="495"/>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="128"/>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="507"/>
<source>Disconnect</source>
<translation type="unfinished">Bağlantıyı Kes</translation>
</message>
<message>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="118"/>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="219"/>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="493"/>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="130"/>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="231"/>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="505"/>
<source>Connect</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="125"/>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="499"/>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="137"/>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="511"/>
<source>Forget</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="238"/>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="250"/>
<source>Auto Connect</source>
<translation type="unfinished"></translation>
</message>
@ -2000,39 +2005,39 @@
<name>WlanMoreItem</name>
<message>
<location filename="../src/frontend/list-items/wlanmoreitem.cpp" line="8"/>
<source>More...</source>
<source>Add Others...</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>WlanPage</name>
<message>
<location filename="../src/frontend/tab-pages/wlanpage.cpp" line="65"/>
<location filename="../src/frontend/tab-pages/wlanpage.cpp" line="67"/>
<source>WLAN</source>
<translation type="unfinished">WLAN</translation>
</message>
<message>
<location filename="../src/frontend/tab-pages/wlanpage.cpp" line="66"/>
<location filename="../src/frontend/tab-pages/wlanpage.cpp" line="69"/>
<source>Activated WLAN</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/frontend/tab-pages/wlanpage.cpp" line="67"/>
<location filename="../src/frontend/tab-pages/wlanpage.cpp" line="78"/>
<source>Other WLAN</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/frontend/tab-pages/wlanpage.cpp" line="124"/>
<location filename="../src/frontend/tab-pages/wlanpage.cpp" line="118"/>
<source>No wireless network card detected</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/frontend/tab-pages/wlanpage.cpp" line="731"/>
<location filename="../src/frontend/tab-pages/wlanpage.cpp" line="767"/>
<source>WLAN Connected Successfully</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/frontend/tab-pages/wlanpage.cpp" line="727"/>
<location filename="../src/frontend/tab-pages/wlanpage.cpp" line="763"/>
<source>WLAN Disconnected Successfully</source>
<translation type="unfinished"></translation>
</message>

Binary file not shown.

View File

@ -490,19 +490,19 @@
<translation></translation>
</message>
<message>
<location filename="../src/frontend/list-items/lanlistitem.cpp" line="92"/>
<location filename="../src/frontend/list-items/lanlistitem.cpp" line="97"/>
<source>Wired Device not carried</source>
<translation>线</translation>
</message>
<message>
<location filename="../src/frontend/list-items/lanlistitem.cpp" line="113"/>
<location filename="../src/frontend/list-items/lanlistitem.cpp" line="129"/>
<location filename="../src/frontend/list-items/lanlistitem.cpp" line="118"/>
<location filename="../src/frontend/list-items/lanlistitem.cpp" line="134"/>
<source>Disconnect</source>
<translation></translation>
</message>
<message>
<location filename="../src/frontend/list-items/lanlistitem.cpp" line="115"/>
<location filename="../src/frontend/list-items/lanlistitem.cpp" line="127"/>
<location filename="../src/frontend/list-items/lanlistitem.cpp" line="120"/>
<location filename="../src/frontend/list-items/lanlistitem.cpp" line="132"/>
<source>Connect</source>
<translation></translation>
</message>
@ -510,32 +510,37 @@
<context>
<name>LanPage</name>
<message>
<location filename="../src/frontend/tab-pages/lanpage.cpp" line="178"/>
<location filename="../src/frontend/tab-pages/lanpage.cpp" line="176"/>
<source>No ethernet device avaliable</source>
<translation>线</translation>
</message>
<message>
<location filename="../src/frontend/tab-pages/lanpage.cpp" line="698"/>
<location filename="../src/frontend/tab-pages/lanpage.cpp" line="686"/>
<source>LAN</source>
<translation>线</translation>
</message>
<message>
<location filename="../src/frontend/tab-pages/lanpage.cpp" line="701"/>
<location filename="../src/frontend/tab-pages/lanpage.cpp" line="688"/>
<source>Activated LAN</source>
<translation></translation>
</message>
<message>
<location filename="../src/frontend/tab-pages/lanpage.cpp" line="709"/>
<location filename="../src/frontend/tab-pages/lanpage.cpp" line="696"/>
<source>Inactivated LAN</source>
<translation></translation>
</message>
<message>
<location filename="../src/frontend/tab-pages/lanpage.cpp" line="813"/>
<location filename="../src/frontend/tab-pages/lanpage.cpp" line="788"/>
<source>LAN Disconnected Successfully</source>
<translation>线</translation>
</message>
<message>
<location filename="../src/frontend/tab-pages/lanpage.cpp" line="792"/>
<location filename="../src/frontend/tab-pages/lanpage.cpp" line="1085"/>
<source>Wired Device not carried</source>
<translation>线</translation>
</message>
<message>
<location filename="../src/frontend/tab-pages/lanpage.cpp" line="767"/>
<source>LAN Connected Successfully</source>
<translation>线</translation>
</message>
@ -556,30 +561,30 @@
<context>
<name>MainWindow</name>
<message>
<location filename="../src/frontend/mainwindow.cpp" line="115"/>
<location filename="../src/frontend/mainwindow.cpp" line="180"/>
<location filename="../src/frontend/mainwindow.cpp" line="118"/>
<location filename="../src/frontend/mainwindow.cpp" line="183"/>
<source>kylin-nm</source>
<translation></translation>
</message>
<message>
<location filename="../src/frontend/mainwindow.cpp" line="146"/>
<location filename="../src/frontend/mainwindow.cpp" line="149"/>
<source>LAN</source>
<translatorcomment>线</translatorcomment>
<translation>线</translation>
</message>
<message>
<location filename="../src/frontend/mainwindow.cpp" line="148"/>
<location filename="../src/frontend/mainwindow.cpp" line="151"/>
<source>WLAN</source>
<translatorcomment>线</translatorcomment>
<translation>线</translation>
</message>
<message>
<location filename="../src/frontend/mainwindow.cpp" line="177"/>
<location filename="../src/frontend/mainwindow.cpp" line="180"/>
<source>Show MainWindow</source>
<translation></translation>
</message>
<message>
<location filename="../src/frontend/mainwindow.cpp" line="178"/>
<location filename="../src/frontend/mainwindow.cpp" line="181"/>
<source>Settings</source>
<translatorcomment></translatorcomment>
<translation></translation>
@ -879,7 +884,7 @@
<translation></translation>
</message>
<message>
<location filename="../src/frontend/tab-pages/tabpage.cpp" line="92"/>
<location filename="../src/frontend/tab-pages/tabpage.cpp" line="104"/>
<source>Settings</source>
<translation></translation>
</message>
@ -945,26 +950,26 @@
<translation></translation>
</message>
<message>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="116"/>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="495"/>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="128"/>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="507"/>
<source>Disconnect</source>
<translation></translation>
</message>
<message>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="118"/>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="219"/>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="493"/>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="130"/>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="231"/>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="505"/>
<source>Connect</source>
<translation></translation>
</message>
<message>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="125"/>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="499"/>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="137"/>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="511"/>
<source>Forget</source>
<translation></translation>
</message>
<message>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="238"/>
<location filename="../src/frontend/list-items/wlanlistitem.cpp" line="250"/>
<source>Auto Connect</source>
<translation></translation>
</message>
@ -972,30 +977,34 @@
<context>
<name>WlanMoreItem</name>
<message>
<location filename="../src/frontend/list-items/wlanmoreitem.cpp" line="8"/>
<source>More...</source>
<translation>...</translation>
<translation type="vanished">...</translation>
</message>
<message>
<location filename="../src/frontend/list-items/wlanmoreitem.cpp" line="8"/>
<source>Add Others...</source>
<translation>...</translation>
</message>
</context>
<context>
<name>WlanPage</name>
<message>
<location filename="../src/frontend/tab-pages/wlanpage.cpp" line="65"/>
<location filename="../src/frontend/tab-pages/wlanpage.cpp" line="67"/>
<source>WLAN</source>
<translation>线</translation>
</message>
<message>
<location filename="../src/frontend/tab-pages/wlanpage.cpp" line="124"/>
<location filename="../src/frontend/tab-pages/wlanpage.cpp" line="118"/>
<source>No wireless network card detected</source>
<translation>线</translation>
</message>
<message>
<location filename="../src/frontend/tab-pages/wlanpage.cpp" line="66"/>
<location filename="../src/frontend/tab-pages/wlanpage.cpp" line="69"/>
<source>Activated WLAN</source>
<translation></translation>
</message>
<message>
<location filename="../src/frontend/tab-pages/wlanpage.cpp" line="67"/>
<location filename="../src/frontend/tab-pages/wlanpage.cpp" line="78"/>
<source>Other WLAN</source>
<translation></translation>
</message>
@ -1004,12 +1013,12 @@
<translation type="vanished">...</translation>
</message>
<message>
<location filename="../src/frontend/tab-pages/wlanpage.cpp" line="731"/>
<location filename="../src/frontend/tab-pages/wlanpage.cpp" line="767"/>
<source>WLAN Connected Successfully</source>
<translation>线</translation>
</message>
<message>
<location filename="../src/frontend/tab-pages/wlanpage.cpp" line="727"/>
<location filename="../src/frontend/tab-pages/wlanpage.cpp" line="763"/>
<source>WLAN Disconnected Successfully</source>
<translation>线</translation>
</message>