style improvement

This commit is contained in:
xueyan hu
2021-12-24 15:34:36 +08:00
parent 160d9a13cf
commit ace08b9f44
11 changed files with 401 additions and 223 deletions

View File

@@ -52,85 +52,8 @@ MainWindow::MainWindow(QWidget* parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
const QString style = "*{background-color:#3c3c3c; color:white;margin:0;font-size:16px;}"
"QTabBar::tab {\n"
"height:60px;"
"width:300px;"
"font-size: 25px;"
"background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,\"\n"
"stop: 0 #333333, stop: 1.0 #555555);"
"border: 2px solid #505050;\n"
"border-bottom-left-radius: 50%;\n"
"border-bottom-right-radius: 50%;\n"
"min-width: 8ex;\n"
"padding: 2px;\n"
"}"
"QTabBar::tab:selected, QTabBar::tab:hover {"
"border-top:5px solid #4a88c7;\n"
"background: #505050;}"
"QTabWidget::pane{margin:0}"
"QLineEdit{min-height:36px;max-height:36px; border:1px solid silver}"
"QLineEdit:enabled{background-color: #515151}"
"QDateEdit{min-height:36px;max-height:36px; border:1px solid silver}"
"QDateEdit:enabled{background-color: #515151}"
//"QTextEdit{background-attachment: scroll; }"
"QTextEdit:enabled{background-color: #515151}"
"QComboBox{text-align:center;min-height:36px;max-height:36px; border:1px solid silver}"
"QComboBox:enabled{background-color: #515151}"
"QComboBox::drop-down{width:20px}"
"QComboBox QAbstractItemView{min-width:120px;}"
"QComboBox QAbstractItemView::item {min-height:60px;max-height:60px; border:1px solid white;}"
//"QScrollBar:vertical {min-width: 50px;}"
"QLabel{color:white; font-weight:bold; font-size:16px;}\n"
"QLabel#sliderPickerLabel{color:silver;padding:0;background:#505050;font-weight:normal;font-size:50px;}\n"
"QWidget#topbarWidget{min-height:36px;max-height:36px;}\n"
"QWidget#contentWidget{border-top:1px solid #515151;}\n"
"QWidget#commandWidget{min-height:123px;max-height:123px;border-top:1px solid #515151; border-bottom:1px solid #323232;}\n"
"QLabel#logo{min-width:30px;max-width:30px}\n"
"QLabel#company{min-width:150px;max-width:150px; }\n"
"QLabel#systemMsgBar{min-width:500px;}"
"QLabel#warn{color:#CCCC00;background:transparent;font-size:20px;}"
"QWidget QWidget#statusBarWidget{min-width:300px;}\n"
"QWidget QToolButton{border:none;border-radius:10%;font-size:26px; font-weight:Bold;padding:5px;}\n"
"QToolButton#btn_main{border:2px solid #0078d8;border-radius:10%;font-size:26px; font-weight:Bold;padding:5px;}\n"
"QWidget QToolButton:disabled{color:#606060 }\n"
"QWidget QToolButton:hover{background:#505050;}\n"
"QWidget QToolButton:checked{border:5px solid darkorange;padding:0px;}"
"QWidget#editcmdWidget{min-height:83px;max-height:83px;}"
"QWidget#verSpaceLine{ border-right:1px solid #0078d8;}"
"QWidget#topBottomLine{ border-top:2px solid #0078d8;border-bottom:2px solid #0078d8;background:transparent}"
//蒙版Dialog
"QDialog QWidget#innerWidget{ background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,"
"stop: 0.0 darkgray, stop: 0.5 lightgray, stop: 1.0 darkgray);"
"border-radius:20px;border:5px solid #0078d8; }"
"QDialog#MessageDialog QWidget QWidget{ background:transparent;color:#3078d8}"
"QDialog#MessageDialog QWidget QWidget QLabel{ font-size:30px}"
"#spacer_1, #spacer_2{min-width:2px;max-width:2px;margin-top:6px;margin-bottom:6px;border-right:1px solid #0078d8;}"
//FormDialog
"QPushButton{border:1px solid silver ;padding-left:50px;padding-right:50px; border-radius:5px; min-height:28px; max-height:28px; background:#4c5052}"
"QPushButton#btnOK{background:#365880; font-weight:bold}"
"QDialog#formDialog{border:3px solid silver; border-radius:8px}"
"QWidget#slider_one{border:1px solid silver; border-radius:8px}"
"QWidget#formWidget QLabel#endline{border-bottom:1px solid silver}"
"QWidget#formWidget QLabel#title{font-size:30px; border-bottom:1px solid #3078d8 }"
"QListView{border:none;margin:5px; font-weight:bold}"
"QListView::item{background:#4c5052;min-height:30px; border:1px solid silver; border-radius:5px}"
"QListView::item:selected{background:#365880; font-weight:bold;color:white}"
"QHeaderView::section{background-color:#595959;"
"min-height:50px;max-height:50px;"
"font-weight:Bold; font-size:16px; border:1px solid #323232;}"
"QHeaderView::section:horizontal{border-bottom: 1px solid rgb(0,170,255);}"
"QHeaderView::section:vertical{min-height:36px;max-height:36px;}"
"QWidget#edit_patient{min-width:300px;max-width:300px;}"
"QTableView{border:none}"
"QTableView{alternate-background-color: #595959;selection-color:white;selection-background-color:#0078d8}"
"QToolButton#sexBtn{min-width:120px;max-width:120px;font-size:20px;padding:2px;}"
"QToolButton#sexBtn:disabled{color:silver}"
"QWidget#sexpanelwidget{border:1px solid silver;}"
"QWidget#sexpanelwidget:enabled{background-color: #515151;}"
"QToolButton#sexBtn:checked{border:2px solid darkorange;padding:0px;}"
;
this->setStyleSheet(style);
this->loadStyleSheet("Dark");
ui->setupUi(this);
tab = new QTabWidget(this);
tab->setTabPosition(QTabWidget::South);
@@ -159,7 +82,7 @@ MainWindow::MainWindow(QWidget* parent) :
//默认旧模式
if (!msgDialog) {
msgDialog = new GUIMessageDialog(this);
msgDialog->setStyleSheet(style);
//msgDialog->setStyleSheet(style);
}
if (msg) {
QString* str = (QString*)msg;
@@ -273,6 +196,8 @@ MainWindow::MainWindow(QWidget* parent) :
}
MainWindow::~MainWindow()
{
delete ui;
@@ -288,6 +213,19 @@ void MainWindow::changeEvent(QEvent* event)
QWidget::changeEvent(event);
}
void MainWindow::loadStyleSheet(const QString& sheetName)
{
QFile file(":/StyleSheet/" + sheetName + ".qss");
file.open(QFile::ReadOnly);
if (file.isOpen())
{
QString styleSheet = this->styleSheet();
styleSheet += QLatin1String(file.readAll());
this->setStyleSheet(styleSheet);
}
}
void MainWindow::centerWidgetHide() {
ui->centralWidget->setVisible(false);
}

View File

@@ -32,7 +32,7 @@ protected:
void changeEvent(QEvent* event);
private:
void loadStyleSheet(const QString& sheetName);
cJSON* json_root = nullptr;
Ui::MainWindow* ui;

View File

@@ -16,7 +16,10 @@ networkCfgDialog::networkCfgDialog(QWidget* parent) :
ui(new Ui::networkCfgDialog)
{
ui->setupUi(this);
this->setObjectName("formDialog");
this->setWindowFlags(Qt::Dialog | Qt::FramelessWindowHint);
ui->formWidget->setObjectName(QString::fromUtf8("formWidget"));
msgDialog = new GUIMessageDialog(this);
msgDialog->hide();

View File

@@ -43,13 +43,7 @@ background: #505050;}</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<widget class="QFrame" name="frame">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<widget class="QWidget" name="formWidget" native="true">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QTabWidget" name="tabWidget">
@@ -57,7 +51,7 @@ background: #505050;}</string>
<bool>true</bool>
</property>
<property name="currentIndex">
<number>2</number>
<number>1</number>
</property>
<widget class="QWidget" name="tab">
<attribute name="title">
@@ -477,38 +471,5 @@ background: #505050;}</string>
</customwidget>
</customwidgets>
<resources/>
<connections>
<connection>
<sender>btn_group</sender>
<signal>accepted()</signal>
<receiver>networkCfgDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>248</x>
<y>254</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>btn_group</sender>
<signal>rejected()</signal>
<receiver>networkCfgDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>316</x>
<y>260</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
</connections>
<connections/>
</ui>

View File

@@ -1,40 +1,41 @@
<RCC>
<qresource prefix="/">
<file>icons/add.png</file>
<file>icons/close_circle.png</file>
<file>icons/details.png</file>
<file>icons/selected.png</file>
<file>icons/logo.png</file>
<file>icons/rec.png</file>
<file>icons/refresh.png</file>
<file>icons/scan.png</file>
<file>icons/scan_e.png</file>
<file>icons/stop.png</file>
<file>icons/selected_d.png</file>
<file>icons/close_circle_d.png</file>
<file>icons/left.png</file>
<file>icons/right.png</file>
<file>icons/account.png</file>
<file>icons/setting.png</file>
<file>icons/link_g.png</file>
<file>icons/link_r.png</file>
<file>icons/ready.png</file>
<file>icons/lock.png</file>
<file>icons/msg.png</file>
<file>icons/patient.png</file>
<file>icons/female.png</file>
<file>icons/male.png</file>
<file>icons/female_d.png</file>
<file>icons/male_d.png</file>
<file>icons/login.png</file>
<file>fonts/DroidSansFallback.ttf</file>
<file>translations/en_US.qm</file>
<file>translations/zh_CN.qm</file>
<file>icons/imageswitch/btncheckoff1.png</file>
<file>icons/imageswitch/btncheckoff2.png</file>
<file>icons/imageswitch/btncheckoff3.png</file>
<file>icons/imageswitch/btncheckon1.png</file>
<file>icons/imageswitch/btncheckon2.png</file>
<file>icons/imageswitch/btncheckon3.png</file>
</qresource>
<qresource prefix="/">
<file>icons/add.png</file>
<file>icons/close_circle.png</file>
<file>icons/details.png</file>
<file>icons/selected.png</file>
<file>icons/logo.png</file>
<file>icons/rec.png</file>
<file>icons/refresh.png</file>
<file>icons/scan.png</file>
<file>icons/scan_e.png</file>
<file>icons/stop.png</file>
<file>icons/selected_d.png</file>
<file>icons/close_circle_d.png</file>
<file>icons/left.png</file>
<file>icons/right.png</file>
<file>icons/account.png</file>
<file>icons/setting.png</file>
<file>icons/link_g.png</file>
<file>icons/link_r.png</file>
<file>icons/ready.png</file>
<file>icons/lock.png</file>
<file>icons/msg.png</file>
<file>icons/patient.png</file>
<file>icons/female.png</file>
<file>icons/male.png</file>
<file>icons/female_d.png</file>
<file>icons/male_d.png</file>
<file>icons/login.png</file>
<file>fonts/DroidSansFallback.ttf</file>
<file>translations/en_US.qm</file>
<file>translations/zh_CN.qm</file>
<file>icons/imageswitch/btncheckoff1.png</file>
<file>icons/imageswitch/btncheckoff2.png</file>
<file>icons/imageswitch/btncheckoff3.png</file>
<file>icons/imageswitch/btncheckon1.png</file>
<file>icons/imageswitch/btncheckon2.png</file>
<file>icons/imageswitch/btncheckon3.png</file>
<file>stylesheet/Dark.qss</file>
</qresource>
</RCC>

259
src/stylesheet/Dark.qss Normal file
View File

@@ -0,0 +1,259 @@
*{
background-color:#3c3c3c;
color:white;
margin:0;
font-size:16px;
}
QTabBar::tab
{
height:60px;
width:300px;
font-size: 25px;
background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,\
stop: 0 #333333, stop: 1.0 #555555);
border: 2px solid #505050;
border-bottom-left-radius: 50%;
border-bottom-right-radius: 50%;
min-width: 8ex;
padding: 2px;
}
QTabBar::tab:selected, QTabBar::tab:hover
{
border-top:5px solid #4a88c7;
background: #505050;
}
QTabWidget::pane
{
margin:0
}
QLineEdit
{
min-height:36px;
max-height:36px;
border:1px solid silver
}
QLineEdit:enabled
{
background-color: #515151
}
QDateEdit
{
min-height:36px;max-height:36px; border:1px solid silver
}
QDateEdit:enabled
{
background-color: #515151
}
/**QTextEdit
{background-attachment: scroll;
}**/
QTextEdit:enabled
{background-color: #515151
}
QComboBox
{text-align:center;min-height:36px;max-height:36px; border:1px solid silver
}
QComboBox:enabled
{background-color: #515151
}
QComboBox::drop-down
{width:20px
}
QComboBox QAbstractItemView
{min-width:120px;
}
QComboBox QAbstractItemView::item
{min-height:60px;max-height:60px; border:1px solid white;
}
//QScrollBar:vertical
{min-width: 50px;
}
QLabel
{color:white; font-weight:bold; font-size:16px;
}
QLabel#sliderPickerLabel
{color:silver;padding:0;background:#505050;font-weight:normal;font-size:50px;
}
QWidget#topbarWidget
{min-height:36px;max-height:36px;
}
QWidget#contentWidget
{border-top:1px solid #515151;
}
QWidget#commandWidget
{min-height:123px;max-height:123px;border-top:1px solid #515151; border-bottom:1px solid #323232;
}
QLabel#logo
{min-width:30px;max-width:30px
}
QLabel#company
{min-width:150px;max-width:150px;
}
QLabel#systemMsgBar
{min-width:500px;
}
QLabel#warn
{color:#CCCC00;background:transparent;font-size:20px;
}
QWidget QWidget#statusBarWidget
{min-width:300px;
}
QWidget QToolButton
{border:none;border-radius:10%;font-size:26px; font-weight:Bold;padding:5px;
}
QToolButton#btn_main
{border:2px solid #0078d8;border-radius:10%;font-size:26px; font-weight:Bold;padding:5px;
}
QWidget QToolButton:disabled
{color:#606060
}
QWidget QToolButton:hover
{background:#505050;
}
QWidget QToolButton:checked
{border:5px solid darkorange;padding:0px;
}
QWidget#editcmdWidget
{min-height:83px;max-height:83px;
}
QWidget#verSpaceLine
{ border-right:1px solid #0078d8;
}
QWidget#topBottomLine
{ border-top:2px solid #0078d8;border-bottom:2px solid #0078d8;background:transparent
}
//蒙版Dialog
QDialog QWidget#innerWidget
{ background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0.0 darkgray, stop: 0.5 lightgray, stop: 1.0 darkgray);
border-radius:20px;border:5px solid #0078d8;
}
QDialog#MessageDialog QWidget QWidget
{ background:transparent;color:#3078d8
}
QDialog#MessageDialog QWidget QWidget QLabel
{ font-size:30px
}
#spacer_1, #spacer_2
{min-width:2px;max-width:2px;margin-top:6px;margin-bottom:6px;border-right:1px solid #0078d8;
}
//FormDialog
QPushButton
{border:1px solid silver ;padding-left:50px;padding-right:50px; border-radius:5px; min-height:28px; max-height:28px; background:#4c5052
}
QPushButton#btnOK
{background:#365880; font-weight:bold
}
QDialog#formDialog
{border:3px solid silver; border-radius:8px
}
QWidget#slider_one
{border:1px solid silver; border-radius:8px
}
QWidget#formWidget QLabel#endline
{border-bottom:1px solid silver
}
QWidget#formWidget QLabel#title
{font-size:30px; border-bottom:1px solid #3078d8
}
QListView
{border:none;margin:5px; font-weight:bold
}
QListView::item
{background:#4c5052;min-height:30px; border:1px solid silver; border-radius:5px
}
QListView::item:selected
{background:#365880; font-weight:bold;color:white
}
QHeaderView::section
{background-color:#595959;
min-height:50px;max-height:50px;
font-weight:Bold; font-size:16px; border:1px solid #323232;
}
QHeaderView::section:horizontal
{border-bottom: 1px solid rgb(0,170,255);
}
QHeaderView::section:vertical
{min-height:36px;max-height:36px;
}
QWidget#edit_patient
{min-width:300px;max-width:300px;
}
QTableView
{border:none
}
QTableView
{alternate-background-color: #595959;selection-color:white;selection-background-color:#0078d8
}
QToolButton#sexBtn
{min-width:120px;max-width:120px;font-size:20px;padding:2px;
}
QToolButton#sexBtn:disabled
{color:silver
}
QWidget#sexpanelwidget
{border:1px solid silver;
}
QWidget#sexpanelwidget:enabled
{background-color: #515151;
}
QToolButton#sexBtn:checked
{border:2px solid darkorange;padding:0px;
}

View File

@@ -461,6 +461,14 @@ parameters
<source>Scan Parameters</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LEFT</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>RIGHT</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SelectFormWidget</name>

View File

@@ -461,6 +461,14 @@ parameters
<source>Scan Parameters</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LEFT</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>RIGHT</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SelectFormWidget</name>

Binary file not shown.

View File

@@ -469,26 +469,26 @@
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="142"/>
<location filename="../mainwindow.cpp" line="266"/>
<location filename="../mainwindow.cpp" line="65"/>
<location filename="../mainwindow.cpp" line="189"/>
<source>Select</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="144"/>
<location filename="../mainwindow.cpp" line="267"/>
<location filename="../mainwindow.cpp" line="67"/>
<location filename="../mainwindow.cpp" line="190"/>
<source>Scan</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="146"/>
<location filename="../mainwindow.cpp" line="268"/>
<location filename="../mainwindow.cpp" line="69"/>
<location filename="../mainwindow.cpp" line="191"/>
<source>Verify</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="229"/>
<location filename="../mainwindow.cpp" line="269"/>
<location filename="../mainwindow.cpp" line="152"/>
<location filename="../mainwindow.cpp" line="192"/>
<source>Admin</source>
<translation></translation>
</message>
@@ -680,102 +680,102 @@ parameters
<context>
<name>networkCfgDialog</name>
<message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="366"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="361"/>
<source>Network Settings</source>
<translation></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="376"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="371"/>
<source>Address</source>
<translation>IP配置</translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="367"/>
<location filename="../network/networkcfgdialog.cpp" line="31"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="362"/>
<location filename="../network/networkcfgdialog.cpp" line="34"/>
<source>IP Address</source>
<translation>IP地址</translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="368"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="363"/>
<source>Dynamic Address</source>
<translation></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="369"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="364"/>
<source>Dev</source>
<translation></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="371"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="366"/>
<source>Subnet Mask</source>
<translation></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="372"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="367"/>
<source>Additional Address</source>
<translation></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="373"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="380"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="368"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="375"/>
<source>Add</source>
<translation></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="374"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="381"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="369"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="376"/>
<source>Edit</source>
<translation></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="375"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="382"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="370"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="377"/>
<source>Delete</source>
<translation></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="383"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="378"/>
<source>Routing</source>
<translation></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="378"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="373"/>
<source>Default IPv4 Gateway</source>
<translation></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="379"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="374"/>
<source>Routing Table</source>
<translation></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="384"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="379"/>
<source>Result</source>
<translation></translation>
</message>
<message>
<location filename="../network/networkcfgdialog.cpp" line="31"/>
<location filename="../network/networkcfgdialog.cpp" line="34"/>
<location filename="../network/networkcfgdialog.cpp" line="37"/>
<source>Netmask</source>
<translation></translation>
</message>
<message>
<location filename="../network/networkcfgdialog.cpp" line="34"/>
<location filename="../network/networkcfgdialog.cpp" line="37"/>
<source>Destination</source>
<translation></translation>
</message>
<message>
<location filename="../network/networkcfgdialog.cpp" line="34"/>
<location filename="../network/networkcfgdialog.cpp" line="37"/>
<source>Gateway</source>
<translation></translation>
</message>
<message>
<location filename="../network/networkcfgdialog.cpp" line="37"/>
<location filename="../network/networkcfgdialog.cpp" line="40"/>
<source>Apply</source>
<translation></translation>
</message>
<message>
<location filename="../network/networkcfgdialog.cpp" line="38"/>
<location filename="../network/networkcfgdialog.cpp" line="41"/>
<source>Cancel</source>
<translation></translation>
</message>

View File

@@ -469,26 +469,26 @@
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="142"/>
<location filename="../mainwindow.cpp" line="266"/>
<location filename="../mainwindow.cpp" line="65"/>
<location filename="../mainwindow.cpp" line="189"/>
<source>Select</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="144"/>
<location filename="../mainwindow.cpp" line="267"/>
<location filename="../mainwindow.cpp" line="67"/>
<location filename="../mainwindow.cpp" line="190"/>
<source>Scan</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="146"/>
<location filename="../mainwindow.cpp" line="268"/>
<location filename="../mainwindow.cpp" line="69"/>
<location filename="../mainwindow.cpp" line="191"/>
<source>Verify</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="229"/>
<location filename="../mainwindow.cpp" line="269"/>
<location filename="../mainwindow.cpp" line="152"/>
<location filename="../mainwindow.cpp" line="192"/>
<source>Admin</source>
<translation></translation>
</message>
@@ -680,102 +680,102 @@ parameters
<context>
<name>networkCfgDialog</name>
<message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="366"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="361"/>
<source>Network Settings</source>
<translation></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="376"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="371"/>
<source>Address</source>
<translation>IP配置</translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="367"/>
<location filename="../network/networkcfgdialog.cpp" line="31"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="362"/>
<location filename="../network/networkcfgdialog.cpp" line="34"/>
<source>IP Address</source>
<translation>IP地址</translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="368"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="363"/>
<source>Dynamic Address</source>
<translation></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="369"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="364"/>
<source>Dev</source>
<translation></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="371"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="366"/>
<source>Subnet Mask</source>
<translation></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="372"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="367"/>
<source>Additional Address</source>
<translation></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="373"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="380"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="368"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="375"/>
<source>Add</source>
<translation></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="374"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="381"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="369"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="376"/>
<source>Edit</source>
<translation></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="375"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="382"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="370"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="377"/>
<source>Delete</source>
<translation></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="383"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="378"/>
<source>Routing</source>
<translation></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="378"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="373"/>
<source>Default IPv4 Gateway</source>
<translation></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="379"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="374"/>
<source>Routing Table</source>
<translation></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="384"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="379"/>
<source>Result</source>
<translation></translation>
</message>
<message>
<location filename="../network/networkcfgdialog.cpp" line="31"/>
<location filename="../network/networkcfgdialog.cpp" line="34"/>
<location filename="../network/networkcfgdialog.cpp" line="37"/>
<source>Netmask</source>
<translation></translation>
</message>
<message>
<location filename="../network/networkcfgdialog.cpp" line="34"/>
<location filename="../network/networkcfgdialog.cpp" line="37"/>
<source>Destination</source>
<translation></translation>
</message>
<message>
<location filename="../network/networkcfgdialog.cpp" line="34"/>
<location filename="../network/networkcfgdialog.cpp" line="37"/>
<source>Gateway</source>
<translation></translation>
</message>
<message>
<location filename="../network/networkcfgdialog.cpp" line="37"/>
<location filename="../network/networkcfgdialog.cpp" line="40"/>
<source>Apply</source>
<translation></translation>
</message>
<message>
<location filename="../network/networkcfgdialog.cpp" line="38"/>
<location filename="../network/networkcfgdialog.cpp" line="41"/>
<source>Cancel</source>
<translation></translation>
</message>