From a6f1f9f55048c5c6a145d16d05af0f57ec934b5f Mon Sep 17 00:00:00 2001 From: chenlelin Date: Mon, 16 Mar 2020 10:34:14 +0800 Subject: [PATCH] add signal communication with ukui control center --- .qmake.stash | 24 ---- debian/control | 1 - debian/source/format | 2 +- kylin-dbus-interface.cpp | 61 ++++++++++ kylin-dbus-interface.h | 8 ++ kylin-nm.pro | 6 +- mainwindow.cpp | 73 ++++++++---- mainwindow.h | 5 +- nmqrc.qrc | 26 +---- qss/style.qss | 9 ++ res/g/triangle.png | Bin 293 -> 0 bytes res/h/add-hide-wifi.png | Bin 325 -> 0 bytes res/h/add-hide-wifi.svg | 16 --- res/s/checkbox-default.png | Bin 1010 -> 0 bytes res/s/checkbox-disabled.png | Bin 1039 -> 0 bytes res/s/checkbox-selected.png | Bin 1199 -> 0 bytes res/s/correct.png | Bin 1398 -> 0 bytes res/s/error.png | Bin 1247 -> 0 bytes res/s/network-error.png | Bin 14816 -> 0 bytes res/s/network-line.png | Bin 14630 -> 0 bytes res/s/network-offline.png | Bin 14869 -> 0 bytes res/s/network-secure.png | Bin 14639 -> 0 bytes res/s/no network.png | Bin 2361 -> 0 bytes res/s/pbad.png | Bin 175 -> 0 bytes res/s/pgood.png | Bin 172 -> 0 bytes res/s/pnormal.png | Bin 177 -> 0 bytes res/s/setting.png | Bin 1308 -> 0 bytes res/s/wifi-full-error.png | Bin 1432 -> 0 bytes res/s/wifi-full-secure.png | Bin 14612 -> 0 bytes res/s/wifi-full.png | Bin 14587 -> 0 bytes res/s/wifi-high-error.png | Bin 1443 -> 0 bytes res/s/wifi-high-secure.png | Bin 14626 -> 0 bytes res/s/wifi-high.png | Bin 14588 -> 0 bytes res/s/wifi-low-error.png | Bin 1434 -> 0 bytes res/s/wifi-low-secure.png | Bin 14622 -> 0 bytes res/s/wifi-low.png | Bin 14588 -> 0 bytes res/s/wifi-medium-error.png | Bin 1435 -> 0 bytes res/s/wifi-medium-secure.png | Bin 14619 -> 0 bytes res/s/wifi-medium.png | Bin 14586 -> 0 bytes res/s/wifi-none-error.png | Bin 1433 -> 0 bytes res/s/wifi-none-secure.png | Bin 14623 -> 0 bytes res/s/wifi-none.png | Bin 14590 -> 0 bytes res/x/network-error.png | Bin 14738 -> 0 bytes res/x/network-line.png | Bin 14617 -> 0 bytes res/x/network-offline.png | Bin 14752 -> 0 bytes res/x/wifi-error.png | Bin 1323 -> 0 bytes res/x/wifi-line.png | Bin 15010 -> 0 bytes res/x/wifi-offline.png | Bin 1378 -> 0 bytes utils.h | 28 +++++ wireless-security/dlgconnhidwifi.cpp | 37 +++---- wireless-security/dlgconnhidwifi.h | 1 + wireless-security/dlgconnhidwifileap.cpp | 49 +++------ wireless-security/dlgconnhidwifileap.h | 2 + wireless-security/dlgconnhidwifisecfast.cpp | 84 +++++--------- wireless-security/dlgconnhidwifisecfast.h | 2 + wireless-security/dlgconnhidwifisecleap.cpp | 58 ++++------ wireless-security/dlgconnhidwifisecleap.h | 3 + wireless-security/dlgconnhidwifisecpeap.cpp | 104 ++++++------------ wireless-security/dlgconnhidwifisecpeap.h | 3 + wireless-security/dlgconnhidwifisecpwd.cpp | 58 ++++------ wireless-security/dlgconnhidwifisecpwd.h | 2 + wireless-security/dlgconnhidwifisectls.cpp | 104 ++++++------------ wireless-security/dlgconnhidwifisectls.h | 3 + .../dlgconnhidwifisectunneltls.cpp | 95 ++++++---------- .../dlgconnhidwifisectunneltls.h | 3 + wireless-security/dlgconnhidwifiwep.cpp | 63 ++++------- wireless-security/dlgconnhidwifiwep.h | 3 + wireless-security/dlgconnhidwifiwpa.cpp | 46 +++----- wireless-security/dlgconnhidwifiwpa.h | 3 + wireless-security/kylinheadfile.cpp | 25 +++++ wireless-security/kylinheadfile.h | 9 ++ 71 files changed, 453 insertions(+), 563 deletions(-) delete mode 100644 .qmake.stash create mode 100644 qss/style.qss delete mode 100644 res/g/triangle.png delete mode 100644 res/h/add-hide-wifi.png delete mode 100644 res/h/add-hide-wifi.svg delete mode 100644 res/s/checkbox-default.png delete mode 100644 res/s/checkbox-disabled.png delete mode 100644 res/s/checkbox-selected.png delete mode 100644 res/s/correct.png delete mode 100644 res/s/error.png delete mode 100644 res/s/network-error.png delete mode 100644 res/s/network-line.png delete mode 100644 res/s/network-offline.png delete mode 100644 res/s/network-secure.png delete mode 100644 res/s/no network.png delete mode 100644 res/s/pbad.png delete mode 100644 res/s/pgood.png delete mode 100644 res/s/pnormal.png delete mode 100644 res/s/setting.png delete mode 100644 res/s/wifi-full-error.png delete mode 100644 res/s/wifi-full-secure.png delete mode 100644 res/s/wifi-full.png delete mode 100644 res/s/wifi-high-error.png delete mode 100644 res/s/wifi-high-secure.png delete mode 100644 res/s/wifi-high.png delete mode 100644 res/s/wifi-low-error.png delete mode 100644 res/s/wifi-low-secure.png delete mode 100644 res/s/wifi-low.png delete mode 100644 res/s/wifi-medium-error.png delete mode 100644 res/s/wifi-medium-secure.png delete mode 100644 res/s/wifi-medium.png delete mode 100644 res/s/wifi-none-error.png delete mode 100644 res/s/wifi-none-secure.png delete mode 100644 res/s/wifi-none.png delete mode 100644 res/x/network-error.png delete mode 100644 res/x/network-line.png delete mode 100644 res/x/network-offline.png delete mode 100644 res/x/wifi-error.png delete mode 100644 res/x/wifi-line.png delete mode 100644 res/x/wifi-offline.png create mode 100644 wireless-security/kylinheadfile.cpp diff --git a/.qmake.stash b/.qmake.stash deleted file mode 100644 index 6665dd0a..00000000 --- a/.qmake.stash +++ /dev/null @@ -1,24 +0,0 @@ -QMAKE_CXX.QT_COMPILER_STDCXX = 201402L -QMAKE_CXX.QMAKE_GCC_MAJOR_VERSION = 9 -QMAKE_CXX.QMAKE_GCC_MINOR_VERSION = 2 -QMAKE_CXX.QMAKE_GCC_PATCH_VERSION = 1 -QMAKE_CXX.COMPILER_MACROS = \ - QT_COMPILER_STDCXX \ - QMAKE_GCC_MAJOR_VERSION \ - QMAKE_GCC_MINOR_VERSION \ - QMAKE_GCC_PATCH_VERSION -QMAKE_CXX.INCDIRS = \ - /usr/include/c++/9 \ - /usr/include/x86_64-linux-gnu/c++/9 \ - /usr/include/c++/9/backward \ - /usr/lib/gcc/x86_64-linux-gnu/9/include \ - /usr/local/include \ - /usr/lib/gcc/x86_64-linux-gnu/9/include-fixed \ - /usr/include/x86_64-linux-gnu \ - /usr/include -QMAKE_CXX.LIBDIRS = \ - /usr/lib/gcc/x86_64-linux-gnu/9 \ - /usr/lib/x86_64-linux-gnu \ - /usr/lib \ - /lib/x86_64-linux-gnu \ - /lib diff --git a/debian/control b/debian/control index 44d4ed62..d7cc1cf0 100644 --- a/debian/control +++ b/debian/control @@ -20,7 +20,6 @@ Vcs-Browser: https://github.com/ukui/kylin-nm Package: kylin-nm Architecture: any Depends: network-manager (>=1.12.4), - libnotify-bin, ${shlibs:Depends}, ${misc:Depends} Description: Gui Applet tool for display and edit network simply diff --git a/debian/source/format b/debian/source/format index 163aaf8d..89ae9db8 100644 --- a/debian/source/format +++ b/debian/source/format @@ -1 +1 @@ -3.0 (quilt) +3.0 (native) diff --git a/kylin-dbus-interface.cpp b/kylin-dbus-interface.cpp index d98858d2..ff7df9b9 100644 --- a/kylin-dbus-interface.cpp +++ b/kylin-dbus-interface.cpp @@ -31,6 +31,7 @@ KylinDBus::KylinDBus(MainWindow *mainWindow, QObject *parent) :QObject(parent) getPhysicalCarrierState(0); //初始化获取网线插入状态 getLanHwAddressState(); //获取有线网Mac地址 getWiredCardName(); + getWifiSwitchState(); QDBusConnection::systemBus().connect(QString("org.freedesktop.NetworkManager"), QString("/org/freedesktop/NetworkManager"), @@ -431,3 +432,63 @@ int KylinDBus::getTaskbarHeight(QString str) QDBusReply reply = interface.call("GetPanelSize", str); return reply; } + +void KylinDBus::getWifiSwitchState() +{ + if(QGSettings::isSchemaInstalled("org.ukui.control-center.wifi.switch")) { + + m_gsettings = new QGSettings("org.ukui.control-center.wifi.switch"); + + // 监听key的value是否发生了变化 + connect(m_gsettings, &QGSettings::changed, this, [=] (const QString &key) { + + if (key == "switch") { + bool judge = getSwitchStatus(key); + if (judge){ + mw->onBtnWifiClicked(1); //打开wifi开关 + }else{ + mw->onBtnWifiClicked(2); //关闭wifi开关 + } + } + }); + } +} + +bool KylinDBus::getSwitchStatus(QString key){ + if (!m_gsettings) { + return true; + } + const QStringList list = m_gsettings->keys(); + if (!list.contains(key)) { + return true; + } + bool res = m_gsettings->get(key).toBool(); + return res; +} + +void KylinDBus::wifiSwitchSlot(bool signal){ + if(!m_gsettings) { + return ; + } + + const QStringList list = m_gsettings->keys(); + + if (!list.contains("switch")) { + return ; + } + m_gsettings->set("switch",signal); +} + +void KylinDBus::wifiCardSlot(bool signal) +{ + if(!m_gsettings) { + return ; + } + + const QStringList list = m_gsettings->keys(); + + if (!list.contains("wificard")) { + return ; + } + m_gsettings->set("wificard",signal); +} diff --git a/kylin-dbus-interface.h b/kylin-dbus-interface.h index 52c58662..31eeb421 100644 --- a/kylin-dbus-interface.h +++ b/kylin-dbus-interface.h @@ -12,6 +12,7 @@ #include #include #include +#include #include class MainWindow; @@ -28,6 +29,11 @@ public: int getTaskbarPos(QString str); int getTaskbarHeight(QString str); + void getWifiSwitchState(); + bool getSwitchStatus(QString key); + void wifiSwitchSlot(bool signal); + void wifiCardSlot(bool signal); + QDBusObjectPath wiredPath; QDBusObjectPath wirelessPath; @@ -63,6 +69,8 @@ private: bool isRunningFunction = false; QTimer *time; + QGSettings *m_gsettings; + signals: void updateWiredList(int n); diff --git a/kylin-nm.pro b/kylin-nm.pro index d926c9f2..0ec290d0 100644 --- a/kylin-nm.pro +++ b/kylin-nm.pro @@ -19,6 +19,7 @@ CONFIG += release #PKGCONFIG += libnm glib-2.0 gio-2.0 dbus-glib-1 #PKGCONFIG += Qt5Svg +LIBS += -L/usr/lib/ -lgsettings-qt target.path = /usr/bin target.source += $$TARGET @@ -67,7 +68,8 @@ SOURCES += \ wireless-security/dlgconnhidwifileap.cpp \ wireless-security/dlgconnhidwifiwpa.cpp \ kylin-dbus-interface.cpp \ - hot-spot/dlghotspotcreate.cpp + hot-spot/dlghotspotcreate.cpp \ + wireless-security/kylinheadfile.cpp HEADERS += \ mainwindow.h \ @@ -121,3 +123,5 @@ unix { TRANSLATIONS = translations/kylin-nm_zh_CN.ts \ translations/kylin-nm_bo.ts + +DISTFILES += diff --git a/mainwindow.cpp b/mainwindow.cpp index 40b2e9c4..0b00f652 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -48,13 +48,15 @@ MainWindow::MainWindow(QWidget *parent) : setProperty("blurRegion", QRegion(path.toFillPolygon().toPolygon())); this->setStyleSheet("QWidget{border:none;border-radius:6px;}"); - this->setStyleSheet("QToolTip{background:rgba(26,26,26,0.7);" - "font: 14px;" - "color:rgba(255,255,255,1);" - "border-radius: 3px;" - "border:1px solid rgba(255,255,255,0.2);" - "padding: 0px 5px;" - "outline:none;}"); + + UseQssFile::setStyle("style.qss"); +// setStyleSheet("QToolTip{background:rgba(26,26,26,0.7);" +// "font: 14px;" +// "color:rgba(255,255,255,1);" +// "border-radius: 3px;" +// "border:1px solid rgba(255,255,255,0.2);" +// "padding: 0px 5px;" +// "outline:none;}"); ui->centralWidget->setStyleSheet("#centralWidget{border:1px solid rgba(255,255,255,0.05);border-radius:6px;background:rgba(19,19,20,0.9);}"); @@ -191,7 +193,6 @@ MainWindow::MainWindow(QWidget *parent) : scrollAreal->viewport()->setStyleSheet("background-color:transparent;"); scrollAreal->verticalScrollBar()->setStyleSheet(scrollBarQss); - scrollAreaw->setStyleSheet("QScrollArea{border:none;}"); scrollAreaw->viewport()->setStyleSheet("background-color:transparent;"); scrollAreaw->verticalScrollBar()->setStyleSheet(scrollBarQss); @@ -269,6 +270,7 @@ MainWindow::MainWindow(QWidget *parent) : trayIcon->show(); connect(ui->btnNetList, &QPushButton::clicked, this, &MainWindow::onBtnNetListClicked); + connect(ui->btnWifi, &QPushButton::clicked, this, &MainWindow::onBtnWifiClicked); auto app = static_cast(QCoreApplication::instance()); app->setStyle(new CustomStyle()); @@ -863,7 +865,7 @@ void MainWindow::onWirelessDeviceAdded(QDBusObjectPath objPath) } else { is_wireless_adapter_ready = 0; } - on_btnWifi_clicked(); + onBtnWifiClicked(0); } void MainWindow::onWirelessDeviceRemoved(QDBusObjectPath objPath) { @@ -873,7 +875,7 @@ void MainWindow::onWirelessDeviceRemoved(QDBusObjectPath objPath) if (objKyDBus->wirelessPath.path() == objPath.path()){ is_wireless_adapter_ready = 0; } - on_btnWifi_clicked(); + onBtnWifiClicked(0); } void MainWindow::checkIsWirelessDeviceOn() { @@ -1370,15 +1372,19 @@ void MainWindow::on_btnNet_clicked() this->startLoading(); } -void MainWindow::on_btnWifi_clicked() +void MainWindow::onBtnWifiClicked(int flag) { - //当连接上无线网卡时才能打开wifi开关 + qDebug()<<"the value of flag = "<hide(); btnAddNet->hide(); + objKyDBus->wifiSwitchSlot(false); + QThread *t = new QThread(); BackThread *bt = new BackThread(); bt->moveToThread(t); @@ -1394,6 +1400,9 @@ void MainWindow::on_btnWifi_clicked() is_stop_check_net_state = 1; lbTopWifiList->show(); btnAddNet->show(); + objKyDBus->wifiCardSlot(true); + objKyDBus->wifiSwitchSlot(true); + QThread *t = new QThread(); BackThread *bt = new BackThread(); bt->moveToThread(t); @@ -1406,16 +1415,13 @@ void MainWindow::on_btnWifi_clicked() this->startLoading(); } } - }else{ - if(!checkWlOn()){ - QString txt(tr("keep wired network switch is on before turning on wireless switch")); - QString cmd = "export LANG='en_US.UTF-8';export LANGUAGE='en_US';notify-send '" + txt + "' -t 3800"; - system(cmd.toUtf8().data()); - + } else if(flag == 1) { + if (is_fly_mode_on == 0){ on_btnWifiList_clicked(); is_stop_check_net_state = 1; lbTopWifiList->show(); btnAddNet->show(); + QThread *t = new QThread(); BackThread *bt = new BackThread(); bt->moveToThread(t); @@ -1425,18 +1431,40 @@ void MainWindow::on_btnWifi_clicked() connect(bt, SIGNAL(launchLanDone()), this, SLOT(launchLanDone())); connect(bt, SIGNAL(btFinish()), t, SLOT(quit())); t->start(); + this->startLoading(); } + } else if(flag == 2) { + lbTopWifiList->hide(); + btnAddNet->hide(); + + QThread *t = new QThread(); + BackThread *bt = new BackThread(); + bt->moveToThread(t); + connect(t, SIGNAL(finished()), t, SLOT(deleteLater())); + connect(t, SIGNAL(started()), bt, SLOT(execDisWifi())); + connect(bt, SIGNAL(disWifiDone()), this, SLOT(disWifiDone())); + connect(bt, SIGNAL(btFinish()), t, SLOT(quit())); + t->start(); this->startLoading(); + } else { + qDebug()<<"receive an invalid value in function onBtnWifiClicked"; + syslog(LOG_DEBUG, "receive an invalid value in function onBtnWifiClicked"); } - //this->startLoading(); + } else { lbTopWifiList->hide(); btnAddNet->hide(); + if (flag == 0) { + objKyDBus->wifiSwitchSlot(false); + objKyDBus->wifiCardSlot(false); + } + QString txt(tr("please insert the wireless network adapter")); QString cmd = "export LANG='en_US.UTF-8';export LANGUAGE='en_US';notify-send '" + txt + "' -t 3800"; system(cmd.toUtf8().data()); keepDisWifiState(); } + } void MainWindow::onBtnNetListClicked(int flag) @@ -2374,7 +2402,8 @@ void MainWindow::keepDisWifiState() this->scrollAreaw->show(); this->topWifiListWidget->show(); -// this->stopLoading(); + // this->stopLoading(); + getActiveInfo(); } } @@ -2385,7 +2414,7 @@ void MainWindow::on_btnFlyMode_clicked() ui->lbFlyBG->setStyleSheet(btnOnQss); is_fly_mode_on = 1; - on_btnWifi_clicked(); + onBtnWifiClicked(0); on_btnWifiList_clicked(); } else { ui->lbFlyImg->setStyleSheet("QLabel{background-image:url(:/res/x/fly-mode-off.svg);}"); diff --git a/mainwindow.h b/mainwindow.h index b38676cd..1b6d3255 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -105,7 +105,7 @@ public: int is_wireless_adapter_ready = 1; //主机是否插入无线网卡 int is_keep_wifi_turn_on_state = 1; //是否要执行wifi开关变为打开样式 int is_stop_check_net_state = 0; //是否要在进行其他操作时停止检查网络状态 - int is_fly_mode_on = 0; //是否打开飞行模式 + int is_fly_mode_on = 0; //是否已经打开飞行模式 int is_hot_sopt_on = 0; //是否已经打开热点 QString currSelNetName = ""; //当前ScrollArea中选中的网络名称 @@ -127,6 +127,8 @@ public slots: void on_btnHotspot_clicked(); void on_btnHotspotState(); + void onBtnWifiClicked(int flag = 0); //flag =0为打开、1为关闭、2为其他 + private: void checkSingle(); void initNetwork(); @@ -203,7 +205,6 @@ private slots: bool nativeEvent(const QByteArray &eventType, void *message, long *result); void on_btnNet_clicked(); - void on_btnWifi_clicked(); void on_btnWifiList_clicked(); void onBtnNetListClicked(int flag=0); diff --git a/nmqrc.qrc b/nmqrc.qrc index e86783e1..332cd1b5 100644 --- a/nmqrc.qrc +++ b/nmqrc.qrc @@ -1,25 +1,6 @@ - res/s/wifi-full.png - res/s/wifi-high.png - res/s/wifi-medium.png - res/s/wifi-low.png - res/s/wifi-none.png - res/s/wifi-full-secure.png - res/s/wifi-high-secure.png - res/s/wifi-medium-secure.png - res/s/wifi-low-secure.png - res/s/wifi-none-secure.png - res/x/network-error.png - res/x/network-line.png - res/x/network-offline.png res/x/setup.png - res/x/wifi-error.png - res/x/wifi-line.png - res/x/wifi-offline.png - res/s/pbad.png - res/s/pgood.png - res/s/pnormal.png res/s/conning-b/1.png res/s/conning-b/2.png res/s/conning-b/3.png @@ -32,11 +13,7 @@ res/s/conning-b/10.png res/s/conning-b/11.png res/s/conning-b/12.png - res/s/setting.png - res/g/triangle.png res/g/down_arrow.png - res/s/network-line.png - res/s/network-offline.png res/s/conning-s/1.png res/s/conning-s/2.png res/s/conning-s/3.png @@ -61,8 +38,6 @@ res/s/rescan/10.png res/s/rescan/11.png res/s/rescan/12.png - res/h/add-hide-wifi.png - res/h/add-hide-wifi.svg res/h/hide-pwd.png res/h/right-pwd.png res/h/show-pwd.png @@ -99,5 +74,6 @@ res/s/conning-a/6.png res/s/conning-a/7.png res/s/conning-a/8.png + qss/style.qss diff --git a/qss/style.qss b/qss/style.qss new file mode 100644 index 00000000..debf04cb --- /dev/null +++ b/qss/style.qss @@ -0,0 +1,9 @@ +QToolTip{ + background:rgba(26,26,26,0.7); + font: 14px; + color:rgba(255,255,255,1); + border-radius: 3px; + border:1px solid rgba(255,255,255,0.2); + padding: 0px 5px; + outline:none; +} diff --git a/res/g/triangle.png b/res/g/triangle.png deleted file mode 100644 index 76eaa068002bc93f538d08622440873fc7521d29..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 293 zcmV+=0owkFP)3ZN0002&Nkl1~3Ijc9NBlWIG=y_l%p5540xwq>hf=Ex9M>;#`Dc - - - - - - - - - - - - diff --git a/res/s/checkbox-default.png b/res/s/checkbox-default.png deleted file mode 100644 index fd4493c69649788a5066bef9511961aabe372527..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1010 zcmaJ=zi-n(6u$nDT2-xxkctWeI=NB>i1=5X)V3O$G zKvBiQ%0|V4SWzV=1_mloAu;d|Fm_;IL1KiVoYN%jK(KW3z0>!7?|bjwJuej>&duDK z0RYSuHnlSS&&F$d9DuRo#GfS^+$4IHY~dZ!F#`m0Hm)OBaLooPBh%jB`+`;hm{@Wu zRZ=w`sTOuwGsduy>r*xWt80;OS}jCi9W@*;!~Fd4k%5k#VYX8SZ}@rCbT$tHv~^Id zSO+ajv6;08a5Yk?fQyI;BX`#e)hNUCbXB^Kk2wbRAf%OHE=*O863pWO!4#WLTEemn zR}@xADY7WthaxYeIbPueDai{euc*8L`yWHI1@?|w);9XNXp~`^g!n4Qbvhlkv&`b4 z!3m0@aJl;HY9SugCji8hRj zOrH~2J}zkhG>rd4U3Z8MNf}-G{ikqP+4m7wMj>to7QMKg#W#`(inwApu> zd|J+l%d(!5L`l>n$@o7kOmBwJ*8)NNzk1u1_;-C~%%2dn3Ru?3JxLqrI$;)a!HY z(O&W+xg0ga#g}{KvIj?Wg5vFPbZIage&o@K59nyOzrJ}*pGCc(fvtFZixL4ZDfY3^>YV v=TBeiuM*j=xp(jJjq440ZvGwEb6ZnSb#U^jdUW`{n2ujzK`&~@>$Stblj=9_ diff --git a/res/s/checkbox-disabled.png b/res/s/checkbox-disabled.png deleted file mode 100644 index f44755a4ff79a903a530560af0454ef251ab2ac5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1039 zcmaJ=PiWIn7|&+aZgw(ZI5!X<8B7Ojll0%3ux@LU&K1^Cvch^1nkH{+*pe5MH`@(l zb$D^8+r_(HWC(ijAi@yGF5*ADig*w&+d=T=!OMK<+RlSD@W}ff-|zSRzVH3so$Soj zuFn2WilVyGQ<6;nXWiv(r>M4l|3)_n`fw_bXVE+^D>kGO8Y)7NHk1V@Lq%J;{uYi> z)QLeom&f_cw4fp*ptw1KieV8nMU9SEEJa;}7!=`xZpP`KJFjV=YjJuml3_EJ2uu3Z zstspXXL9Q5qRMOZ_!tFy7ShuA{VkYzdRKsXyJ6MLtdjCo6ZeX=z>|{%C}w$ELm9p16oW(-~a#s diff --git a/res/s/checkbox-selected.png b/res/s/checkbox-selected.png deleted file mode 100644 index 5510e6076c4d1a35cae5590ac14d1434c3ed87ce..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1199 zcmaJ>ZD<>19KWQ2N$Xftw3`EWT&4Jy+)JA7?v|`ebIBT9vY2Kxph7NpPm-g(dv146 zn>08&+#7=l`5;WcIAzEXN)e`vF~^irbqrJ(esLevj@i0?kQJG>(Z=Vxrt^dG;JD}i z=lA>lU!OajPVL{?`E(~i5L**NQU-q?b>2tZ1mT+THhQtK1I2P^7#2}Qwg3@PVF8c{ zT`qwPkk!e<*FlINI(oHi4&{;uLnXKw#hAmdZ)Vi*S&yJg>$aM%B z4O0)2$|cie6k31``ulwf8{o;^f}afvJlFRU$uVp{%?LEx=VMrr5k!V1Hy#Q{v(%!P zk>VS%uob4t2$>>HS1J{MCE$lviDm^spc#(lI3Gs%>`4R3Ri9z^v=k&@E0$&=4H~4Q zC>P*33R5`K2PNp{rmSIavTPh<_PH=^xin6Oc82?}VYgg(gPh~$>SAMa`GJ8q z-omT>)~ykI&s@6_QY2gbp)jp!rF=f`p8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1jzR`x#H^o)qQX`Lkf9$D!fk(uv6ogIfu333iT(Fg2B)>R1<+QE5 zEG`^VnPn%c_@Do_HL~n)`N1}Qplf=tRzBidY*ZI^x^B$Ab`Tju?LQ+C%_38%CQc(i z-u%jXvQS$-I5D%g^jPh=$Lr5q?Bq;edIfwtvV7fY%9Izm+mh&iJ$EGE&43_ zsiUmL_I|gt-F5j5+pkZYkkH?6*yN6se8DCz-D)UZEUsdSzaBdAX0!N8-5J-zrH?GP zT3ko!T=8PRqjV?mnK%$rCp&v~B(m6*j@ib)?Pbrz^3KRE`-ev@+uyS7n8aF6jWo|) z{$<;WCl&dVVg}9(?r(S?{z2?*@%q1X{T<5+5!0FAHC38(AQw*dwpfD9)yhp633rFi I1_mep0|fTVc>n+a diff --git a/res/s/error.png b/res/s/error.png deleted file mode 100644 index 6f7f9837c158bbe6a8e9f0592e184fe24d4159dd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1247 zcmaJ>O>Em_7&eW_M%Sr@9yZEEjMqcQ@NfLDW^EcbED~v>G*g4v0snk%OzWT84oRya zmJUP^-DTpy0f`=~O`51Upo&S|p%NS1#ttn9&};goBJHPr`5+Hf_1=4^Ea z6oG0i%-;pW2on3iDwV@>{ta1oZ9-L-z$n_Mq$1B5qbWCFCo=G^H z!uCa#^93~H`T*q!9@pulhzb%xbCSrgub~V@^CTsaG>cQTOi40DqwNcW-h9K9i%Pcb z3%;eWN*H=FN!DsLqLw6Fe}<$bNg^qRWEdP;;K70us&(86PInj-5a_<;g_i4}5u>WP z)i8xYrTZb+UOs<7>;&yZ!IY78)gx(wB5ga0YtK3ei{O75hgt`v1rLx#5V%!ehxIT| zcfc@rPj?g})=P^h?}8&q5m&19mg3+T|a#u1B{L*lPoPVJj)9@kG1i}6ZzZkQ+NX7@H%p2R%9uY5t2C1 z@fuFkK*Tj8DdM`pB{@#elcuI&B$P--t@A`Hb&gcHp3(23~@JH9J(OM(kx1l^tG`xGrjYjv)_)c+o=)A+OzG1mAM5vm%Y&u9lPBa* z=lOnrzvn*B%kH1s+T3(sRmJ=YilV9-8-gwHN}J!Z8{w}$G&Bw`Y0M6YD24OIA2JWLP=hCrv{F-7N7eoHzp4`Z{LvCwIW(dV}; zH4D<=P%~YpCIIcSxve7S@X$408|U(R?9RJsJIlEl*2{2CE6ee$muERT`>_NnVB||k z5xyl@pDhRf@>`;Yq45lpOeSqfhfPiNGMv}zWmr37w_BmYst+oLkg_UzbtcI~o*>Z0 zgsd5|s?cU$p-1gE{1%H@DEGP0(7-M zA%f)t@K&me-Mt}4@{=pjsr4B=Qk85f_Yr92a^4qba>UCf|rC zbE}H4Q)6lZ4hsYvKBibR;!3YHzERN)K@mY?FaR5DvMlkO;NiR;$z^pry{y&ab@o_2 zEO1)AZinRbfF74KBBmjRLa2R8>Yyt2o4X~OTDr#6h4X@fF-L!`C5oh( zQmR4L;rbjz)-7DU>9edAtef0A(Gio=XObo)bYSi{zhz>}0kD1h(A6CwpwaNc?0yFs$`}8%EQJ`FDLuFE>RnsTY)rgT45@2aBToYHb*E3ls z+X~bB81wXx$&)7{(>i&6CRXg!`Sh8G8V}b39G8%u1J1`xY0Fp6=)>lm#`@Fx8aoR= z3}^mkt!Q_lwe!kWw7bxnceX3C5wK^g6*MC*^W@DO3$5@W0R-GGm&4^_3Y!ZZ&2kFF z!a*7CU)@}l4p=GeDeNd}?3~VsbYzX0sY3ppr)M(L3Lh5Wa|)AtP?8t%u4(~m>?~^&6 zW%K`z{d#B3Z|*v2&cp7?rjFCAmwkLOd|^B?_GWw8rsR&B#(XU^$|^4$`~3L%Sx>z; zafxqQXTm)no@QEQX+p?3PM zxf{1Xy?*cc@l)^4tk`Q+sXF>FG_1>P|>ro-l`7DWxj*ixV$NNXj%8>{{TX` BEsX#G diff --git a/res/s/network-line.png b/res/s/network-line.png deleted file mode 100644 index f0d40a3826bb74282b457f313d8ea7dc10ee4b52..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 14630 zcmeI3&ub%P7{}kW-DTTlS+M?CR)k?zLD6Jp@~h1-$u*F4Xb1)*NAN9*yZ<*W))I-M58m=KFah$7-{nx5K-nC{sy$$p+Zb~VSa zJ;O3NKd)N0HoOea`-M8M_I1_lP9f86vm+FRhH48^R1^l8bgkpDH=JrPG+h&L71yxo zxx^<8^x12cXSr+EkdmG5p@qqu6pNkO1IJsd4J_??Ggk|v4|v=q@*l~WJx|HPRXJOl7z~>97Rhv zDw~6INGX^DDEo7e{iCa%dPiBH7Ua=2xnemr)yo<+brlP?xvB`=MxgAhDmiCWEr$#X zXXA=6s2R9|l_t-cuBVzBp3P@TL)0*ISrx@Zx}1td^m0mz;B+DpNl%uwh!ihZ;#z7l zk&I0R5Q{}|1p3LCNM3^Ef3~f#yWhHexD|Hy zTf5HZO~cE^+SU4+fy+O6!((BQ+$7*^Dw&KY6`{Ym-!X4AaCIqfkp1iWt1?b11)lzn zfyU)wM$pkVhEoOp&V!i@TglA=xla)~H!8i8+}Q~CIOtx{Jx&bMu_BNLHDIYL5&$MDk3OgxF8K`%y3Z=K>@=BX;5Q^i;4&e7%oVI8Z%r}L{PwR zK^oMU;i4jf0)`9HpvDXr6%iCLT#yDeX1J(`pn&0mG^jDdMMVS!3>Tz9jTtT~A}C8Ps4>GuMFa&57ot%Z$?qWau=VCkw=WRw)!F=XsqxdF*FU{~ zOFW)?4g&h}>~b_@4$KVJIb`-k2>v-S1At%+|=txW9f?xBlYA5D+0 zeULl)dTxw+YxMfHkB@Bs!hiAT`g@7LOOk$j8;yVU^T-3cqfK=ByTmc|+mT;yy?XVp mQ%BK@7tcq>=1AdIYXptnn3%s*$b3kCqS=|b{3qvEuKfp!ZPWPx diff --git a/res/s/network-offline.png b/res/s/network-offline.png deleted file mode 100644 index 52ce9027193c5bc188d8830f1901618b2c5e95d6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 14869 zcmeI3e{2(F7{_mH3@nmB0H=$Dvw$#Mdw1=+t(UeNv>R)nV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(0u|-`T4oTb8>G;Zzwb_5wN72G9(i63V2@Px#y&DLS2-h zbMy#=xnR={-TNy3FY15l`U?0uKwd)P7(K6G&IdHUaCHt$`Kg00%Fu@3S9~)ithA!FICSXeZo^cVF^7CtrbmZBt z$j}^1>RoffAt#-yqN?{}qif#KC$@DFa7z0Dt|8<{&=nb4;E;G10V~q3d>aTQKZ35v z&=|-3yDu>Jl=ik7F{R>JgtXi6hUR#rJu5EA_nmKS#FUD*WXNmFtP*~P3d0NW{cus3 z^79?_8elu!XQVO|D%~QOkTKSl7a4a)T%OqS9vE@e)TZUvylfvU^Rd&!=Z(ZU>rTt{8e4sHwZP&5JWxS`t z+l_)^ZbbVTEA19d74;n zXIla>H+0^k*`e&1m=I}XIQEw2nxF%5%$e2#F*xA?w2zF3yLzfop&cXsUhZ{XY zq$vVGHPYKCGP+tLWbXEqIAdO)ph*Huj8J5BB@A+kGJ50jv276`kY!-DXnwUrSw1=V z0vu(~HUTCQRHMC#A|td+%~3`_(?^qY-ClHw02{KR;{a7tWO+3?dZc4eD}5}DV~#4> fGyU&Q7~IDHQ@Bs8D?*tR00000NkvXXu0mjf-;!J& diff --git a/res/s/pbad.png b/res/s/pbad.png deleted file mode 100644 index ae27c4a4b95e8ac5322aacd20559ca73fe38fc64..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 175 zcmeAS@N?(olHy`uVBq!ia0vp^AT}2V8<6ZZI=>f4m3g{2hDc29J-<=3DL}yG;^|}4 zK6)QuIw6{U@J2w;OV=}+4A~2~i zGe}z=m6*5{qHxAF?cw6-i5U1 Z+!B_eioJ=`(}6Bv@O1TaS?83{1OQu+LG=It diff --git a/res/s/pgood.png b/res/s/pgood.png deleted file mode 100644 index b7decc3acae2553d3480be4bf07f9179a385f496..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 172 zcmeAS@N?(olHy`uVBq!ia0vp^AT}2V8<6ZZI=>f46??ikhDc29J+CO$lpxUZaQay} z_QUcoyV4KlOwlSAv}Ql>dWPYSu!MQ(htAa`F4yv&XtnsT;d@E`Jqkv99(S^}moyt% zhen>#Y&PB6_?nF+cELTyYa7otXnnZHc&;&#-J<3GqdL}ChX3mKJZ$2e|E0yuI{xi> W(d`?R>|B7>GkCiCxvXf4Rd~8MhDc29y|7!bi9x{i;^Dr9 zPZJoQ)MXtMarRs)Zg~94LAx~v?i^4R*=ekQqt^V!%}1r{RjjYvcw+OYN!ms4{EkJ3 ztb!MwKgShqQg``*pv5^4;nD>$3e!H`XLNnA(?N#$F4IQt`{G-SgSzW>eQaT7+hff9 b?dDI0Rl7y&jvk!?aukE7tDnm{r-UW|+qOnf diff --git a/res/s/setting.png b/res/s/setting.png deleted file mode 100644 index 229a691c86db926d5d8c34719c60019a6049edf2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1308 zcmaJ>TTC2P7#>`Lw1}cX5JWQ$qBJ_!-MPvXfnn`7E~VRzY^=7-{ii_a)lD~z7OI6UC3br}vAftK!X)+uQpfOAB z0tuiR1AS*e1A>Hho5@s=ia#ysjzy?B9U^PF5RD)WjagUKdq99{pv$ynZ1MPK7-||a z*1^W9xZ47{%}s+I*f!Xf)CYTX(ZCuvq77LI8n8g1qFJlg_NAO+L9?R3L>@;Oisnd4B@z*nQmY@Hkz}j zYEFM3W02`e2$ma|aSQNEaarAx**g;H@F?d55rXg`0!>fRzaDio5oDw1;uB8nF zXE`Cl^IBTu(nj9S&G1be-7E;vNHoebG~FtQl%O;#49`Y+z7oZfsFw0Ap!<99nQ+R~D%I*-twgN=&wLRWQO~i^ z{3Tx3}Tr!+CG83GUl3Sg^vP|Vsfr!wA?=~)60(lo*Fhbryj=LV_#}b8 zH#=L*HQ)Jeam6DQQTN}XT{DL#e^OpvI&$`$^Ydim;%HyZ?dp9+10}y4yngV9ug<^8 z6!Z(@#q(7=OXmLie(!`Fs=C@fMy7UWvSZbUPZsX~HFWG$X=P$Oa&Jxj!aWa`4LvsU zz{alWy0Du%K5XtB{tw?EzySaN diff --git a/res/s/wifi-full-error.png b/res/s/wifi-full-error.png deleted file mode 100644 index 13838d9e84df331b454382b6edcb2b48f7c0097b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1432 zcmbVMZA=?=7{B%kg^gn8G6&3sTT2LYwD;00^tyJm+)>tT<)suMicRm@D{Y{6<$A1z z#q1dSzziQ2vgtG|ab}n~U!sXGm}vwuQS{45Fu}!_fOF0-8xl>_%+))f=m)YGFS*?F z{O|ewp7;NmmZnDCwz6#i0O-7jDZl)Ml(!%s092Z1k1(=QDmHYAZG2Qr(*g^)BRs=G z-UQvv`dK=~zFjn^*A z$}wz!)=b16r(r#)PG1W|@&XH4%{8VlYOz7Jgc-FGHVm(ZFa)iE5dubW6N1_i!j7QO z#$%AZ36ZGXPkA= z(mE9wNV2e>P4WFgSnfyEm;=kTd$=RTP>#mlEX3ue(7hBN?oY6s=%t(n`HwjgkJxLO z8pdL^VWwy;#+c9=95>lm3vP-aIBucoT8xg`ay(n&DT;7Yq{lTHj16~lkZe;ptBzx9LVpkQTK{xv+gBY7efadQ=9 zWpkNWPTn9vUX^I^N}0T^lU~Xl$lPS^XR~!67Ghj^+4;PZR!y)mW&t#M<30i(HkcOgf#M+SN#D!B3Y)j8BwS^{I^03#ackhi+`I2X&9l z>~R$qR?OC4el!2`J}o=UECV~y2d8h2w2zL*C>5Zh-cjAUK6CPjE>tp@f4^J|hAL*I z>?E#l$HV(ybx+(-#a4CFZ4jK_)loV!cTDFR2dtXskLq4t)=iFKj)UMc()fF=i>}=W zwqs}ex!HQ-!rYx7Nn`6!!EXnu^?Qdh>T3OKV;5EGQ3lL+SRQ?GclMFXvZT4QEM;%q zo|vx+T^imyx*$xQ?8;Yf@A6bneBc;cB%vU1ei&q42bt--s*4i0!~e$#)fwMc_zLjU zlg6h{1;6Z)z9^Tje)io_qvhZnIeekyZPnG_&`bMP^ku(Zub2X^{Ha|KCH1?{eI!lX zZDf*FIz)|-daC1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RZqL`wX2=Kp_h z{F{&U#qVxzym)HqnI(kKsr9w$7QG75_t8h_Z!j4AO)n?CwVeQ=$DWM7C(uV9KaEh~ zS-ai{8?~1;)9s`T%WaZWzvEFgLi)wNXPEmW6q;n$c1q%(U)>Z1+bW5dvo*QqRmh&b zHt@;zV54ph_RXRtUMw%^eT^pQkkAnNowgHb{gN2x)o2_wV^N4D;eJV6jtUBm+NMx( zeIjI2ImuMif{-t!lx(q(&Rh`EvXaAc5i1!Auy{wyLYca`dl~ zxEF?=hH+fQvSS(^Wjnip~Dx~1R35~ww1ZR>YM|r9wFn!w#ZPyW^yhhXQ zh9yyq3XML)`|5b3LQXJbM=9dI;bA2u<9Q~_9C^I1-;Rf7nV7Umhd5zCeac*)x95g# zu;(r)IqF_mn9fP9HmW^$yq(V6(m}X#jUpH#o$Czh2Ohy&ByhXFNmj1WTRAiD?nApZ zo}7tHQP0A$lfJ#c7WE{ycqt?^q|Qv>@<>Q{W5o^(bVXrj^IZ;3f+W=gHu0bQR5VBONy8=qy{}M4V@2GOciX{FdR-7(j=v&aZKhQ?&7 zz`yf&CX-hBut1+v@aREha*{_I;QIMh@gPu zf;5;h$Hhbh1soTo!HhXBCL$={xF8K?%yBUhK>^1FX)t4si-`ydI4($o8FO4rL{PwS zK^n}M<6^Ht5kbwy}DfQ|N6%-%4zy0V&&3bcY8P9 zQ%|lMxARxu`1H;vFMavrh5e0(pa1QLZ>ak0b?@~$LbuM}`se4*Y1YSYe;;4ZmGAbx fK7r8T;X~+)4^AuJzVr4^RF2kHHmWyXxbo(IDbvCA diff --git a/res/s/wifi-high-error.png b/res/s/wifi-high-error.png deleted file mode 100644 index 924f6097050f86cfc2e33b4d3b8e06cff9f79bab..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1443 zcmbVMeM}o=9KLI5N3aaGIIYBx<2nsXZ11j=_Igr#&}(fsi?yqv#)b5HcZD0Y*WDfK zLFT;j4`6U={K$+NJB&m{=VoHe;*3Mf#n|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lUkaj6Ke@k zjRz1*C1@W=U9hx>;tJ^a}0XYsWqVSM}NO1hNKxNHD|bVeQtwwOIL4j zmMxJtdRq@VYDRD-*{b6bf5+t_2V1Ulh;_~=-xKUyS=Id0EU)<+g6InFY3&ZH<80fE z|2u(UeqbM6qq#xM!!}fyDo~A1;#%uoQ+3Exm9B|<+3R7}UR!^91^cIe&FGzou(fx7 z4p!{od@BB-CeyV*$E5~yASrmDty?+NSNu7xH3EG)F47N{{NJ_}cK2IX4!6SYerwlx z(KNg~-G{+I`r3({c592XN26mVRS1~cZkn24Z&IMh@gPuf;5;h$Hhbh1soTo!HhXBCL$={xF8K?%yBUhK>^1FX)t4si-`ydI4($o z8FO4rL{PwSK^n}M<6pZes_FW&ryjsX>C<_n*{w0ikJ)OXM_ diff --git a/res/s/wifi-high.png b/res/s/wifi-high.png deleted file mode 100644 index 12c24b9e01b9bcf6d30469af9db3c1c4206234d1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 14588 zcmeI3&2QsG7{+Ho-CY8E;(H}j%L`IjNXAZ@G&W9FCFzn%n^M}KrU%5j_N29%*v57? zX~Y46goL=Qgail)ao~oyaOA*=zX1tx*ei&SJ#gVd7~84y=Bu-d_BfG}yqS5P_Z|P{ zBfj{f?XA}?r7ousLYFpc)gAgRgzt;z>8C#!{7t_eaclcNLXSQkzR#i0zjy|r;`3Ic z88quRRKw|HbkjK?nSRHmYJ{|FeOEV*Ngy1ML(49Se|`UhC|G7m+{@Rcx?3SfR&C&s z-N9DF7#tglDPAk5w7yCcbV#5J{Z8BV)qY8g@~Siro3SWFlHj-`u7?GMW_??zI35x5 znL^r-b46iI$;f%7m|cBY$VzenOA3}((~_)8iYm#%=p~j@G}1h?rS4R(kIKnkv%%i5=+uwC!Jslbq(M65sGFH?SOA2=nR(PB$ot zVpu47jjpTXCWUN&#Ew$Leci=!M#A$-!0{T6(=NxWZ2J_UP^pBgYE4+#vuxAp`7dgC z+A^N+aW+!b15&2WVp^8dIjJGbYF1Hm#h0X_DoG$otenbGcTB5wGLxgAN^5F%73KiS z=^S+bn0lb!Qx>QNc}zoXIbKH(%2r1|B-phNH9T$v%4Aik6{qcZbXcUE)9}1z;EGn7 zx@r4?ZX0B?TBZ#d%QDqgcFizklkQ_9S4bDlRWp4+3Uc~DG9=xQi@8Exjv&_S&_0v8 z>KNT{w~SJo_n8{lXHviJS@fjS+dvbJ{(ei$Ni$QbX8Ck|o`7{rS8sHd?UHvUTTeUM zR&*x0y62N{$Cbp>Etec($r%-TqMfViMtGW)jc`K{Q^OOj<6$Mvk1@k$%%+tC+FvM#m>&B79MIU zT?=$vdNc=gdC#jr)s?pkri=rwaU? zM>83>(whZ(pMsMcmB~p?Ho^lA##i)!6T@`82&BP`IW8t5DB!pt4Q9-7F%dxl#|3FH zV~&f72nskZNP`)3Tuekzz;Qtu%$Vb1B7y>r3({c592XN26mVRS1~cZkn24Z&IMh@gPuf;5;h$Hhbh1soTo!HhXBCL$={xF8K? z%yBUhK>^1FX)t4si-`ydI4($o8J~$OHGcGu*z|e79(}Oy8*QmX9|{zV+D;vz!3zkz z_W?rx4C(i;2z4cde!Gc~`YA$BJGbBd@jBJ+Y*yDB{hxpTNlqc@V&#oLJ{b(Z`}$-5 ztEKMU3%@L%zwp-WZfoDaie72`NuN_(Ik)m5eSopH^zN6JpG4^HLp3FT6`?y%Ef1et frs;;mhmrE{W1l^-cjH<56K!s6Rlj}p=KKEv5jVO{ diff --git a/res/s/wifi-low-error.png b/res/s/wifi-low-error.png deleted file mode 100644 index 915d92b1cc3690bfe533b5cc63b417496825b383..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1434 zcmbVMZA=?w9DkstMP4hSl(~_k^#vE&yX$)|boAxgwTop9bi#*b>Gk>mH)yZi9qZA| zr8xIOST^TkvKbR0OU#B!%%X;%#%7{0(FDv)wk2lZ)GU0M8mDn)30{GsAIM_7tB5E`5>wTdDw{NdDrUn6#-Eyj?;E+byIi4gy!4jX@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bD%0dE^Q>5jhiH*<~J Aga7~l diff --git a/res/s/wifi-low-secure.png b/res/s/wifi-low-secure.png deleted file mode 100644 index 73ceb9ef95d99a4f8feecb86a2aa42959e85f266..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 14622 zcmeI3PiP}m9LHZ>s2W-EAGj!mVOC}Rlgv!g{Fxz1wCmN z@Avn6^Lc+Vmw9Vt`I+O9haw1}<4cRhRr1aG?>nZ+r`v8{Ctr8kiyJONcir#5r_hCq zClJa!VpP_>_42cdX4PY=Zf)UMt8NoDLfN^Nt!lg2eN3p^J{yxkl>?-%6O z%PU;Laxj;SrJ|aY$Z%;nCMD%eeD*0WE=nmulm%%vDoTndE26}8Uwl47qO7A=mDOUY zTaNt7@jISpD}vB$He=01%yPB`NtR_nj0^F2lqjO^zUis0sOg>zlN{zLVpnqv+cPYa z^Yf}(R>RBjykDsI>Rwmf?iDiKE;~X|XsNa!#YAD8N!NNFyW!M=q3N1{Yq*Y0&m}%- ztk2%DJj>m&CY0=TPb^I4q+IUR9y{K8eQashTi7EAx=6=5-O9d=g;nfY4M)QZd*o71 zj=Or#sP-pkAd}xSaqPHdOtASqp)FVn;S6QTwJHS%tDfalEUT6eSJ}!TLatEoS5=xj zb;dAttLZ+T6^1SS`R-@KMb*Q3;><)PDVh)~lBC3CC6Rej%qXG=l7z~k9A!&4s{123 zQi_;X#DN?@Ih=#+A6@m-8_EK;AdjvoRm-WXUf!sy+gPy8?X1vm1j^p3QVLeha>%f7 zK9Lp1H3L_$(v&6B^;A>COT|2Ch#7{iNL5j+rc?2#S`{Fhrc_Bv zRiyx8xeVN6iS%BwKY{?C-c7f4Jp(hgk27@;$-MRaDJC&GMSRA+Vkm23q^W>N&eM z<|D*J$ow^Qa9KrV3P(lekvZYpM>O-zIC~M)rD`bnC&>>jrE zozI(wmydU=4K)LofAWUM!Wy|r!1+`%nMh`Z;pSn-iqXQg^`b%cuj{YM1gR8whC9X@ zHzpZDN7oom75F<3W-@FgHw)xGMd;nA3{G-yBi!Pke?_-AF-*sbKpNDT;i4jf0)`9H zpvDXr6%iCLT#yDeX1J(`pn&0mG^jDdMMVS!3>Tz9jTtT~A}C8P zs4>GuMFa&57oj3(}y*3>Os<6fj(n1~q25sED9|;es@%@sYS9{YU?>NuKv>k_Y?buae)9 zhXOfmakY$4`%#1rUPtKf4*C8ap@xXiwM~SS_Yiu}diTX|N<>SZ(3!8ae%kt{)0zAF z^lguwo0`6EA4m_p{qsF18ed*I_S;qT`9^&sQ@3yK z{vmyTWvcVh#<}vVvk!m#%lUNaiOc`Kw)Os-FBk{!{CHWuFkPBCedX-=Pk&IZzVa=p chdP~OsJ(pe{3pNW?(=^yEi4y5e0uZje`Xlc>;M1& diff --git a/res/s/wifi-low.png b/res/s/wifi-low.png deleted file mode 100644 index 7f8d5189a04c137d45bd3e17da606fef1def869d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 14588 zcmeI3%a7Yc9LJ|r^bzO@@lYkSmJ3pOIAiA> z=7ivcxK%vZBgGRaS)YM=U33q;@Hco+n( zigCZ+PxjME$2-7Eu~@`%3a3&MRY?A^9q0qe_OHZAPV!WVZ+Mm)SdJ}(dG&p#7nDRX zEHwFy@2l%h3fcac9i@l|x{H;hjF*{AW8!gpUMCuwX<*VJU1A45^(jkz?x7Pn{-Lv? z^%I0br4p{Hym0k~Wt&dle?i0Z zmg#&?vyrMEkTP`^Bt?BF|GFTLXMm&=T#*Ga{%Rh z4!VC#J<#tf3)F%9mBf=RH#x*6XH@8kcCM-$;b~Sj!VN)84bQYrhc$7IZPx#tz&Jm!uddNQ zB=%_=Doz!tRwwbDcF@;7vVK6<#Qp5`IP0u!KD~y+)4yZQPDI=~J3l8Yc5yzn@K96f zTA<_7qd8DCywEnS9P3-*oOXJVKA)252P@&r3({c5 z92XN26mVRS1~cZkn24Z&coxZ1d^~~pAY(9$6zmI62U49ZF_iX)fdZ|CPHhOlA crW=jUqB|QGt*??wi~dC08#~o6U%mO>e~&@9=l}o! diff --git a/res/s/wifi-medium-error.png b/res/s/wifi-medium-error.png deleted file mode 100644 index 9bae221d04e47deb49af7c18afe797b441af29cf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1435 zcmbVMeM}o=7=POW#qwdD3osz&au}V&_U`&Ydnc7buU)&*t|?{1sI%AJm7dVMa(Ao+ zQLi)EvISB9P??%#b8413=cdHOfFCH35x+>BNn@f;T@3LL7q>*SM8&s2(LcyyyySB4 z``+{WJ_otGpCk z7mqO%Sv64xTo7+qY!sLi^Tz!JP|DDN2UIuxvJK&RWf))Q=G)Nn*GKvsg^f!X%Ff3X?Mla!ZMU z=H!ILXB1u(kRl@!7l#!W3L{-hA)N^ZH;4s!T_`9SmSZv)VaBm^x|r9hwX8(Af5O<* zT8@rnI4r`+;;@u}^+>jqz)-szJ1QE&XsF#14~xPK(qdvb%?V0?cA@Z(ndMo^nY6HN z_9Sj1NFr%s?KZ;1aEZ7n$#77KxPx)p*%HrYcn^+y?KV5<^Voa@;dMI6F2ZBA`mBW2 z;vj5}5;h>n3L_-Al5ZaRUdK9bh^0Id$0(u{6~)0)7lc!yBFZT-gLpi}symSFdwGEs zv+`ZVGOcAza}vLwV||jCMpkvE_)TK?Z~3p`+5f8_27|(i&GN72DILL%EG{=j0d6*i zi4))iNpMt1*ZlKvTBieaXEgV9{EwBD4xJ?ycb6}W=Xz%*mXe?n@pUC*hI4@M-`wKw zFgih*QFo!bxzIo-8uGRH0~-0Ztz+s@_3Y2O!ebQ`mI z%%5MX9JY*JU-Czhu0IV`^bX`0sG?7^{VF(FP&HqS(?5BC%qt(Nhrol)vF=larYE&; z?doY&-@e$Yj~TZ8I`!!@yTp;(&mVHnfL6VJZjXNMKvkI1e1pDn^>^)-7f1JI00i3$>SIhVM@Q_Z?*XD++f#vGL8zKMV`^D=r;0@7dyJ83a212^q A$N&HU diff --git a/res/s/wifi-medium-secure.png b/res/s/wifi-medium-secure.png deleted file mode 100644 index 4cec64c72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M4y8v4HzrUa9R0_|bB!@BAlU z?(Dr;c>r!c8QkJ4*_L_a28iy#)rUJ@Ir7@&YhZel*T!5rQ!zBbEU2cBTFgFudcuFI zwtr@PpwBsadT#bb=d%w#kglH0pR4G9bTWT%_qR33WW6yksjnOCnUj!h`1}s0s;K(( z8?QRgX8Ovy-yC_83JlCL@1CKApEaj;{;uw?Vs6f7uHVl1!DGKxUe#E4KaU|}=Y|Tm zGqX=C#^1lyG^9`s-`+m|%gEsCZ~gR+#a((G9Q=s+N-Y(u(gTJU&Q|@V-du7`$mEY7 zznB?WbnI7@;Wt_@)Z&>1FnZ^&x*v+XoeHt2OzJ8HRprZF!h0rD_Of(2n(ZH21HFF( DeJtVr diff --git a/res/s/wifi-none-secure.png b/res/s/wifi-none-secure.png deleted file mode 100644 index 7b04e7c7fceb6a59e1a7e91721b8c4a66704b8bb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 14623 zcmeI3O>7%Q6vrntLSR}|&{joANUIGfD0UYLE;ADLr6Wq$;|FL_VZV!MLmus+s`xq z|9i8)`S4!$_4T!L$083!5JJaRmh&6roAclI+)X~+cKaszy4PObb`iSog#VsG?_Yip zp@m0`;+D5nSXDHu9#eIzgk!C`P1Fdb&$Mh++rb`J!WF~J@PA#~=Q%^q@aGc+v0&$L z)mUyjc(c7$)Y>~*O6SjHBk7hx64bG$a;Vr@kwKS zcGdDMw`xr&+3TKIn9NC`(5pRmy!HCn(yq63i6H1A9qV+9yEYa!uxm9O4KH0HmohW% z>OG^}pPYeAe$T|QS~gr|>jwzAT+UxrN$#=p zhN)XkcQ!2yTl(|e&xZ4=hqJ`F5S658Tr5hGBBzx2!sFtCB8nhMs2s{suymumJCb8w z5tGWC408bGa1OG6bk$RDDGStsJi4ZoEvK$}S);C2uwa{&w9sz^%HFC{a#qc9$gprW zo)*S616Q!ploiwUR8zw%`7CLO8HTQ?x}MZzaV}a)mE@>2KUa#T;-z@BRK{glPO4%& zsRs}X1!x~howu}xzgxPg_1jDh>?5h4aSU?OsWqVSM}NB|#-tf3wQRU#eeQyFOIB}i zmTlsTgRKW0H6u8aY}IkGzvD9e!ItYCV!boU_XImvQ8oWG%WD3Hzy$C>YkychXV+%@ z-w6!!1N-C}%_=qz+fZSuKs7muYn8pG>fpr+SrfOi*TbxXw&CsJo-TmGEZ8i773i{vFp{%6+;yN9jYhg)Iyu(j`e z&NRHN+^sg$3|#)n8y*Xr=AonRk??z>Cl6xEB4hQ`!y2FWKI#vYIpvDXr6%iCLT#yDe zX1J(`pn&0mG^jDdMMVS!3>Tz9jTtT~A}C8Ps4>GuMFa&57oj3(}y* z3>Os<6fj(n1~q25sED9|;es@%F~dbg1O*Hiq(O}j#TDs4`iD*OykC<%*!T3>lm0`5 zoVL7CK&bsFLVK?w^lyiJ|B6sUMCi8*2r2I&blQ6RrR!&jwy~05EVgd^{;m{3+|eVS z{4>+(O#giH^fws#un*Gd)#E$PN-|e5^(A10Qqi3&7Pjg?+?)~v` zCiC(yKU`Uws#=-9@7num^;+fV8xMSO_2Qd1zUIG=9)In}%Qw-K8RI{AVZZZmlT_?< bjv)8X`xn10zV$r$iB^`@@}E9+;g$aY)4|cq diff --git a/res/s/wifi-none.png b/res/s/wifi-none.png deleted file mode 100644 index 3734c9bb083875ce6d7da2fe6cab701cdd7abe31..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 14590 zcmeI3&x_+^7{}jraaJq42rD?OiXp4wqV1dX*EAvRIJUFSfE~w~>du^;G7ZM1ev#TqW4f-vF?+51Sr{C+{re6=bE89Lo51kL+r_jfr%p+8I z%BpPzTh*6U!)c{-)2WkGx8+hbLfT^2)s1};2z9b+*+ucsufG!o%Pfjla#gA7mdT#A z((}k>Z>?tZ_6@}p7fT7PtI`B566iv=)wF%JTNIO+IGs*XMbba81HGHH{flvu<2)7O8=mC`mSYQHUcK(L zgQ6&gg$A$wb+z0qZDyhcd?w3@HCTY3_NbzYeqve4NRJ(MeM+*K6$Fo-E#uR z-*aY^9CXhtOy{Ip9n_vW-d1aBX+K!LN)hytPIdaV1DD_p;yZ26Aj?ZCuxIAjN!OZT3wvT)v=rhQ(&)9SWsm5AwklCqr4NHtkj(~6oYJSP=YNdie?i+1e$R4cUxjgnu$^?mQUB`0a&+m^+speCV6YL z^|+&HMQ4($dp-$wTv0sUa)U!`a7KlmXy>ZB5uRoxBisJz}42#?xy!JpG&2=tRV=qw{mTVkhTQ z3lBAwt_3eq!xL@8%CUYcoYQ7I(l4YX`oePf*|);(aqITUR@gmm9XemLt)P_d zR~u^vuJGiIkA+QolR!%OTrQK-@ObmMW8LbK=2pd``_~UwWrkLYJmVcxjoY(~prdb$ zrwaU?M>83>(whZ(pMnQBDx;G;*a-JH7+%pmP7KrWB9I0%=D3)Mpn&6oG?+2R#Y6-J z92ca)j5#hQA}HXvAPr{BaWN4=0mlVtFk_C3i3kcfE=YqJb6iYBP{46P8qApEVj_Y9 zjtkOY#vB(D5fpG-kOnj6xR{8bfa8KRm@&u2L<9vK7o@?AIW8t5DB!pt4Q9-7F%dxl z#|3FHV~&f72nskZNP`)3Tuekzz;Qtu%$Vb1B7y>r3({c592XN26mVRS1~cZkn24Z& zbP^weC;#e~yk8zklJrXWltA zciTObANkBm)9y^y|{DjKggoK-~a#s diff --git a/res/x/network-error.png b/res/x/network-error.png deleted file mode 100644 index 85baffe7fc05d6cba29f4e542b57ff530b2e8d1d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 14738 zcmeI3Z)_7~9LJAI795!ZM)?zCj-n`Hdw=?8?a_9Obz5gBEMv+VP2BD7>2_IrS9`a$ z8-XATi5mZfAR_w0HwN{E8ly-8{#is~6c>nKh?3|FjK~X20F96se6H=$m!2>m|iVxn$KCM6O&ajnxbjY|W)*WdvF5AR5y2kmJuoUpQDz z4LLS@V|*;#j)t}9L+(4j!R=>T0xrQD@Qa>DSdkZe93S8WkCPW9J|OV|Tl_e} zO*jf>)P&R<=`5DRe}x>wmX($`E}PA|vT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4Vch@!Vcz*iIThGM*xwOr>_mkg_POn`0?S+xa!;Q=@ae4BU TQ~mZ!mP~iYhRFNt26p@huB8pE diff --git a/res/x/network-line.png b/res/x/network-line.png deleted file mode 100644 index 46d331b14a080453313e79230ad85e1d926fa47c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 14617 zcmeI3OKclO7{><%p*EpKgwjGUY#l&6YVX63*vr~gYNsR=hmg2xasaa49Ve^UyUXq- zcG3eCph^f%6^9BTm0XZ|K?orsgb-Cl#UY#kamW$GAv{DmatgD%j{VuOGcD?IEZO^I z=Kue`+21^}mwjh?>iI*1#|IHYhbAWqGvs>I{~oxH{C@j+^*M4mXiv<$2n{{tfA2vb zeE0}L>Bo)IoHti|QP!+lOx3M2jx}mFQ6r?BYS^l_j6JT57Y#ET`TMJHBAlUTBj=Mv zp=jsvk}oRIX90ny%c)MuNODiT!3i!UYmtVu}|syqJgzqAX-&LFAgBNN$isilbNL znZlW7Ir3LFvgCQT%=7hnJyws$EN77yGnou8NW3IPi6ZK*nV#B+n(j!LWH(O%yP9Lz zo?)4spI0qgD_%Ad@e8#+&HJj^twN^TWJf6S4b|qwn85ck=~~NUuQ=6UXu8JZDz0JE zbBRyv>9dzC&vKWnJ|$b-eG8L0DHdC`dycnO>si|M##ae~Ceofxx3p$seg?bNilgE2 zRdOpMz3$#KD(%VX$mI9*9XoCqeQbVDXbYA?I714#S2^!s)w7(EWmR+GDx2O#$mR3? zsv6~lG*%I+Lw|LCfx-c}Z<1$lH$u2@b@^>Ri{UBtX?E-HMx5hz=$O3qtV%OS(U zxwyjjY6h-grOA_~>#3%OCkr{!5Hk#2P9@5fxLQ%8QVLh16+MxPs+B}Ks+W^Vy{xP8 zOu7<4EEb`CPwIlDt@yj8nOeWY)WE(c^-GRHPCB&;H2&!Cv_y|IdrD0hE?J*zVBM0{ z8=Pgc`1Q`#-HxgeoJqFoxY*xu*~speYaL>(Gs^b_J6BdU|1`^K{)WK1!gsW`ht+a6 z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% zUTCRxTNf$%I}bInbZPZtYBEQ>dwiaIp{Z%^+@mvJ{`q3z?5Cb-Z~PrkaD4uHzA9L| zW9FA`|Bbn~TI%hy^I2CYzFd3i@?Wc;T)VsL!h$<)th6*;z4ug&`C(O~Tz&pv^A)#w pObW!iCqSY2$Aj+;)Rn&u0kC~g)CMjt-*kRo>0}Rgq4V&|e*+2exS9X} diff --git a/res/x/wifi-line.png b/res/x/wifi-line.png deleted file mode 100644 index 627c0406d0e45b2006acd7ad87aa94e7f8b480e2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 15010 zcmeI3&u`;I6vt;(2|>_GNGq{u_kfjZC05|r&TpF}RY_V}sVSumY|Dk6*ptL+VjJ6O z(w-0qBo2E)0wKhO+nzYAxN%@tEdK;Z+~ERyL|Ung?fh_Fl2Oqv;xdsE`^}s0d-iAM zz4+qK_IBUAoVb=i2wmRZs_oO`i^2EVXXx+4@4K(l!*kBok%!RpSAy>)^z}C{A*B9h zHV*y6`i`dCy%aX=CP@u@4xNoqX>I6W{h0VdleA5%oc!~LACrPR|9R!NkG8V%4RJ{E?(uH|XNax#po(eq$fN($i=|G1o74-yK8^*y0# zyF|#P@}jO}ib6q6DLJ*6&b}t3WhF1ks-$E^S%Ug|tjN{aZr@N-(o3SW`D-pcBtyZ6o3 zba7@P1)inXPKM?ZS>TCe;Z}%Ns6_8otGWdHw%f4nZYA1fdt-z`wHoZIg7C^M(=zOV zce5lx$#lJ^(MS#Zq(YTNQBlN<+)(mbI<3k1SLLE6%dsHQOc0}P8)oZtL5yrx%jM!R zVl!b3T0aK%@r9zq=f>g~y4JGY9`-9{54VZrSnZND9gNMK>?*BlcWswm7O7-P(xTy* zD%@$>w&nTQ(#dwMLI+Z&X=qthRuw&85OE-D&N zE_BV-`$4sgLK`$R&bRW-7G0RUlGVj@AzKht(#(lQrkE+_nxv_=a^ui3`CRC?T$6S> z+>Ol%uKwSqSP*6|)t2ee{dpSOw{-W0z3hN|FgrSSbj`3QIoS0`P;uqtxa1~HY|^6w zO<1`a)`MNIg*+43wSZgQT&*Ed5%GcSgeAILWQ%I2l4EdKfo?o zZ__<-ky?+U&dOl;k`#3RuK6Dg*6zB(#JgdgegrPG3Uy2(#4+U$@Gq%W>gT1Cjmg%Cdb9* z1H2p;0KzsoE;b+F<+uP4w#jj^`2a7+1%R+kj*HC)csVWrgl%$MY(ButaRDG~ljCCZ z0bY&^0AZUP7n=|8a$Eoi+vK>|e1MnZ0zlX%$HnFYyc`z*!ZtZBHXq>SxBw8g$#Jpy z058V{fUr%Di_HgkIW7Q%ZE{>}KETUy0U&IX<6`pxUXBX@VVfKmn-B1ETmT5$HaRXfAK>M<01&pxak2RTFUJLduuUee#Pp?2V$nA>2lSQ9 zFW&w3Dt(<((6{#M2%X(P=);c@`um(7e@Cb;cDKYsb5}lu~ Zpc}s?R{wfW{W7q(H+E~^y>a`ae*jdcG(rFX diff --git a/res/x/wifi-offline.png b/res/x/wifi-offline.png deleted file mode 100644 index 697dad62af814974f805e6d42045690dc9ddd371..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1378 zcmbVMTTC2P7(NSSS#C*NDzT+C<7^*j!tBiKeI_g{dn+4Ry4kKmEox_G&%y-e;_Pg9 z!5h$~tu|?hc!|bDAXRIFjcv7!`e2LFln0xdKuEk`gFe|5HI0U76FdVf`al}vB$N67 zGynJf_w!=BZEscij&cA%RkS6PK;IhUwU_}gUA)-&0aCW>;SPPjlGbya20?R5;UN~4 zxGtE0T&nNsY1jZj@nJF9p?AbuSwWF(oMB_jODaMG(9o1uIiUyY7!SKd*@yq~+2=SW zrhIt2D@MiCAnX=f`Zc(}zbz^B_Xtc1Z)(IE@+=~dpw3}=saMXhc^|&Q%Ocr0CUI=V zMDOw8t3h?d;#g48Am*~U34wNaF%M&-U5wZ6tjFvW?ItOPq@4ssvlPQpG`9BO$eWf* zvx!h-%@@*qc(<;rEJ@~aIa|(QQ?xFUW*CN~?4;dJAPXYXC+l3EkTcc-LkMOBO;mMJ zkuigjz{q-_)_Nk(2P))_qk{|RG5>rApwg=7L| zl&mJ8ex$7hFsj}C9T|ow8g`#1qNZ@YAw|eaP}ZX%ACCUmQeukb+-WzTroDulb_#^u z=@nK3nso?j z;$fJIXo`fb)R`4Gh~dBGzlu-&-};d#DAE{~e+^IJ2u-9RuCD@8)|Uy&XoEDgDw97h z5NKP6qM_zw{u}<@@^Vx0wtHQ?zev4t+aj3<03S-2UpJln@X9M-u-FgA>Vk=>>ql*t z*{cIKQ_(5^bOkUS{i<%_?D>kxkB&&CZ_a_!75*VAxP5H#$${}*b-$Wge87TDToUd+ z*j9=i-_kg@@Ui*5>8IveOFqd~&*Uoni;>^#7yg>xeE|8tb2o5iK99+pEZEt;;k;*L ze5q+RcJ21Tn$E3P)Ca&jrFEB^^{H9&vp2w=??7@>x!W4QAWRBbFmr6#U-i5{?Q0y_ zHA-LJyzP7cpVo?prm&IP!6h)m6aiDDRj(e|d5bwd;T=0*ANq8$iKu+{jg#;5)YtRZ z+FQ2Pe!DzY_6I(k01IU|cbgx1yJU1HXqCCCu5{FX z>L<$l+B4YC;O3)c@gob|vA~qS@z!2j!}fe1wLiT1L@^k8{IvYm)TnOUdeLxO=v?5?(BBh_&;kGe diff --git a/utils.h b/utils.h index a8c03cd1..8b88c83c 100644 --- a/utils.h +++ b/utils.h @@ -3,6 +3,8 @@ #include #include +#include + #include #include #include @@ -10,12 +12,38 @@ #include #include +#include +#include + #include #include #include #include + +/*! + * \brief The UseQssFile class + * \details + * 通过QSS文件设置样式 + */ +class UseQssFile +{ +public: + static void setStyle(const QString &style) + { + QString styleName = ":/qss/" + style; + + QFile qss(styleName); + qss.open(QFile::ReadOnly); + qApp->setStyleSheet(qss.readAll()); + qss.close(); + } +}; + + + + /*! * \brief The NetworkSpeed class * \details diff --git a/wireless-security/dlgconnhidwifi.cpp b/wireless-security/dlgconnhidwifi.cpp index 560c7f42..019834a0 100644 --- a/wireless-security/dlgconnhidwifi.cpp +++ b/wireless-security/dlgconnhidwifi.cpp @@ -22,6 +22,7 @@ #include "ui_dlgconnhidwifi.h" #include "backthread.h" #include "mainwindow.h" + #include #include @@ -45,37 +46,25 @@ DlgConnHidWifi::DlgConnHidWifi(int type, MainWindow *mainWindow, QWidget *parent this->setStyleSheet("QWidget{border-radius:6px;background-color:rgba(19,19,20,0.9);border:1px solid rgba(255, 255, 255, 0.05);}"); + MyQss objQss; + ui->lbBoder->setStyleSheet("QLabel{border-radius:6px;background-color:rgba(19,19,20,0.95);border:1px solid rgba(255, 255, 255, 0.05);}"); ui->lbBoder->hide(); ui->lbLeftupTitle->setStyleSheet("QLabel{border:0px;font-size:20px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbConn->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbNetName->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbSecurity->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); + ui->lbConn->setStyleSheet(objQss.labelQss); + ui->lbNetName->setStyleSheet(objQss.labelQss); + ui->lbSecurity->setStyleSheet(objQss.labelQss); - ui->cbxConn->setStyleSheet("QComboBox{padding-left:20px;font-size:13px;color:rgba(255,255,255,0.91);border:1px solid rgba(255, 255, 255, 0.05);background:rgba(255,255,255,0.08);}" - "QComboBox::drop-down{border:0px;width:30px;}" - "QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}" - "QComboBox QAbstractItemView {border:1px solid rgba(255, 255, 255, 0.05);background-color: transparent;}" - "QComboBox QAbstractItemView::item{font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color: rgba(19,19,20,0.95);}" - "QComboBox QAbstractItemView::item:selected{font-size:13px;color:rgba(0,0,0,0.91);background-color:lightgray;}"); + ui->cbxConn->setStyleSheet(objQss.cbxQss); ui->cbxConn->setView(new QListView()); - ui->leNetName->setStyleSheet("QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}"); - ui->cbxSecurity->setStyleSheet("QComboBox{padding-left:20px;font-size:13px;color:rgba(255,255,255,0.91);border:1px solid rgba(255, 255, 255, 0.05);background:rgba(255,255,255,0.08);}" - "QComboBox::drop-down{border:0px;width:30px;}" - "QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}" - "QComboBox QAbstractItemView {border:1px solid rgba(255, 255, 255, 0.05);background-color: transparent;}" - "QComboBox QAbstractItemView::item{font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color: rgba(19,19,20,0.95);}" - "QComboBox QAbstractItemView::item:selected{font-size:13px;color:rgba(0,0,0,0.91);background-color:lightgray;}"); + ui->leNetName->setStyleSheet(objQss.leQss); + ui->cbxSecurity->setStyleSheet(objQss.cbxQss); ui->cbxSecurity->setView(new QListView()); - ui->btnCancel->setStyleSheet("QPushButton{border:0px;border-radius:4px;background-color:rgba(255,255,255,0.12);color:white;font-size:14px;}" - "QPushButton:Hover{border:0px solid rgba(255,255,255,0.2);border-radius:4px;background-color:rgba(255,255,255,0.2);}" - "QPushButton:Pressed{border-radius:4px;background-color:rgba(255,255,255,0.08);}"); - ui->btnConnect->setStyleSheet("QPushButton{border:0px;border-radius:4px;background-color:rgba(61,107,229,1);color:white;font-size:14px;}" - "QPushButton:Hover{border:0px solid rgba(255,255,255,0.2);border-radius:4px;background-color:rgba(107,142,235,1);}" - "QPushButton:Pressed{border-radius:4px;background-color:rgba(50,87,202,1);}"); - ui->lineUp->setStyleSheet("background:rgba(255,255,255,0.08);"); - ui->lineDown->setStyleSheet("background:rgba(255,255,255,0.08);"); + ui->btnCancel->setStyleSheet(objQss.btnCancelQss); + ui->btnConnect->setStyleSheet(objQss.btnConnQss); + ui->lineUp->setStyleSheet(objQss.lineQss); + ui->lineDown->setStyleSheet(objQss.lineQss); ui->lbLeftupTitle->setText(tr("Add hidden Wi-Fi")); //加入隐藏Wi-Fi ui->lbConn->setText(tr("Connection")); //连接设置: diff --git a/wireless-security/dlgconnhidwifi.h b/wireless-security/dlgconnhidwifi.h index a32e8bb9..3e2bab22 100644 --- a/wireless-security/dlgconnhidwifi.h +++ b/wireless-security/dlgconnhidwifi.h @@ -49,6 +49,7 @@ private: int isUsed;//=0 current wifi not used before; >=1 used MainWindow *mw; QString strWifiname; +// QString labelQss, cbxQss, leQss, btnConnQss, btnCancelQss, lineQss; void mousePressEvent(QMouseEvent *event); void mouseReleaseEvent(QMouseEvent *event); diff --git a/wireless-security/dlgconnhidwifileap.cpp b/wireless-security/dlgconnhidwifileap.cpp index 20a7290e..192d4ddf 100644 --- a/wireless-security/dlgconnhidwifileap.cpp +++ b/wireless-security/dlgconnhidwifileap.cpp @@ -38,45 +38,30 @@ DlgConnHidWifiLeap::DlgConnHidWifiLeap(QWidget *parent) : this->setStyleSheet("QWidget{border-radius:6px;background-color:rgba(19,19,20,0.9);border:1px solid rgba(255, 255, 255, 0.05);}"); + MyQss objQss; + ui->lbBoder->setStyleSheet("QLabel{border-radius:6px;background-color:rgba(19,19,20,0.95);border:1px solid rgba(255, 255, 255, 0.05);}"); ui->lbBoder->hide(); ui->lbLeftupTitle->setStyleSheet("QLabel{border:0px;font-size:20px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbConn->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbNetName->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbSecurity->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbUserName->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbPassword->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); + ui->lbConn->setStyleSheet(objQss.labelQss); + ui->lbNetName->setStyleSheet(objQss.labelQss); + ui->lbSecurity->setStyleSheet(objQss.labelQss); + ui->lbUserName->setStyleSheet(objQss.labelQss); + ui->lbPassword->setStyleSheet(objQss.labelQss); - ui->cbxConn->setStyleSheet("QComboBox{padding-left:20px;font-size:13px;color:rgba(255,255,255,0.91);border:1px solid rgba(255, 255, 255, 0.05);background:rgba(255,255,255,0.08);}" - "QComboBox::drop-down{border:0px;width:30px;}" - "QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}" - "QComboBox QAbstractItemView {border:1px solid rgba(255, 255, 255, 0.05);background-color: transparent;}" - "QComboBox QAbstractItemView::item{font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color: rgba(19,19,20,0.95);}" - "QComboBox QAbstractItemView::item:selected{font-size:13px;color:rgba(0,0,0,0.91);background-color:lightgray;}"); + ui->cbxConn->setStyleSheet(objQss.cbxQss); ui->cbxConn->setView(new QListView()); - ui->leNetName->setStyleSheet("QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}"); - ui->leUserName->setStyleSheet("QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}"); - ui->lePassword->setStyleSheet("QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}"); - ui->cbxSecurity->setStyleSheet("QComboBox{padding-left:20px;font-size:13px;color:rgba(255,255,255,0.91);border:1px solid rgba(255, 255, 255, 0.05);background:rgba(255,255,255,0.08);}" - "QComboBox::drop-down{border:0px;width:30px;}" - "QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}" - "QComboBox QAbstractItemView {border:1px solid rgba(255, 255, 255, 0.05);background-color: transparent;}" - "QComboBox QAbstractItemView::item{font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color: rgba(19,19,20,0.95);}" - "QComboBox QAbstractItemView::item:selected{font-size:13px;color:rgba(0,0,0,0.91);background-color:lightgray;}"); + ui->leNetName->setStyleSheet(objQss.leQss); + ui->leUserName->setStyleSheet(objQss.leQss); + ui->lePassword->setStyleSheet(objQss.leQss); + ui->cbxSecurity->setStyleSheet(objQss.cbxQss); ui->cbxSecurity->setView(new QListView()); - ui->checkBoxPwd->setStyleSheet("QCheckBox {border:none;background:transparent;}" - "QCheckBox::indicator {width: 18px; height: 9px;}" - "QCheckBox::indicator:checked {image: url(:/res/h/show-pwd.png);}" - "QCheckBox::indicator:unchecked {image: url(:/res/h/hide-pwd.png);}"); + ui->checkBoxPwd->setStyleSheet(objQss.checkBoxQss); - ui->btnCancel->setStyleSheet("QPushButton{border:0px;border-radius:4px;background-color:rgba(255,255,255,0.12);color:white;font-size:14px;}" - "QPushButton:Hover{border:0px solid rgba(255,255,255,0.2);border-radius:4px;background-color:rgba(255,255,255,0.2);}" - "QPushButton:Pressed{border-radius:4px;background-color:rgba(255,255,255,0.08);}"); - ui->btnConnect->setStyleSheet("QPushButton{border:0px;border-radius:4px;background-color:rgba(61,107,229,1);color:white;font-size:14px;}" - "QPushButton:Hover{border:0px solid rgba(255,255,255,0.2);border-radius:4px;background-color:rgba(107,142,235,1);}" - "QPushButton:Pressed{border-radius:4px;background-color:rgba(50,87,202,1);}"); - ui->lineUp->setStyleSheet("background:rgba(255,255,255,0.08);"); - ui->lineDown->setStyleSheet("background:rgba(255,255,255,0.08);"); + ui->btnCancel->setStyleSheet(objQss.btnCancelQss); + ui->btnConnect->setStyleSheet(objQss.btnConnQss); + ui->lineUp->setStyleSheet(objQss.lineQss); + ui->lineDown->setStyleSheet(objQss.lineQss); ui->lbLeftupTitle->setText(tr("Add hidden Wi-Fi")); //加入隐藏Wi-Fi ui->lbConn->setText(tr("Connection")); //连接设置: diff --git a/wireless-security/dlgconnhidwifileap.h b/wireless-security/dlgconnhidwifileap.h index 9fb78466..9bf16cb4 100644 --- a/wireless-security/dlgconnhidwifileap.h +++ b/wireless-security/dlgconnhidwifileap.h @@ -42,6 +42,8 @@ private: void mouseReleaseEvent(QMouseEvent *event); void mouseMoveEvent(QMouseEvent *event); +// QString labelQss, cbxQss, leQss, btnConnQss, btnCancelQss, lineQss, checkBoxQss; + bool isPress; QPoint winPos; QPoint dragPos; diff --git a/wireless-security/dlgconnhidwifisecfast.cpp b/wireless-security/dlgconnhidwifisecfast.cpp index 1cb1ac09..8769c132 100644 --- a/wireless-security/dlgconnhidwifisecfast.cpp +++ b/wireless-security/dlgconnhidwifisecfast.cpp @@ -40,73 +40,43 @@ DlgConnHidWifiSecFast::DlgConnHidWifiSecFast(int type, QWidget *parent) : this->setStyleSheet("QWidget{border-radius:6px;background-color:rgba(19,19,20,0.9);border:1px solid rgba(255, 255, 255, 0.05);}"); + MyQss objQss; + ui->lbBoder->setStyleSheet("QLabel{border-radius:6px;background-color:rgba(19,19,20,0.95);border:1px solid rgba(255, 255, 255, 0.05);}"); ui->lbBoder->hide(); ui->lbLeftupTitle->setStyleSheet("QLabel{border:0px;font-size:20px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbConn->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbNetName->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbSecurity->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbAuth->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbAnonyId->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->checkBoxAutoPCA->setStyleSheet("QCheckBox{color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbPCAfile->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbInnerAuth->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbUserName->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbPassword->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); + ui->lbConn->setStyleSheet(objQss.labelQss); + ui->lbNetName->setStyleSheet(objQss.labelQss); + ui->lbSecurity->setStyleSheet(objQss.labelQss); + ui->lbAuth->setStyleSheet(objQss.labelQss); + ui->lbAnonyId->setStyleSheet(objQss.labelQss); + ui->checkBoxAutoPCA->setStyleSheet(objQss.checkBoxQss); + ui->lbPCAfile->setStyleSheet(objQss.labelQss); + ui->lbInnerAuth->setStyleSheet(objQss.labelQss); + ui->lbUserName->setStyleSheet(objQss.labelQss); + ui->lbPassword->setStyleSheet(objQss.labelQss); - ui->cbxConn->setStyleSheet("QComboBox{padding-left:20px;font-size:13px;color:rgba(255,255,255,0.91);border:1px solid rgba(255, 255, 255, 0.05);background:rgba(255,255,255,0.08);}" - "QComboBox::drop-down{border:0px;width:30px;}" - "QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}" - "QComboBox QAbstractItemView {border:1px solid rgba(255, 255, 255, 0.05);background-color: transparent;}" - "QComboBox QAbstractItemView::item{font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color: rgba(19,19,20,0.95);}" - "QComboBox QAbstractItemView::item:selected{font-size:13px;color:rgba(0,0,0,0.91);background-color:lightgray;}"); + ui->cbxConn->setStyleSheet(objQss.cbxQss); ui->cbxConn->setView(new QListView()); - ui->leNetName->setStyleSheet("QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}"); - ui->cbxSecurity->setStyleSheet("QComboBox{padding-left:20px;font-size:13px;color:rgba(255,255,255,0.91);border:1px solid rgba(255, 255, 255, 0.05);background:rgba(255,255,255,0.08);}" - "QComboBox::drop-down{border:0px;width:30px;}" - "QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}" - "QComboBox QAbstractItemView {border:1px solid rgba(255, 255, 255, 0.05);background-color: transparent;}" - "QComboBox QAbstractItemView::item{font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color: rgba(19,19,20,0.95);}" - "QComboBox QAbstractItemView::item:selected{font-size:13px;color:rgba(0,0,0,0.91);background-color:lightgray;}"); + ui->leNetName->setStyleSheet(objQss.leQss); + ui->cbxSecurity->setStyleSheet(objQss.cbxQss); ui->cbxSecurity->setView(new QListView()); - ui->cbxAuth->setStyleSheet("QComboBox{padding-left:20px;font-size:13px;color:rgba(255,255,255,0.91);border:1px solid rgba(255, 255, 255, 0.05);background:rgba(255,255,255,0.08);}" - "QComboBox::drop-down{border:0px;width:30px;}" - "QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}" - "QComboBox QAbstractItemView {border:1px solid rgba(255, 255, 255, 0.05);background-color: transparent;}" - "QComboBox QAbstractItemView::item{font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color: rgba(19,19,20,0.95);}" - "QComboBox QAbstractItemView::item:selected{font-size:13px;color:rgba(0,0,0,0.91);background-color:lightgray;}"); + ui->cbxAuth->setStyleSheet(objQss.cbxQss); ui->cbxAuth->setView(new QListView()); - ui->leAnonyId->setStyleSheet("QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}"); - ui->cbxAutoPCA->setStyleSheet("QComboBox{padding-left:20px;font-size:13px;color:rgba(255,255,255,0.91);border:1px solid rgba(255, 255, 255, 0.05);background:rgba(255,255,255,0.08);}" - "QComboBox::drop-down{border:0px;width:30px;}" - "QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}" - "QComboBox QAbstractItemView {border:1px solid rgba(255, 255, 255, 0.05);background-color: transparent;}" - "QComboBox QAbstractItemView::item{font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color: rgba(19,19,20,0.95);}" - "QComboBox QAbstractItemView::item:selected{font-size:13px;color:rgba(0,0,0,0.91);background-color:lightgray;}"); + ui->leAnonyId->setStyleSheet(objQss.leQss); + ui->cbxAutoPCA->setStyleSheet(objQss.cbxQss); ui->cbxAutoPCA->setView(new QListView()); - ui->lePCAfile->setStyleSheet("QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}"); - ui->cbxInnerAuth->setStyleSheet("QComboBox{padding-left:20px;font-size:13px;color:rgba(255,255,255,0.91);border:1px solid rgba(255, 255, 255, 0.05);background:rgba(255,255,255,0.08);}" - "QComboBox::drop-down{border:0px;width:30px;}" - "QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}" - "QComboBox QAbstractItemView {border:1px solid rgba(255, 255, 255, 0.05);background-color: transparent;}" - "QComboBox QAbstractItemView::item{font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color: rgba(19,19,20,0.95);}" - "QComboBox QAbstractItemView::item:selected{font-size:13px;color:rgba(0,0,0,0.91);background-color:lightgray;}"); + ui->lePCAfile->setStyleSheet(objQss.leQss); + ui->cbxInnerAuth->setStyleSheet(objQss.cbxQss); ui->cbxInnerAuth->setView(new QListView()); - ui->leUserName->setStyleSheet("QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}"); - ui->lePassword->setStyleSheet("QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}"); - ui->checkBoxPwd->setStyleSheet("QCheckBox {border:none;background:transparent;}" - "QCheckBox::indicator {width: 18px; height: 9px;}" - "QCheckBox::indicator:checked {image: url(:/res/h/show-pwd.png);}" - "QCheckBox::indicator:unchecked {image: url(:/res/h/hide-pwd.png);}"); + ui->leUserName->setStyleSheet(objQss.leQss); + ui->lePassword->setStyleSheet(objQss.leQss); + ui->checkBoxPwd->setStyleSheet(objQss.checkBoxQss); - ui->btnCancel->setStyleSheet("QPushButton{border:0px;border-radius:4px;background-color:rgba(255,255,255,0.12);color:white;font-size:14px;}" - "QPushButton:Hover{border:0px solid rgba(255,255,255,0.2);border-radius:4px;background-color:rgba(255,255,255,0.2);}" - "QPushButton:Pressed{border-radius:4px;background-color:rgba(255,255,255,0.08);}"); - ui->btnConnect->setStyleSheet("QPushButton{border:0px;border-radius:4px;background-color:rgba(61,107,229,1);color:white;font-size:14px;}" - "QPushButton:Hover{border:0px solid rgba(255,255,255,0.2);border-radius:4px;background-color:rgba(107,142,235,1);}" - "QPushButton:Pressed{border-radius:4px;background-color:rgba(50,87,202,1);}"); - ui->lineUp->setStyleSheet("background:rgba(255,255,255,0.08);"); - ui->lineDown->setStyleSheet("background:rgba(255,255,255,0.08);"); + ui->btnCancel->setStyleSheet(objQss.btnCancelQss); + ui->btnConnect->setStyleSheet(objQss.btnConnQss); + ui->lineUp->setStyleSheet(objQss.lineQss); + ui->lineDown->setStyleSheet(objQss.lineQss); ui->lbLeftupTitle->setText(tr("Add hidden Wi-Fi")); //加入隐藏Wi-Fi ui->lbConn->setText(tr("Connection")); //连接设置: diff --git a/wireless-security/dlgconnhidwifisecfast.h b/wireless-security/dlgconnhidwifisecfast.h index b80b7d97..e692661a 100644 --- a/wireless-security/dlgconnhidwifisecfast.h +++ b/wireless-security/dlgconnhidwifisecfast.h @@ -48,6 +48,8 @@ private: void mouseReleaseEvent(QMouseEvent *event); void mouseMoveEvent(QMouseEvent *event); +// QString labelQss, cbxQss, leQss, btnConnQss, btnCancelQss, lineQss, checkBoxQss; + bool isPress; QPoint winPos; QPoint dragPos; diff --git a/wireless-security/dlgconnhidwifisecleap.cpp b/wireless-security/dlgconnhidwifisecleap.cpp index 0b3891c3..a3870411 100644 --- a/wireless-security/dlgconnhidwifisecleap.cpp +++ b/wireless-security/dlgconnhidwifisecleap.cpp @@ -40,53 +40,33 @@ DlgConnHidWifiSecLeap::DlgConnHidWifiSecLeap(int type, QWidget *parent) : this->setStyleSheet("QWidget{border-radius:6px;background-color:rgba(19,19,20,0.9);border:1px solid rgba(255, 255, 255, 0.05);}"); + MyQss objQss; + ui->lbBoder->setStyleSheet("QLabel{border-radius:6px;background-color:rgba(19,19,20,0.95);border:1px solid rgba(255, 255, 255, 0.05);}"); ui->lbBoder->hide(); ui->lbLeftupTitle->setStyleSheet("QLabel{border:0px;font-size:20px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbConn->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbNetName->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbSecurity->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbAuth->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbUserName->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbPassword->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); + ui->lbConn->setStyleSheet(objQss.labelQss); + ui->lbNetName->setStyleSheet(objQss.labelQss); + ui->lbSecurity->setStyleSheet(objQss.labelQss); + ui->lbAuth->setStyleSheet(objQss.labelQss); + ui->lbUserName->setStyleSheet(objQss.labelQss); + ui->lbPassword->setStyleSheet(objQss.labelQss); - ui->cbxConn->setStyleSheet("QComboBox{padding-left:20px;font-size:13px;color:rgba(255,255,255,0.91);border:1px solid rgba(255, 255, 255, 0.05);background:rgba(255,255,255,0.08);}" - "QComboBox::drop-down{border:0px;width:30px;}" - "QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}" - "QComboBox QAbstractItemView {border:1px solid rgba(255, 255, 255, 0.05);background-color: transparent;}" - "QComboBox QAbstractItemView::item{font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color: rgba(19,19,20,0.95);}" - "QComboBox QAbstractItemView::item:selected{font-size:13px;color:rgba(0,0,0,0.91);background-color:lightgray;}"); + ui->cbxConn->setStyleSheet(objQss.cbxQss); ui->cbxConn->setView(new QListView()); - ui->leNetName->setStyleSheet("QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}"); - ui->cbxSecurity->setStyleSheet("QComboBox{padding-left:20px;font-size:13px;color:rgba(255,255,255,0.91);border:1px solid rgba(255, 255, 255, 0.05);background:rgba(255,255,255,0.08);}" - "QComboBox::drop-down{border:0px;width:30px;}" - "QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}" - "QComboBox QAbstractItemView {border:1px solid rgba(255, 255, 255, 0.05);background-color: transparent;}" - "QComboBox QAbstractItemView::item{font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color: rgba(19,19,20,0.95);}" - "QComboBox QAbstractItemView::item:selected{font-size:13px;color:rgba(0,0,0,0.91);background-color:lightgray;}"); + ui->leNetName->setStyleSheet(objQss.leQss); + ui->cbxSecurity->setStyleSheet(objQss.cbxQss); ui->cbxSecurity->setView(new QListView()); - ui->cbxAuth->setStyleSheet("QComboBox{padding-left:20px;font-size:13px;color:rgba(255,255,255,0.91);border:1px solid rgba(255, 255, 255, 0.05);background:rgba(255,255,255,0.08);}" - "QComboBox::drop-down{border:0px;width:30px;}" - "QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}" - "QComboBox QAbstractItemView {border:1px solid rgba(255, 255, 255, 0.05);background-color: transparent;}" - "QComboBox QAbstractItemView::item{font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color: rgba(19,19,20,0.95);}" - "QComboBox QAbstractItemView::item:selected{font-size:13px;color:rgba(0,0,0,0.91);background-color:lightgray;}"); + ui->cbxAuth->setStyleSheet(objQss.cbxQss); ui->cbxAuth->setView(new QListView()); - ui->leUserName->setStyleSheet("QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}"); - ui->lePassword->setStyleSheet("QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}"); - ui->checkBox->setStyleSheet("QCheckBox {border:none;background:transparent;}" - "QCheckBox::indicator {width: 18px; height: 9px;}" - "QCheckBox::indicator:checked {image: url(:/res/h/show-pwd.png);}" - "QCheckBox::indicator:unchecked {image: url(:/res/h/hide-pwd.png);}"); + ui->leUserName->setStyleSheet(objQss.leQss); + ui->lePassword->setStyleSheet(objQss.leQss); + ui->checkBox->setStyleSheet(objQss.checkBoxQss); - ui->btnCancel->setStyleSheet("QPushButton{border:0px;border-radius:4px;background-color:rgba(255,255,255,0.12);color:white;font-size:14px;}" - "QPushButton:Hover{border:0px solid rgba(255,255,255,0.2);border-radius:4px;background-color:rgba(255,255,255,0.2);}" - "QPushButton:Pressed{border-radius:4px;background-color:rgba(255,255,255,0.08);}"); - ui->btnConnect->setStyleSheet("QPushButton{border:0px;border-radius:4px;background-color:rgba(61,107,229,1);color:white;font-size:14px;}" - "QPushButton:Hover{border:0px solid rgba(255,255,255,0.2);border-radius:4px;background-color:rgba(107,142,235,1);}" - "QPushButton:Pressed{border-radius:4px;background-color:rgba(50,87,202,1);}"); - ui->lineUp->setStyleSheet("background:rgba(255,255,255,0.08);"); - ui->lineDown->setStyleSheet("background:rgba(255,255,255,0.08);"); + ui->btnCancel->setStyleSheet(objQss.btnCancelQss); + ui->btnConnect->setStyleSheet(objQss.btnConnQss); + ui->lineUp->setStyleSheet(objQss.lineQss); + ui->lineDown->setStyleSheet(objQss.lineQss); ui->lbLeftupTitle->setText(tr("Add hidden Wi-Fi")); //加入隐藏Wi-Fi ui->lbConn->setText(tr("Connection")); //连接设置: diff --git a/wireless-security/dlgconnhidwifisecleap.h b/wireless-security/dlgconnhidwifisecleap.h index f7ee4a3d..011b317d 100644 --- a/wireless-security/dlgconnhidwifisecleap.h +++ b/wireless-security/dlgconnhidwifisecleap.h @@ -43,6 +43,9 @@ private: void mousePressEvent(QMouseEvent *event); void mouseReleaseEvent(QMouseEvent *event); void mouseMoveEvent(QMouseEvent *event); + +// QString labelQss, cbxQss, leQss, btnConnQss, btnCancelQss, lineQss, checkBoxQss, checkBoxCAQss; + bool isPress; QPoint winPos; QPoint dragPos; diff --git a/wireless-security/dlgconnhidwifisecpeap.cpp b/wireless-security/dlgconnhidwifisecpeap.cpp index aeb4069d..242c2eb8 100644 --- a/wireless-security/dlgconnhidwifisecpeap.cpp +++ b/wireless-security/dlgconnhidwifisecpeap.cpp @@ -40,88 +40,50 @@ DlgConnHidWifiSecPeap::DlgConnHidWifiSecPeap(int type, QWidget *parent) : this->setStyleSheet("QWidget{border-radius:6px;background-color:rgba(19,19,20,0.9);border:1px solid rgba(255, 255, 255, 0.05);}"); + MyQss objQss; + ui->lbBoder->setStyleSheet("QLabel{border-radius:6px;background-color:rgba(19,19,20,0.95);border:1px solid rgba(255, 255, 255, 0.05);}"); ui->lbBoder->hide(); ui->lbLeftupTitle->setStyleSheet("QLabel{border:0px;font-size:20px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbConn->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbNetName->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbSecurity->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbAuth->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbAnonyId->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbDomain->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbCA->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbCaPwd->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbPEAPver->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbInnerAuth->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbUserName->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbPassword->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); + ui->lbConn->setStyleSheet(objQss.labelQss); + ui->lbNetName->setStyleSheet(objQss.labelQss); + ui->lbSecurity->setStyleSheet(objQss.labelQss); + ui->lbAuth->setStyleSheet(objQss.labelQss); + ui->lbAnonyId->setStyleSheet(objQss.labelQss); + ui->lbDomain->setStyleSheet(objQss.labelQss); + ui->lbCA->setStyleSheet(objQss.labelQss); + ui->lbCaPwd->setStyleSheet(objQss.labelQss); + ui->lbPEAPver->setStyleSheet(objQss.labelQss); + ui->lbInnerAuth->setStyleSheet(objQss.labelQss); + ui->lbUserName->setStyleSheet(objQss.labelQss); + ui->lbPassword->setStyleSheet(objQss.labelQss); - ui->cbxConn->setStyleSheet("QComboBox{padding-left:20px;font-size:13px;color:rgba(255,255,255,0.91);border:1px solid rgba(255, 255, 255, 0.05);background:rgba(255,255,255,0.08);}" - "QComboBox::drop-down{border:0px;width:30px;}" - "QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}" - "QComboBox QAbstractItemView {border:1px solid rgba(255, 255, 255, 0.05);background-color: transparent;}" - "QComboBox QAbstractItemView::item{font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color: rgba(19,19,20,0.95);}" - "QComboBox QAbstractItemView::item:selected{font-size:13px;color:rgba(0,0,0,0.91);background-color:lightgray;}"); + ui->cbxConn->setStyleSheet(objQss.cbxQss); ui->cbxConn->setView(new QListView()); - ui->leNetName->setStyleSheet("QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}"); - ui->cbxSecurity->setStyleSheet("QComboBox{padding-left:20px;font-size:13px;color:rgba(255,255,255,0.91);border:1px solid rgba(255, 255, 255, 0.05);background:rgba(255,255,255,0.08);}" - "QComboBox::drop-down{border:0px;width:30px;}" - "QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}" - "QComboBox QAbstractItemView {border:1px solid rgba(255, 255, 255, 0.05);background-color: transparent;}" - "QComboBox QAbstractItemView::item{font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color: rgba(19,19,20,0.95);}" - "QComboBox QAbstractItemView::item:selected{font-size:13px;color:rgba(0,0,0,0.91);background-color:lightgray;}"); + ui->leNetName->setStyleSheet(objQss.leQss); + ui->cbxSecurity->setStyleSheet(objQss.cbxQss); ui->cbxSecurity->setView(new QListView()); - ui->cbxAuth->setStyleSheet("QComboBox{padding-left:20px;font-size:13px;color:rgba(255,255,255,0.91);border:1px solid rgba(255, 255, 255, 0.05);background:rgba(255,255,255,0.08);}" - "QComboBox::drop-down{border:0px;width:30px;}" - "QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}" - "QComboBox QAbstractItemView {border:1px solid rgba(255, 255, 255, 0.05);background-color: transparent;}" - "QComboBox QAbstractItemView::item{font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color: rgba(19,19,20,0.95);}" - "QComboBox QAbstractItemView::item:selected{font-size:13px;color:rgba(0,0,0,0.91);background-color:lightgray;}"); + ui->cbxAuth->setStyleSheet(objQss.cbxQss); ui->cbxAuth->setView(new QListView()); - ui->leAnonyId->setStyleSheet("QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}"); - ui->leDomain->setStyleSheet("QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}"); - ui->cbxCA->setStyleSheet("QComboBox{padding-left:20px;font-size:13px;color:rgba(255,255,255,0.91);border:1px solid rgba(255, 255, 255, 0.05);background:rgba(255,255,255,0.08);}" - "QComboBox::drop-down{border:0px;width:30px;}" - "QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}" - "QComboBox QAbstractItemView {border:1px solid rgba(255, 255, 255, 0.05);background-color: transparent;}" - "QComboBox QAbstractItemView::item{font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color: rgba(19,19,20,0.95);}" - "QComboBox QAbstractItemView::item:selected{font-size:13px;color:rgba(0,0,0,0.91);background-color:lightgray;}"); + ui->leAnonyId->setStyleSheet(objQss.leQss); + ui->leDomain->setStyleSheet(objQss.leQss); + ui->cbxCA->setStyleSheet(objQss.cbxQss); ui->cbxCA->setView(new QListView()); - ui->leCaPwd->setStyleSheet("QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}"); - ui->checkBoxPwd->setStyleSheet("QCheckBox {border:none;background:transparent;}" - "QCheckBox::indicator {width: 18px; height: 9px;}" - "QCheckBox::indicator:checked {image: url(:/res/h/show-pwd.png);}" - "QCheckBox::indicator:unchecked {image: url(:/res/h/hide-pwd.png);}"); - ui->checkBoxCA->setStyleSheet("QCheckBox{color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->cbxPEAPver->setStyleSheet("QComboBox{padding-left:20px;font-size:13px;color:rgba(255,255,255,0.91);border:1px solid rgba(255, 255, 255, 0.05);background:rgba(255,255,255,0.08);}" - "QComboBox::drop-down{border:0px;width:30px;}" - "QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}" - "QComboBox QAbstractItemView {border:1px solid rgba(255, 255, 255, 0.05);background-color: transparent;}" - "QComboBox QAbstractItemView::item{font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color: rgba(19,19,20,0.95);}" - "QComboBox QAbstractItemView::item:selected{font-size:13px;color:rgba(0,0,0,0.91);background-color:lightgray;}"); + ui->leCaPwd->setStyleSheet(objQss.leQss); + ui->checkBoxPwd->setStyleSheet(objQss.checkBoxQss); + ui->checkBoxCA->setStyleSheet(objQss.checkBoxCAQss); + ui->cbxPEAPver->setStyleSheet(objQss.cbxQss); ui->cbxPEAPver->setView(new QListView()); - ui->cbxInnerAuth->setStyleSheet("QComboBox{padding-left:20px;font-size:13px;color:rgba(255,255,255,0.91);border:1px solid rgba(255, 255, 255, 0.05);background:rgba(255,255,255,0.08);}" - "QComboBox::drop-down{border:0px;width:30px;}" - "QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}" - "QComboBox QAbstractItemView {border:1px solid rgba(255, 255, 255, 0.05);background-color: transparent;}" - "QComboBox QAbstractItemView::item{font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color: rgba(19,19,20,0.95);}" - "QComboBox QAbstractItemView::item:selected{font-size:13px;color:rgba(0,0,0,0.91);background-color:lightgray;}"); + ui->cbxInnerAuth->setStyleSheet(objQss.cbxQss); ui->cbxInnerAuth->setView(new QListView()); - ui->leUserName->setStyleSheet("QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}"); - ui->lePassword->setStyleSheet("QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}"); - ui->checkBoxPwdSec->setStyleSheet("QCheckBox {border:none;background:transparent;}" - "QCheckBox::indicator {width: 18px; height: 9px;}" - "QCheckBox::indicator:checked {image: url(:/res/h/show-pwd.png);}" - "QCheckBox::indicator:unchecked {image: url(:/res/h/hide-pwd.png);}"); + ui->leUserName->setStyleSheet(objQss.leQss); + ui->lePassword->setStyleSheet(objQss.leQss); + ui->checkBoxPwdSec->setStyleSheet(objQss.checkBoxQss); - ui->btnCancel->setStyleSheet("QPushButton{border:0px;border-radius:4px;background-color:rgba(255,255,255,0.12);color:white;font-size:14px;}" - "QPushButton:Hover{border:0px solid rgba(255,255,255,0.2);border-radius:4px;background-color:rgba(255,255,255,0.2);}" - "QPushButton:Pressed{border-radius:4px;background-color:rgba(255,255,255,0.08);}"); - ui->btnConnect->setStyleSheet("QPushButton{border:0px;border-radius:4px;background-color:rgba(61,107,229,1);color:white;font-size:14px;}" - "QPushButton:Hover{border:0px solid rgba(255,255,255,0.2);border-radius:4px;background-color:rgba(107,142,235,1);}" - "QPushButton:Pressed{border-radius:4px;background-color:rgba(50,87,202,1);}"); - ui->lineUp->setStyleSheet("background:rgba(255,255,255,0.08);"); - ui->lineDown->setStyleSheet("background:rgba(255,255,255,0.08);"); + ui->btnCancel->setStyleSheet(objQss.btnCancelQss); + ui->btnConnect->setStyleSheet(objQss.btnConnQss); + ui->lineUp->setStyleSheet(objQss.lineQss); + ui->lineDown->setStyleSheet(objQss.lineQss); ui->lbLeftupTitle->setText(tr("Add hidden Wi-Fi")); //加入隐藏Wi-Fi diff --git a/wireless-security/dlgconnhidwifisecpeap.h b/wireless-security/dlgconnhidwifisecpeap.h index a54643d4..ad1d306f 100644 --- a/wireless-security/dlgconnhidwifisecpeap.h +++ b/wireless-security/dlgconnhidwifisecpeap.h @@ -55,6 +55,9 @@ private: void mousePressEvent(QMouseEvent *event); void mouseReleaseEvent(QMouseEvent *event); void mouseMoveEvent(QMouseEvent *event); + +// QString labelQss, cbxQss, leQss, btnConnQss, btnCancelQss, lineQss, checkBoxQss, checkBoxCAQss; + bool isPress; QPoint winPos; QPoint dragPos; diff --git a/wireless-security/dlgconnhidwifisecpwd.cpp b/wireless-security/dlgconnhidwifisecpwd.cpp index e427678d..52a394c6 100644 --- a/wireless-security/dlgconnhidwifisecpwd.cpp +++ b/wireless-security/dlgconnhidwifisecpwd.cpp @@ -40,53 +40,33 @@ DlgConnHidWifiSecPwd::DlgConnHidWifiSecPwd(int type, QWidget *parent) : this->setStyleSheet("QWidget{border-radius:6px;background-color:rgba(19,19,20,0.9);border:1px solid rgba(255, 255, 255, 0.05);}"); + MyQss objQss; + ui->lbBoder->setStyleSheet("QLabel{border-radius:6px;background-color:rgba(19,19,20,0.95);border:1px solid rgba(255, 255, 255, 0.05);}"); ui->lbBoder->hide(); ui->lbLeftupTitle->setStyleSheet("QLabel{border:0px;font-size:20px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbConn->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbNetName->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbSecurity->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbAuth->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbUserName->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbPassword->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); + ui->lbConn->setStyleSheet(objQss.labelQss); + ui->lbNetName->setStyleSheet(objQss.labelQss); + ui->lbSecurity->setStyleSheet(objQss.labelQss); + ui->lbAuth->setStyleSheet(objQss.labelQss); + ui->lbUserName->setStyleSheet(objQss.labelQss); + ui->lbPassword->setStyleSheet(objQss.labelQss); - ui->cbxConn->setStyleSheet("QComboBox{padding-left:20px;font-size:13px;color:rgba(255,255,255,0.91);border:1px solid rgba(255, 255, 255, 0.05);background:rgba(255,255,255,0.08);}" - "QComboBox::drop-down{border:0px;width:30px;}" - "QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}" - "QComboBox QAbstractItemView {border:1px solid rgba(255, 255, 255, 0.05);background-color: transparent;}" - "QComboBox QAbstractItemView::item{font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color: rgba(19,19,20,0.95);}" - "QComboBox QAbstractItemView::item:selected{font-size:13px;color:rgba(0,0,0,0.91);background-color:lightgray;}"); + ui->cbxConn->setStyleSheet(objQss.cbxQss); ui->cbxConn->setView(new QListView()); - ui->leNetName->setStyleSheet("QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}"); - ui->cbxSecurity->setStyleSheet("QComboBox{padding-left:20px;font-size:13px;color:rgba(255,255,255,0.91);border:1px solid rgba(255, 255, 255, 0.05);background:rgba(255,255,255,0.08);}" - "QComboBox::drop-down{border:0px;width:30px;}" - "QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}" - "QComboBox QAbstractItemView {border:1px solid rgba(255, 255, 255, 0.05);background-color: transparent;}" - "QComboBox QAbstractItemView::item{font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color: rgba(19,19,20,0.95);}" - "QComboBox QAbstractItemView::item:selected{font-size:13px;color:rgba(0,0,0,0.91);background-color:lightgray;}"); + ui->leNetName->setStyleSheet(objQss.leQss); + ui->cbxSecurity->setStyleSheet(objQss.cbxQss); ui->cbxSecurity->setView(new QListView()); - ui->cbxAuth->setStyleSheet("QComboBox{padding-left:20px;font-size:13px;color:rgba(255,255,255,0.91);border:1px solid rgba(255, 255, 255, 0.05);background:rgba(255,255,255,0.08);}" - "QComboBox::drop-down{border:0px;width:30px;}" - "QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}" - "QComboBox QAbstractItemView {border:1px solid rgba(255, 255, 255, 0.05);background-color: transparent;}" - "QComboBox QAbstractItemView::item{font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color: rgba(19,19,20,0.95);}" - "QComboBox QAbstractItemView::item:selected{font-size:13px;color:rgba(0,0,0,0.91);background-color:lightgray;}"); + ui->cbxAuth->setStyleSheet(objQss.cbxQss); ui->cbxAuth->setView(new QListView()); - ui->leUserName->setStyleSheet("QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}"); - ui->lePassword->setStyleSheet("QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}"); - ui->checkBox->setStyleSheet("QCheckBox {border:none;background:transparent;}" - "QCheckBox::indicator {width: 18px; height: 9px;}" - "QCheckBox::indicator:checked {image: url(:/res/h/show-pwd.png);}" - "QCheckBox::indicator:unchecked {image: url(:/res/h/hide-pwd.png);}"); + ui->leUserName->setStyleSheet(objQss.leQss); + ui->lePassword->setStyleSheet(objQss.leQss); + ui->checkBox->setStyleSheet(objQss.checkBoxQss); - ui->btnCancel->setStyleSheet("QPushButton{border:0px;border-radius:4px;background-color:rgba(255,255,255,0.12);color:white;font-size:14px;}" - "QPushButton:Hover{border:0px solid rgba(255,255,255,0.2);border-radius:4px;background-color:rgba(255,255,255,0.2);}" - "QPushButton:Pressed{border-radius:4px;background-color:rgba(255,255,255,0.08);}"); - ui->btnConnect->setStyleSheet("QPushButton{border:0px;border-radius:4px;background-color:rgba(61,107,229,1);color:white;font-size:14px;}" - "QPushButton:Hover{border:0px solid rgba(255,255,255,0.2);border-radius:4px;background-color:rgba(107,142,235,1);}" - "QPushButton:Pressed{border-radius:4px;background-color:rgba(50,87,202,1);}"); - ui->lineUp->setStyleSheet("background:rgba(255,255,255,0.08);"); - ui->lineDown->setStyleSheet("background:rgba(255,255,255,0.08);"); + ui->btnCancel->setStyleSheet(objQss.btnCancelQss); + ui->btnConnect->setStyleSheet(objQss.btnConnQss); + ui->lineUp->setStyleSheet(objQss.lineQss); + ui->lineDown->setStyleSheet(objQss.lineQss); ui->lbLeftupTitle->setText(tr("Add hidden Wi-Fi")); //加入隐藏Wi-Fi diff --git a/wireless-security/dlgconnhidwifisecpwd.h b/wireless-security/dlgconnhidwifisecpwd.h index c1c9738e..fa29ef3a 100644 --- a/wireless-security/dlgconnhidwifisecpwd.h +++ b/wireless-security/dlgconnhidwifisecpwd.h @@ -44,6 +44,8 @@ private: void mouseReleaseEvent(QMouseEvent *event); void mouseMoveEvent(QMouseEvent *event); +// QString labelQss, cbxQss, leQss, btnConnQss, btnCancelQss, lineQss, checkBoxQss, checkBoxCAQss; + bool isPress; QPoint winPos; QPoint dragPos; diff --git a/wireless-security/dlgconnhidwifisectls.cpp b/wireless-security/dlgconnhidwifisectls.cpp index bdea68da..c2b04de1 100644 --- a/wireless-security/dlgconnhidwifisectls.cpp +++ b/wireless-security/dlgconnhidwifisectls.cpp @@ -39,88 +39,50 @@ DlgConnHidWifiSecTls::DlgConnHidWifiSecTls(int type, QWidget *parent) : this->setStyleSheet("QWidget{border-radius:6px;background-color:rgba(19,19,20,0.9);border:1px solid rgba(255, 255, 255, 0.05);}"); + MyQss objQss; + ui->lbBoder->setStyleSheet("QLabel{border-radius:6px;background-color:rgba(19,19,20,0.95);border:1px solid rgba(255, 255, 255, 0.05);}"); ui->lbBoder->hide(); ui->lbLeftupTitle->setStyleSheet("QLabel{border:0px;font-size:20px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbConn->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbNetName->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbSecurity->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbAuth->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbIdentity->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbDomain->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbCA->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbCaPwd->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbUserCertify->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbUserCertifyPwd->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbUserPriKey->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbUserKeyPwd->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); + ui->lbConn->setStyleSheet(objQss.labelQss); + ui->lbNetName->setStyleSheet(objQss.labelQss); + ui->lbSecurity->setStyleSheet(objQss.labelQss); + ui->lbAuth->setStyleSheet(objQss.labelQss); + ui->lbIdentity->setStyleSheet(objQss.labelQss); + ui->lbDomain->setStyleSheet(objQss.labelQss); + ui->lbCA->setStyleSheet(objQss.labelQss); + ui->lbCaPwd->setStyleSheet(objQss.labelQss); + ui->lbUserCertify->setStyleSheet(objQss.labelQss); + ui->lbUserCertifyPwd->setStyleSheet(objQss.labelQss); + ui->lbUserPriKey->setStyleSheet(objQss.labelQss); + ui->lbUserKeyPwd->setStyleSheet(objQss.labelQss); - ui->cbxConn->setStyleSheet("QComboBox{padding-left:20px;font-size:13px;color:rgba(255,255,255,0.91);border:1px solid rgba(255, 255, 255, 0.05);background:rgba(255,255,255,0.08);}" - "QComboBox::drop-down{border:0px;width:30px;}" - "QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}" - "QComboBox QAbstractItemView {border:1px solid rgba(255, 255, 255, 0.05);background-color: transparent;}" - "QComboBox QAbstractItemView::item{font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color: rgba(19,19,20,0.95);}" - "QComboBox QAbstractItemView::item:selected{font-size:13px;color:rgba(0,0,0,0.91);background-color:lightgray;}"); + ui->cbxConn->setStyleSheet(objQss.cbxQss); ui->cbxConn->setView(new QListView()); - ui->leNetName->setStyleSheet("QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}"); - ui->cbxSecurity->setStyleSheet("QComboBox{padding-left:20px;font-size:13px;color:rgba(255,255,255,0.91);border:1px solid rgba(255, 255, 255, 0.05);background:rgba(255,255,255,0.08);}" - "QComboBox::drop-down{border:0px;width:30px;}" - "QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}" - "QComboBox QAbstractItemView {border:1px solid rgba(255, 255, 255, 0.05);background-color: transparent;}" - "QComboBox QAbstractItemView::item{font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color: rgba(19,19,20,0.95);}" - "QComboBox QAbstractItemView::item:selected{font-size:13px;color:rgba(0,0,0,0.91);background-color:lightgray;}"); + ui->leNetName->setStyleSheet(objQss.lineQss); + ui->cbxSecurity->setStyleSheet(objQss.cbxQss); ui->cbxSecurity->setView(new QListView()); - ui->cbxAuth->setStyleSheet("QComboBox{padding-left:20px;font-size:13px;color:rgba(255,255,255,0.91);border:1px solid rgba(255, 255, 255, 0.05);background:rgba(255,255,255,0.08);}" - "QComboBox::drop-down{border:0px;width:30px;}" - "QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}" - "QComboBox QAbstractItemView {border:1px solid rgba(255, 255, 255, 0.05);background-color: transparent;}" - "QComboBox QAbstractItemView::item{font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color: rgba(19,19,20,0.95);}" - "QComboBox QAbstractItemView::item:selected{font-size:13px;color:rgba(0,0,0,0.91);background-color:lightgray;}"); + ui->cbxAuth->setStyleSheet(objQss.cbxQss); ui->cbxAuth->setView(new QListView()); - ui->leIdentity->setStyleSheet("QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}"); - ui->leDomain->setStyleSheet("QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}"); - ui->cbxCA->setStyleSheet("QComboBox{padding-left:20px;font-size:13px;color:rgba(255,255,255,0.91);border:1px solid rgba(255, 255, 255, 0.05);background:rgba(255,255,255,0.08);}" - "QComboBox::drop-down{border:0px;width:30px;}" - "QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}" - "QComboBox QAbstractItemView {border:1px solid rgba(255, 255, 255, 0.05);background-color: transparent;}" - "QComboBox QAbstractItemView::item{font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color: rgba(19,19,20,0.95);}" - "QComboBox QAbstractItemView::item:selected{font-size:13px;color:rgba(0,0,0,0.91);background-color:lightgray;}"); + ui->leIdentity->setStyleSheet(objQss.lineQss); + ui->leDomain->setStyleSheet(objQss.lineQss); + ui->cbxCA->setStyleSheet(objQss.cbxQss); ui->cbxCA->setView(new QListView()); - ui->leCaPwd->setStyleSheet("QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}"); - ui->checkBoxPwd->setStyleSheet("QCheckBox {border:none;background:transparent;}" - "QCheckBox::indicator {width: 18px; height: 9px;}" - "QCheckBox::indicator:checked {image: url(:/res/h/show-pwd.png);}" - "QCheckBox::indicator:unchecked {image: url(:/res/h/hide-pwd.png);}"); - ui->checkBoxCA->setStyleSheet("QCheckBox{color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->cbxUserCertify->setStyleSheet("QComboBox{padding-left:20px;font-size:13px;color:rgba(255,255,255,0.91);border:1px solid rgba(255, 255, 255, 0.05);background:rgba(255,255,255,0.08);}" - "QComboBox::drop-down{border:0px;width:30px;}" - "QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}" - "QComboBox QAbstractItemView {border:1px solid rgba(255, 255, 255, 0.05);background-color: transparent;}" - "QComboBox QAbstractItemView::item{font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color: rgba(19,19,20,0.95);}" - "QComboBox QAbstractItemView::item:selected{font-size:13px;color:rgba(0,0,0,0.91);background-color:lightgray;}"); + ui->leCaPwd->setStyleSheet(objQss.lineQss); + ui->checkBoxPwd->setStyleSheet(objQss.checkBoxQss); + ui->checkBoxCA->setStyleSheet(objQss.checkBoxCAQss); + ui->cbxUserCertify->setStyleSheet(objQss.cbxQss); ui->cbxUserCertify->setView(new QListView()); - ui->leUserCertifyPwd->setStyleSheet("QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}"); - ui->cbxUserPriKey->setStyleSheet("QComboBox{padding-left:20px;font-size:13px;color:rgba(255,255,255,0.91);border:1px solid rgba(255, 255, 255, 0.05);background:rgba(255,255,255,0.08);}" - "QComboBox::drop-down{border:0px;width:30px;}" - "QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}" - "QComboBox QAbstractItemView {border:1px solid rgba(255, 255, 255, 0.05);background-color: transparent;}" - "QComboBox QAbstractItemView::item{font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color: rgba(19,19,20,0.95);}" - "QComboBox QAbstractItemView::item:selected{font-size:13px;color:rgba(0,0,0,0.91);background-color:lightgray;}"); + ui->leUserCertifyPwd->setStyleSheet(objQss.lineQss); + ui->cbxUserPriKey->setStyleSheet(objQss.cbxQss); ui->cbxUserPriKey->setView(new QListView()); - ui->leUserKeyPwd->setStyleSheet("QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}"); - ui->checkBoxPwdSec->setStyleSheet("QCheckBox {border:none;background:transparent;}" - "QCheckBox::indicator {width: 18px; height: 9px;}" - "QCheckBox::indicator:checked {image: url(:/res/h/show-pwd.png);}" - "QCheckBox::indicator:unchecked {image: url(:/res/h/hide-pwd.png);}"); + ui->leUserKeyPwd->setStyleSheet(objQss.lineQss); + ui->checkBoxPwdSec->setStyleSheet(objQss.checkBoxQss); - ui->btnCancel->setStyleSheet("QPushButton{border:0px;border-radius:4px;background-color:rgba(255,255,255,0.12);color:white;font-size:14px;}" - "QPushButton:Hover{border:0px solid rgba(255,255,255,0.2);border-radius:4px;background-color:rgba(255,255,255,0.2);}" - "QPushButton:Pressed{border-radius:4px;background-color:rgba(255,255,255,0.08);}"); - ui->btnConnect->setStyleSheet("QPushButton{border:0px;border-radius:4px;background-color:rgba(61,107,229,1);color:white;font-size:14px;}" - "QPushButton:Hover{border:0px solid rgba(255,255,255,0.2);border-radius:4px;background-color:rgba(107,142,235,1);}" - "QPushButton:Pressed{border-radius:4px;background-color:rgba(50,87,202,1);}"); - ui->lineUp->setStyleSheet("background:rgba(255,255,255,0.08);"); - ui->lineDown->setStyleSheet("background:rgba(255,255,255,0.08);"); + ui->btnCancel->setStyleSheet(objQss.btnCancelQss); + ui->btnConnect->setStyleSheet(objQss.btnCancelQss); + ui->lineUp->setStyleSheet(objQss.lineQss); + ui->lineDown->setStyleSheet(objQss.lineQss); ui->checkBoxCA->setFocusPolicy(Qt::NoFocus); ui->lbLeftupTitle->setText(tr("Add hidden Wi-Fi")); //加入隐藏Wi-Fi diff --git a/wireless-security/dlgconnhidwifisectls.h b/wireless-security/dlgconnhidwifisectls.h index bf7991b3..ca5f86ab 100644 --- a/wireless-security/dlgconnhidwifisectls.h +++ b/wireless-security/dlgconnhidwifisectls.h @@ -59,6 +59,9 @@ private: void mousePressEvent(QMouseEvent *event); void mouseReleaseEvent(QMouseEvent *event); void mouseMoveEvent(QMouseEvent *event); + +// QString labelQss, cbxQss, leQss, btnConnQss, btnCancelQss, lineQss, checkBoxQss, checkBoxCAQss; + bool isPress; QPoint winPos; QPoint dragPos; diff --git a/wireless-security/dlgconnhidwifisectunneltls.cpp b/wireless-security/dlgconnhidwifisectunneltls.cpp index 1494128e..44e52501 100644 --- a/wireless-security/dlgconnhidwifisectunneltls.cpp +++ b/wireless-security/dlgconnhidwifisectunneltls.cpp @@ -40,80 +40,47 @@ DlgConnHidWifiSecTunnelTLS::DlgConnHidWifiSecTunnelTLS(int type, QWidget *parent this->setStyleSheet("QWidget{border-radius:6px;background-color:rgba(19,19,20,0.9);border:1px solid rgba(255, 255, 255, 0.05);}"); + MyQss objQss; + ui->lbBoder->setStyleSheet("QLabel{border-radius:6px;background-color:rgba(19,19,20,0.95);border:1px solid rgba(255, 255, 255, 0.05);}"); ui->lbBoder->hide(); ui->lbLeftupTitle->setStyleSheet("QLabel{border:0px;font-size:20px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbConn->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbNetName->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbSecurity->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbAuth->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbAnonyId->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbDomain->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbCA->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbCaPwd->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbInnerAuth->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbUserName->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbPassword->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); + ui->lbConn->setStyleSheet(objQss.labelQss); + ui->lbNetName->setStyleSheet(objQss.labelQss); + ui->lbSecurity->setStyleSheet(objQss.labelQss); + ui->lbAuth->setStyleSheet(objQss.labelQss); + ui->lbAnonyId->setStyleSheet(objQss.labelQss); + ui->lbDomain->setStyleSheet(objQss.labelQss); + ui->lbCA->setStyleSheet(objQss.labelQss); + ui->lbCaPwd->setStyleSheet(objQss.labelQss); + ui->lbInnerAuth->setStyleSheet(objQss.labelQss); + ui->lbUserName->setStyleSheet(objQss.labelQss); + ui->lbPassword->setStyleSheet(objQss.labelQss); - ui->cbxConn->setStyleSheet("QComboBox{padding-left:20px;font-size:13px;color:rgba(255,255,255,0.91);border:1px solid rgba(255, 255, 255, 0.05);background:rgba(255,255,255,0.08);}" - "QComboBox::drop-down{border:0px;width:30px;}" - "QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}" - "QComboBox QAbstractItemView {border:1px solid rgba(255, 255, 255, 0.05);background-color: transparent;}" - "QComboBox QAbstractItemView::item{font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color: rgba(19,19,20,0.95);}" - "QComboBox QAbstractItemView::item:selected{font-size:13px;color:rgba(0,0,0,0.91);background-color:lightgray;}"); + ui->cbxConn->setStyleSheet(objQss.cbxQss); ui->cbxConn->setView(new QListView()); - ui->leNetName->setStyleSheet("QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}"); - ui->cbxSecurity->setStyleSheet("QComboBox{padding-left:20px;font-size:13px;color:rgba(255,255,255,0.91);border:1px solid rgba(255, 255, 255, 0.05);background:rgba(255,255,255,0.08);}" - "QComboBox::drop-down{border:0px;width:30px;}" - "QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}" - "QComboBox QAbstractItemView {border:1px solid rgba(255, 255, 255, 0.05);background-color: transparent;}" - "QComboBox QAbstractItemView::item{font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color: rgba(19,19,20,0.95);}" - "QComboBox QAbstractItemView::item:selected{font-size:13px;color:rgba(0,0,0,0.91);background-color:lightgray;}"); + ui->leNetName->setStyleSheet(objQss.leQss); + ui->cbxSecurity->setStyleSheet(objQss.cbxQss); ui->cbxSecurity->setView(new QListView()); - ui->cbxAuth->setStyleSheet("QComboBox{padding-left:20px;font-size:13px;color:rgba(255,255,255,0.91);border:1px solid rgba(255, 255, 255, 0.05);background:rgba(255,255,255,0.08);}" - "QComboBox::drop-down{border:0px;width:30px;}" - "QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}" - "QComboBox QAbstractItemView {border:1px solid rgba(255, 255, 255, 0.05);background-color: transparent;}" - "QComboBox QAbstractItemView::item{font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color: rgba(19,19,20,0.95);}" - "QComboBox QAbstractItemView::item:selected{font-size:13px;color:rgba(0,0,0,0.91);background-color:lightgray;}"); + ui->cbxAuth->setStyleSheet(objQss.cbxQss); ui->cbxAuth->setView(new QListView()); - ui->leAnonyId->setStyleSheet("QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}"); - ui->leDomain->setStyleSheet("QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}"); - ui->cbxCA->setStyleSheet("QComboBox{padding-left:20px;font-size:13px;color:rgba(255,255,255,0.91);border:1px solid rgba(255, 255, 255, 0.05);background:rgba(255,255,255,0.08);}" - "QComboBox::drop-down{border:0px;width:30px;}" - "QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}" - "QComboBox QAbstractItemView {border:1px solid rgba(255, 255, 255, 0.05);background-color: transparent;}" - "QComboBox QAbstractItemView::item{font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color: rgba(19,19,20,0.95);}" - "QComboBox QAbstractItemView::item:selected{font-size:13px;color:rgba(0,0,0,0.91);background-color:lightgray;}"); + ui->leAnonyId->setStyleSheet(objQss.leQss); + ui->leDomain->setStyleSheet(objQss.leQss); + ui->cbxCA->setStyleSheet(objQss.cbxQss); ui->cbxCA->setView(new QListView()); - ui->leCaPwd->setStyleSheet("QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}"); - ui->checkBoxPwd->setStyleSheet("QCheckBox {border:none;background:transparent;}" - "QCheckBox::indicator {width: 18px; height: 9px;}" - "QCheckBox::indicator:checked {image: url(:/res/h/show-pwd.png);}" - "QCheckBox::indicator:unchecked {image: url(:/res/h/hide-pwd.png);}"); - ui->checkBoxCA->setStyleSheet("QCheckBox{color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->cbxInnerAuth->setStyleSheet("QComboBox{padding-left:20px;font-size:13px;color:rgba(255,255,255,0.91);border:1px solid rgba(255, 255, 255, 0.05);background:rgba(255,255,255,0.08);}" - "QComboBox::drop-down{border:0px;width:30px;}" - "QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}" - "QComboBox QAbstractItemView {border:1px solid rgba(255, 255, 255, 0.05);background-color: transparent;}" - "QComboBox QAbstractItemView::item{font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color: rgba(19,19,20,0.95);}" - "QComboBox QAbstractItemView::item:selected{font-size:13px;color:rgba(0,0,0,0.91);background-color:lightgray;}"); + ui->leCaPwd->setStyleSheet(objQss.leQss); + ui->checkBoxPwd->setStyleSheet(objQss.checkBoxQss); + ui->checkBoxCA->setStyleSheet(objQss.checkBoxCAQss); + ui->cbxInnerAuth->setStyleSheet(objQss.cbxQss); ui->cbxInnerAuth->setView(new QListView()); - ui->leUserName->setStyleSheet("QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}"); - ui->lePassword->setStyleSheet("QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}"); - ui->checkBoxPwdSec->setStyleSheet("QCheckBox {border:none;background:transparent;}" - "QCheckBox::indicator {width: 18px; height: 9px;}" - "QCheckBox::indicator:checked {image: url(:/res/h/show-pwd.png);}" - "QCheckBox::indicator:unchecked {image: url(:/res/h/hide-pwd.png);}"); + ui->leUserName->setStyleSheet(objQss.leQss); + ui->lePassword->setStyleSheet(objQss.leQss); + ui->checkBoxPwdSec->setStyleSheet(objQss.checkBoxQss); - ui->btnCancel->setStyleSheet("QPushButton{border:0px;border-radius:4px;background-color:rgba(255,255,255,0.12);color:white;font-size:14px;}" - "QPushButton:Hover{border:0px solid rgba(255,255,255,0.2);border-radius:4px;background-color:rgba(255,255,255,0.2);}" - "QPushButton:Pressed{border-radius:4px;background-color:rgba(255,255,255,0.08);}"); - ui->btnConnect->setStyleSheet("QPushButton{border:0px;border-radius:4px;background-color:rgba(61,107,229,1);color:white;font-size:14px;}" - "QPushButton:Hover{border:0px solid rgba(255,255,255,0.2);border-radius:4px;background-color:rgba(107,142,235,1);}" - "QPushButton:Pressed{border-radius:4px;background-color:rgba(50,87,202,1);}"); - ui->lineUp->setStyleSheet("background:rgba(255,255,255,0.08);"); - ui->lineDown->setStyleSheet("background:rgba(255,255,255,0.08);"); + ui->btnCancel->setStyleSheet(objQss.btnCancelQss); + ui->btnConnect->setStyleSheet(objQss.btnConnQss); + ui->lineUp->setStyleSheet(objQss.lineQss); + ui->lineDown->setStyleSheet(objQss.lineQss); ui->checkBoxCA->setFocusPolicy(Qt::NoFocus); diff --git a/wireless-security/dlgconnhidwifisectunneltls.h b/wireless-security/dlgconnhidwifisectunneltls.h index 99f7206d..6800ae51 100644 --- a/wireless-security/dlgconnhidwifisectunneltls.h +++ b/wireless-security/dlgconnhidwifisectunneltls.h @@ -55,6 +55,9 @@ private: void mousePressEvent(QMouseEvent *event); void mouseReleaseEvent(QMouseEvent *event); void mouseMoveEvent(QMouseEvent *event); + +// QString labelQss, cbxQss, leQss, btnConnQss, btnCancelQss, lineQss, checkBoxQss, checkBoxCAQss; + bool isPress; QPoint winPos; QPoint dragPos; diff --git a/wireless-security/dlgconnhidwifiwep.cpp b/wireless-security/dlgconnhidwifiwep.cpp index d2095942..15fcf901 100644 --- a/wireless-security/dlgconnhidwifiwep.cpp +++ b/wireless-security/dlgconnhidwifiwep.cpp @@ -39,59 +39,34 @@ DlgConnHidWifiWep::DlgConnHidWifiWep(int type, QWidget *parent) : this->setStyleSheet("QWidget{border-radius:6px;background-color:rgba(19,19,20,0.9);border:1px solid rgba(255, 255, 255, 0.05);}"); + MyQss objQss; + ui->lbBoder->setStyleSheet("QLabel{border-radius:6px;background-color:rgba(19,19,20,0.95);border:1px solid rgba(255, 255, 255, 0.05);}"); ui->lbBoder->hide(); ui->lbLeftupTitle->setStyleSheet("QLabel{border:0px;font-size:20px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbConn->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbNetName->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbSecurity->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbKey->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbWEPindex->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbAuth->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); + ui->lbConn->setStyleSheet(objQss.labelQss); + ui->lbNetName->setStyleSheet(objQss.labelQss); + ui->lbSecurity->setStyleSheet(objQss.labelQss); + ui->lbKey->setStyleSheet(objQss.labelQss); + ui->lbWEPindex->setStyleSheet(objQss.labelQss); + ui->lbAuth->setStyleSheet(objQss.labelQss); - ui->cbxConn->setStyleSheet("QComboBox{padding-left:20px;font-size:13px;color:rgba(255,255,255,0.91);border:1px solid rgba(255, 255, 255, 0.05);background:rgba(255,255,255,0.08);}" - "QComboBox::drop-down{border:0px;width:30px;}" - "QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}" - "QComboBox QAbstractItemView {border:1px solid rgba(255, 255, 255, 0.05);background-color: transparent;}" - "QComboBox QAbstractItemView::item{font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color: rgba(19,19,20,0.95);}" - "QComboBox QAbstractItemView::item:selected{font-size:13px;color:rgba(0,0,0,0.91);background-color:lightgray;}"); + ui->cbxConn->setStyleSheet(objQss.cbxQss); ui->cbxConn->setView(new QListView()); - ui->leNetName->setStyleSheet("QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}"); - ui->leKey->setStyleSheet("QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}"); - ui->checkBoxPwd->setStyleSheet("QCheckBox {border:none;background:transparent;}" - "QCheckBox::indicator {width: 18px; height: 9px;}" - "QCheckBox::indicator:checked {image: url(:/res/h/show-pwd.png);}" - "QCheckBox::indicator:unchecked {image: url(:/res/h/hide-pwd.png);}"); - ui->cbxSecurity->setStyleSheet("QComboBox{padding-left:20px;font-size:13px;color:rgba(255,255,255,0.91);border:1px solid rgba(255, 255, 255, 0.05);background:rgba(255,255,255,0.08);}" - "QComboBox::drop-down{border:0px;width:30px;}" - "QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}" - "QComboBox QAbstractItemView {border:1px solid rgba(255, 255, 255, 0.05);background-color: transparent;}" - "QComboBox QAbstractItemView::item{font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color: rgba(19,19,20,0.95);}" - "QComboBox QAbstractItemView::item:selected{font-size:13px;color:rgba(0,0,0,0.91);background-color:lightgray;}"); + ui->leNetName->setStyleSheet(objQss.leQss); + ui->leKey->setStyleSheet(objQss.leQss); + ui->checkBoxPwd->setStyleSheet(objQss.checkBoxQss); + ui->cbxSecurity->setStyleSheet(objQss.cbxQss); ui->cbxSecurity->setView(new QListView()); - ui->cbxWEPindex->setStyleSheet("QComboBox{padding-left:20px;font-size:13px;color:rgba(255,255,255,0.91);border:1px solid rgba(255, 255, 255, 0.05);background:rgba(255,255,255,0.08);}" - "QComboBox::drop-down{border:0px;width:30px;}" - "QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}" - "QComboBox QAbstractItemView {border:1px solid rgba(255, 255, 255, 0.05);background-color: transparent;}" - "QComboBox QAbstractItemView::item{font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color: rgba(19,19,20,0.95);}" - "QComboBox QAbstractItemView::item:selected{font-size:13px;color:rgba(0,0,0,0.91);background-color:lightgray;}"); + ui->cbxWEPindex->setStyleSheet(objQss.cbxQss); ui->cbxWEPindex->setView(new QListView()); - ui->cbxAuth->setStyleSheet("QComboBox{padding-left:20px;font-size:13px;color:rgba(255,255,255,0.91);border:1px solid rgba(255, 255, 255, 0.05);background:rgba(255,255,255,0.08);}" - "QComboBox::drop-down{border:0px;width:30px;}" - "QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}" - "QComboBox QAbstractItemView {border:1px solid rgba(255, 255, 255, 0.05);background-color: transparent;}" - "QComboBox QAbstractItemView::item{font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color: rgba(19,19,20,0.95);}" - "QComboBox QAbstractItemView::item:selected{font-size:13px;color:rgba(0,0,0,0.91);background-color:lightgray;}"); + ui->cbxAuth->setStyleSheet(objQss.cbxQss); ui->cbxAuth->setView(new QListView()); - ui->btnCancel->setStyleSheet("QPushButton{border:0px;border-radius:4px;background-color:rgba(255,255,255,0.12);color:white;font-size:14px;}" - "QPushButton:Hover{border:0px solid rgba(255,255,255,0.2);border-radius:4px;background-color:rgba(255,255,255,0.2);}" - "QPushButton:Pressed{border-radius:4px;background-color:rgba(255,255,255,0.08);}"); - ui->btnConnect->setStyleSheet("QPushButton{border:0px;border-radius:4px;background-color:rgba(61,107,229,1);color:white;font-size:14px;}" - "QPushButton:Hover{border:0px solid rgba(255,255,255,0.2);border-radius:4px;background-color:rgba(107,142,235,1);}" - "QPushButton:Pressed{border-radius:4px;background-color:rgba(50,87,202,1);}"); - ui->lineUp->setStyleSheet("background:rgba(255,255,255,0.08);"); - ui->lineDown->setStyleSheet("background:rgba(255,255,255,0.08);"); + ui->btnCancel->setStyleSheet(objQss.btnCancelQss); + ui->btnConnect->setStyleSheet(objQss.btnConnQss); + ui->lineUp->setStyleSheet(objQss.lineQss); + ui->lineDown->setStyleSheet(objQss.lineQss); ui->lbLeftupTitle->setText(tr("Add hidden Wi-Fi")); //加入隐藏Wi-Fi ui->lbConn->setText(tr("Connection")); //连接设置: diff --git a/wireless-security/dlgconnhidwifiwep.h b/wireless-security/dlgconnhidwifiwep.h index d1a1c8fa..579bf01f 100644 --- a/wireless-security/dlgconnhidwifiwep.h +++ b/wireless-security/dlgconnhidwifiwep.h @@ -40,6 +40,9 @@ private: void mousePressEvent(QMouseEvent *event); void mouseReleaseEvent(QMouseEvent *event); void mouseMoveEvent(QMouseEvent *event); + +// QString labelQss, cbxQss, leQss, btnConnQss, btnCancelQss, lineQss, checkBoxQss; + bool isPress; QPoint winPos; QPoint dragPos; diff --git a/wireless-security/dlgconnhidwifiwpa.cpp b/wireless-security/dlgconnhidwifiwpa.cpp index 495e9436..fb77849f 100644 --- a/wireless-security/dlgconnhidwifiwpa.cpp +++ b/wireless-security/dlgconnhidwifiwpa.cpp @@ -22,6 +22,7 @@ #include "kylinheadfile.h" #include "backthread.h" #include "mainwindow.h" + #include #include @@ -44,43 +45,28 @@ DlgConnHidWifiWpa::DlgConnHidWifiWpa(int type, MainWindow *mainWindow, QWidget * this->setStyleSheet("QWidget{border-radius:6px;background-color:rgba(19,19,20,0.95);border:1px solid rgba(255, 255, 255, 0.05);}"); + MyQss objQss; + ui->lbBoder->setStyleSheet("QLabel{border-radius:6px;background-color:rgba(19,19,20,0.95);border:1px solid rgba(255, 255, 255, 0.05);}"); ui->lbBoder->hide(); ui->lbLeftupTitle->setStyleSheet("QLabel{border:0px;font-size:20px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbConn->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbNetName->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbSecurity->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); - ui->lbPassword->setStyleSheet("QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"); + ui->lbConn->setStyleSheet(objQss.labelQss); + ui->lbNetName->setStyleSheet(objQss.labelQss); + ui->lbSecurity->setStyleSheet(objQss.labelQss); + ui->lbPassword->setStyleSheet(objQss.labelQss); - ui->cbxConn->setStyleSheet("QComboBox{padding-left:20px;font-size:13px;color:rgba(255,255,255,0.91);border:1px solid rgba(255, 255, 255, 0.05);background:rgba(255,255,255,0.08);}" - "QComboBox::drop-down{border:0px;width:30px;}" - "QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}" - "QComboBox QAbstractItemView {border:1px solid rgba(255, 255, 255, 0.05);background-color: transparent;}" - "QComboBox QAbstractItemView::item{font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color: rgba(19,19,20,0.95);}" - "QComboBox QAbstractItemView::item:selected{font-size:13px;color:rgba(0,0,0,0.91);background-color:lightgray;}"); + ui->cbxConn->setStyleSheet(objQss.cbxQss); ui->cbxConn->setView(new QListView()); - ui->leNetName->setStyleSheet("QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}"); - ui->lePassword->setStyleSheet("QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}"); - ui->cbxSecurity->setStyleSheet("QComboBox{padding-left:20px;font-size:13px;color:rgba(255,255,255,0.91);border:1px solid rgba(255, 255, 255, 0.05);background:rgba(255,255,255,0.08);}" - "QComboBox::drop-down{border:0px;width:30px;}" - "QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}" - "QComboBox QAbstractItemView {border:1px solid rgba(255, 255, 255, 0.05);background-color: transparent;}" - "QComboBox QAbstractItemView::item{font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color: rgba(19,19,20,0.95);}" - "QComboBox QAbstractItemView::item:selected{font-size:13px;color:rgba(0,0,0,0.91);background-color:lightgray;}"); + ui->leNetName->setStyleSheet(objQss.leQss); + ui->lePassword->setStyleSheet(objQss.leQss); + ui->cbxSecurity->setStyleSheet(objQss.cbxQss); ui->cbxSecurity->setView(new QListView()); - ui->checkBoxPwd->setStyleSheet("QCheckBox {border:none;background:transparent;}" - "QCheckBox::indicator {width: 18px; height: 9px;}" - "QCheckBox::indicator:checked {image: url(:/res/h/show-pwd.png);}" - "QCheckBox::indicator:unchecked {image: url(:/res/h/hide-pwd.png);}"); + ui->checkBoxPwd->setStyleSheet(objQss.checkBoxQss); - ui->btnCancel->setStyleSheet("QPushButton{border:0px;border-radius:4px;background-color:rgba(255,255,255,0.12);color:white;font-size:14px;}" - "QPushButton:Hover{border:0px solid rgba(255,255,255,0.2);border-radius:4px;background-color:rgba(255,255,255,0.2);}" - "QPushButton:Pressed{border-radius:4px;background-color:rgba(255,255,255,0.08);}"); - ui->btnConnect->setStyleSheet("QPushButton{border:0px;border-radius:4px;background-color:rgba(61,107,229,1);color:white;font-size:14px;}" - "QPushButton:Hover{border:0px solid rgba(255,255,255,0.2);border-radius:4px;background-color:rgba(107,142,235,1);}" - "QPushButton:Pressed{border-radius:4px;background-color:rgba(50,87,202,1);}"); - ui->lineUp->setStyleSheet("background:rgba(255,255,255,0.08);"); - ui->lineDown->setStyleSheet("background:rgba(255,255,255,0.08);"); + ui->btnCancel->setStyleSheet(objQss.btnCancelQss); + ui->btnConnect->setStyleSheet(objQss.btnConnQss); + ui->lineUp->setStyleSheet(objQss.lineQss); + ui->lineDown->setStyleSheet(objQss.lineQss); ui->btnCancel->setFocusPolicy(Qt::NoFocus); ui->checkBoxPwd->setFocusPolicy(Qt::NoFocus); diff --git a/wireless-security/dlgconnhidwifiwpa.h b/wireless-security/dlgconnhidwifiwpa.h index 7539ed80..e69bfd4e 100644 --- a/wireless-security/dlgconnhidwifiwpa.h +++ b/wireless-security/dlgconnhidwifiwpa.h @@ -56,6 +56,9 @@ private: void mousePressEvent(QMouseEvent *event); void mouseReleaseEvent(QMouseEvent *event); void mouseMoveEvent(QMouseEvent *event); + +// QString labelQss, cbxQss, leQss, btnConnQss, btnCancelQss, lineQss, checkBoxQss; + bool isPress; QPoint winPos; QPoint dragPos; diff --git a/wireless-security/kylinheadfile.cpp b/wireless-security/kylinheadfile.cpp new file mode 100644 index 00000000..d871f419 --- /dev/null +++ b/wireless-security/kylinheadfile.cpp @@ -0,0 +1,25 @@ +#include "kylinheadfile.h" + +MyQss::MyQss() +{ + labelQss = "QLabel{border:0px;color:rgba(255,255,255,0.97);background-color:transparent;}"; + cbxQss = "QComboBox{padding-left:20px;font-size:13px;color:rgba(255,255,255,0.91);border:1px solid rgba(255, 255, 255, 0.05);background:rgba(255,255,255,0.08);}" + "QComboBox::drop-down{border:0px;width:30px;}" + "QComboBox::down-arrow{image:url(:/res/g/down_arrow.png);}" + "QComboBox QAbstractItemView {border:1px solid rgba(255, 255, 255, 0.05);background-color: transparent;}" + "QComboBox QAbstractItemView::item{font-size:13px;color:rgba(255,255,255,0.91);height: 32px;background-color: rgba(19,19,20,0.95);}" + "QComboBox QAbstractItemView::item:selected{font-size:13px;color:rgba(0,0,0,0.91);background-color:lightgray;}"; + leQss = "QLineEdit{padding-left:20px;color:rgba(255,255,255,0.97);background:rgba(255,255,255,0.08);}"; + checkBoxQss = "QCheckBox {border:none;background:transparent;}" + "QCheckBox::indicator {width: 18px; height: 9px;}" + "QCheckBox::indicator:checked {image: url(:/res/h/show-pwd.png);}" + "QCheckBox::indicator:unchecked {image: url(:/res/h/hide-pwd.png);}"; + checkBoxCAQss = "QCheckBox{color:rgba(255,255,255,0.97);background-color:transparent;}"; + btnCancelQss = "QPushButton{border:0px;border-radius:4px;background-color:rgba(255,255,255,0.12);color:white;font-size:14px;}" + "QPushButton:Hover{border:0px solid rgba(255,255,255,0.2);border-radius:4px;background-color:rgba(255,255,255,0.2);}" + "QPushButton:Pressed{border-radius:4px;background-color:rgba(255,255,255,0.08);}"; + btnConnQss = "QPushButton{border:0px;border-radius:4px;background-color:rgba(61,107,229,1);color:white;font-size:14px;}" + "QPushButton:Hover{border:0px solid rgba(255,255,255,0.2);border-radius:4px;background-color:rgba(107,142,235,1);}" + "QPushButton:Pressed{border-radius:4px;background-color:rgba(50,87,202,1);}"; + lineQss = "background:rgba(255,255,255,0.08);"; +} diff --git a/wireless-security/kylinheadfile.h b/wireless-security/kylinheadfile.h index d9cefcf9..2d8c1d1c 100644 --- a/wireless-security/kylinheadfile.h +++ b/wireless-security/kylinheadfile.h @@ -18,4 +18,13 @@ #include #include +class MyQss +{ +public: + MyQss(); + + QString labelQss, cbxQss, leQss, btnConnQss, btnCancelQss, lineQss, checkBoxQss, checkBoxCAQss; + +}; + #endif // KYLINHEADFILE_H