From 9b2b6d88384f31d31b05394eb9f485e4c06d61c6 Mon Sep 17 00:00:00 2001 From: xueyan hu <576627988@qq.com> Date: Tue, 21 Dec 2021 16:15:07 +0800 Subject: [PATCH] temp --- CMakeLists.txt | 6 + src/generalform.cpp | 20 +- src/generalform.h | 4 + src/network/getipdialog.cpp | 6 +- src/network/getroutedialog.cpp | 6 +- src/systemsettingform.cpp | 8 + src/systemsettingform.h | 3 + src/systemsettingform.ui | 2 +- src/translations/en_US.ts | 1456 ++++++++++++++++--------------- src/translations/zh_CN.qm | Bin 1412 -> 2554 bytes src/translations/zh_CN.ts | 1468 ++++++++++++++++---------------- 11 files changed, 1501 insertions(+), 1478 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7cb5fc9..a79fd98 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,6 +35,11 @@ file(GLOB project_uis ./src/*.ui) qt5_wrap_ui(ui_FILES ${project_uis}) file(GLOB project_res ./src/*.qrc) +set(TS_FILES + ./src/translations/en_US.ts + ./src/translations/zh_CN.ts) +find_package(Qt5 COMPONENTS ${REQUIRED_LIBS} LinguistTools REQUIRED) +qt5_create_translation(QM_FILES ${CMAKE_SOURCE_DIR} ${TS_FILES}) set(TS_FILES ./src/translations/en_US.ts ./src/translations/zh_CN.ts) @@ -45,6 +50,7 @@ set(cpp_source_all ${project_headers} ${project_cpps} ${project_cxx} ${project_r qt5_create_translation(QM_FILES ${cpp_source_all} ${TS_FILES}) add_executable(${PROJECT_NAME} ${cpp_source_all} ${ui_FILES} ${QM_FILES} ) +add_executable(${PROJECT_NAME} ${project_headers} ${project_cpps} ${project_cxx} ${project_res} ${project_cc} ${project_c} ${ui_FILES} ) if(UNIX AND USE_SHIMLIB) link_directories(/usr/local/lib64) target_link_libraries(${PROJECT_NAME} Qt5::Core Qt5::Widgets Qt5::Gui Qt5::OpenGL Qt5::Sql Qt5::VirtualKeyboard Qt5::Network pthread usct_shim dmapi log4c cunit ctomat hdf5 matio m) diff --git a/src/generalform.cpp b/src/generalform.cpp index 954bd6a..6080737 100644 --- a/src/generalform.cpp +++ b/src/generalform.cpp @@ -1,5 +1,6 @@ #include "generalform.h" +#include #include #include #include @@ -21,7 +22,9 @@ GeneralForm::GeneralForm(QWidget* parent) : QWidget(parent) layout->addWidget(lanHeader); QHBoxLayout* lanHeaderLayout = new QHBoxLayout(lanHeader); - lanHeaderLayout->addWidget(new QLabel(tr("Language"))); + lbl_lan = new QLabel(tr("Language")); + lanHeaderLayout->addWidget(lbl_lan); + QPushButton* btnLan = new QPushButton(lanHeader); lanHeaderLayout->addWidget(btnLan); lanHeaderLayout->addSpacerItem(new QSpacerItem(20, 20, QSizePolicy::Expanding)); @@ -101,8 +104,15 @@ void GeneralForm::changeEvent(QEvent* event) { if (event->type() == QEvent::LanguageChange) { - qDebug() << "change language"; - + //this->retranslateUi(); + lbl_lan->setText(tr("Language")); } - QWidget::changeEvent(event); -} \ No newline at end of file +} + +void GeneralForm::retranslateUi() +{ + + //lbl_lan->setText(QApplication::translate("GeneralForm", "Language", nullptr)); + lbl_lan->setText(tr("Language")); + +} // retranslateUi \ No newline at end of file diff --git a/src/generalform.h b/src/generalform.h index cd62d82..385cd25 100644 --- a/src/generalform.h +++ b/src/generalform.h @@ -5,6 +5,7 @@ class QPushButton; class QVBoxLayout; class SelectDialog; +class QLabel; class GeneralForm : public QWidget { @@ -19,8 +20,11 @@ protected: void changeEvent(QEvent* event); private: + void retranslateUi(); QVBoxLayout* layout = nullptr; SelectDialog* dialog = nullptr; + + QLabel* lbl_lan = nullptr; }; #endif // GENERALFORM_H \ No newline at end of file diff --git a/src/network/getipdialog.cpp b/src/network/getipdialog.cpp index c440de5..1e5ed97 100644 --- a/src/network/getipdialog.cpp +++ b/src/network/getipdialog.cpp @@ -12,15 +12,15 @@ GetIPDialog::GetIPDialog(QWidget* parent, Qt::WindowFlags f) : GUIFormBaseDialog setWindowModality(Qt::WindowModal); QFormLayout* form = new QFormLayout(formWidget); - QString value1 = QString("IP Address"); + QString value1 = QString(tr("IP Address")); _ip = new QLineEdit(this); form->addRow(value1, _ip); - QString value2 = QString("Netmask"); + QString value2 = QString(tr("Netmask")); _mask = new QLineEdit(this); form->addRow(value2, _mask); lbl_error = new QLabel(this); - lbl_error->setObjectName("warn"); + lbl_error->setObjectName(tr("warn")); form->addRow("", lbl_error); } diff --git a/src/network/getroutedialog.cpp b/src/network/getroutedialog.cpp index 762801c..378482d 100644 --- a/src/network/getroutedialog.cpp +++ b/src/network/getroutedialog.cpp @@ -12,13 +12,13 @@ GetRouteDialog::GetRouteDialog(QWidget* parent, Qt::WindowFlags f) : GUIFormBase setWindowModality(Qt::WindowModal); QFormLayout* form = new QFormLayout(formWidget); - QString value1 = QString("Destination"); + QString value1 = QString(tr("Destination")); _des = new QLineEdit(this); form->addRow(value1, _des); - QString value2 = QString("Netmask"); + QString value2 = QString(tr("Netmask")); _mask = new QLineEdit(this); form->addRow(value2, _mask); - QString value3 = QString("Gateway"); + QString value3 = QString(tr("Gateway")); _gw = new QLineEdit(this); form->addRow(value3, _gw); diff --git a/src/systemsettingform.cpp b/src/systemsettingform.cpp index 947a172..03b275c 100644 --- a/src/systemsettingform.cpp +++ b/src/systemsettingform.cpp @@ -185,3 +185,11 @@ void systemSettingForm::saveServersInfo() //qIfConfig(lhost); } + +void systemSettingForm::changeEvent(QEvent* event) +{ + if (event->type() == QEvent::LanguageChange) + { + ui->retranslateUi(this); + } +} \ No newline at end of file diff --git a/src/systemsettingform.h b/src/systemsettingform.h index 1e4ff87..157fc08 100644 --- a/src/systemsettingform.h +++ b/src/systemsettingform.h @@ -20,6 +20,9 @@ public: explicit systemSettingForm(QWidget *parent = nullptr); ~systemSettingForm(); +protected: + void changeEvent(QEvent* event); + private: Ui::systemSettingForm *ui; SelectDialog* sd_protocal = nullptr; diff --git a/src/systemsettingform.ui b/src/systemsettingform.ui index c686874..1e1fbf1 100644 --- a/src/systemsettingform.ui +++ b/src/systemsettingform.ui @@ -6,7 +6,7 @@ 0 0 - 527 + 619 612 diff --git a/src/translations/en_US.ts b/src/translations/en_US.ts index 0fc4d95..aff392b 100644 --- a/src/translations/en_US.ts +++ b/src/translations/en_US.ts @@ -1,83 +1,70 @@ - + AbstractButtonSection - - + AbstractButton - - + Text - - + The text displayed on the button. - - + Display - - + Determines how the icon and text are displayed within the button. - - + Checkable - - + Whether the button is checkable. - - + Checked - - + Whether the button is checked. - - + Exclusive - - + Whether the button is exclusive. - - + Repeat - - + Whether the button repeats while pressed and held down. @@ -85,87 +72,173 @@ AccountFormDialog - + Account - + User ID - + + Input User ID + + + + Name + Input User name + + + + Password - - Change Password + + Input password - - + + Logout + + + Change Role + + + + + Reset password to "123456" ? + + + + + Inner error, can't find reference user! + + + + + + Submit change to database fail! + + + + + Comment + + + + + + + User Name can't be empty! + + + + + User ID can't be empty! + + + + + Password can't be empty! + + + + + Inner error ,unset data model! + + + + + User Id exists! + + + + + Submit to data base fail! + + + + + AccountTableForm + + + Can't delete current log in account! + + + + + Delete account with ID:"%1"! + + AdminSettingForm - + General - + Account Manage - + System Setting - + System Information - + Operation Log - + About + + AlertDialog + + + Warning + + + BusyIndicatorSpecifics - - + BusyIndicator - - + Running - - + Whether the busy indicator is currently indicating activity. @@ -173,44 +246,37 @@ ButtonSection - - + Button - - + AutoRepeat - - + Whether the button repeats pressed(), released() and clicked() signals while the button is pressed and held down. - - + Flat - - + Whether the button is flat. - - + Highlighted - - + Whether the button is highlighted. @@ -266,8 +332,7 @@ CheckBoxSpecifics - - + CheckBox @@ -275,8 +340,7 @@ CheckDelegateSpecifics - - + CheckDelegate @@ -284,26 +348,22 @@ CheckSection - - + Check State - - + The current check state. - - + Tri-state - - + Whether the checkbox has three states. @@ -311,40 +371,31 @@ CircularGaugeSpecifics - - + CircularGauge - - - - + + Value - - - - + + Minimum Value - - - - + + Maximum Value - - - - + + Step Size @@ -352,68 +403,57 @@ ComboBoxSpecifics - - + ComboBox - - + Text Role - - + The model role used for displaying text. - - + Current - - + The index of the current item. - - + Editable - - + Whether the combo box is editable. - - + Flat - - + Whether the combo box button is flat. - - + DisplayText - - + Holds the text that is displayed on the combo box button. @@ -421,20 +461,17 @@ ContainerSection - - + Container - - + Current - - + The index of the current item. @@ -442,68 +479,57 @@ ControlSection - - + Control - - + Enabled - - + Whether the control is enabled. - - + Focus Policy - - + Focus policy of the control. - - + Hover - - + Whether control accepts hover evets. - - + Spacing - - + Spacing between internal elements of the control. - - + Wheel - - + Whether control accepts wheel evets. @@ -511,38 +537,32 @@ DefaultColorDialog - - + Hue - - + Saturation - - + Luminosity - - + Alpha - - + Cancel - - + OK @@ -550,8 +570,7 @@ DefaultDialogWrapper - - + Show Details... @@ -559,78 +578,66 @@ DefaultFileDialog - - + Go up to the folder containing this one - - + Remove favorite - - + Add the current directory as a favorite - - + Filename - - + Type file type (extension) - - + Size file size - - + Modified last-modified time - - + Accessed last-accessed time - - + Cancel - - + Choose - - + Open - - + Save @@ -638,138 +645,114 @@ DefaultFontDialog - - + Font - - - - + + Weight - - - - + + Size - - + Font Family - - + Thin - - + ExtraLight - - + Light - - + Normal - - + Medium - - + DemiBold - - + Bold - - + ExtraBold - - + Black - - + Style - - + Italic - - + Underline - - + Overline - - + Strikeout - - + Writing System - - + Sample - - + Cancel - - + OK @@ -777,122 +760,102 @@ DefaultMessageDialog - - + OK - - + Open - - + Save - - + Save All - - + Retry - - + Ignore - - + Apply - - + Yes - - + Yes to All - - + No - - + No to All - - + Discard - - + Reset - - + Restore Defaults - - + Cancel - - + Abort - - + Close - - + Show Details... - - + Help - - + Hide Details @@ -900,34 +863,26 @@ DelayButtonSpecifics - - - - + + DelayButton - - - - - - + + + Delay - - + The delay in milliseconds. - - - - + + Text @@ -935,114 +890,90 @@ DialSpecifics - - - - + + Dial - - - - - - + + + Value - - + The current value of the dial. - - + From - - + The starting value of the dial range. - - + To - - + The ending value of the dial range. - - - - - - + + + Step Size - - + The step size of the dial. - - + Snap Mode - - + The snap mode of the dial. - - + Live - - + Whether the dial provides live value updates. - - - - + + Minimum Value - - - - + + Maximum Value - - - - + + Tickmarks Visible @@ -1050,50 +981,42 @@ EditMenu_base - - + &Undo - - + &Redo - - + Cu&t - - + &Copy - - + &Paste - - + Delete - - + Clear - - + Select All @@ -1102,60 +1025,57 @@ EditPatientForm - - + Form - - + ID - - + Name - - + Sex - - + Date Of Birth - - + Comment + + + Gender + + GUIMessageDialog - - + Dialog - - + ... @@ -1163,32 +1083,25 @@ GaugeSpecifics - - + Gauge - - - - + + Value - - - - + + Minimum Value - - - - + + Maximum Value @@ -1216,23 +1129,81 @@ + + GetIPDialog + + + IP Address + + + + + Netmask + + + + + warn + + + + + Wrong IP! + + + + + Wrong Netmask! + + + + + GetRouteDialog + + + Destination + + + + + Netmask + + + + + Gateway + + + + + Wrong Destination! + + + + + Wrong Netmask! + + + + + Wrong Gateway! + + + GroupBoxSpecifics - - + GroupBox - - + Title - - + The title of the group box. @@ -1241,8 +1212,7 @@ InputObject - - + Form @@ -1250,20 +1220,17 @@ ItemDelegateSection - - + ItemDelegate - - + Highlighted - - + Whether the delegate is highlighted. @@ -1271,18 +1238,14 @@ LabelSpecifics - - - - + + Text Color - - - - + + Style Color @@ -1304,8 +1267,7 @@ MainWindow - - + MainWindow @@ -1313,56 +1275,47 @@ PaddingSection - - + Padding - - + Top - - + Padding between the content and the top edge of the control. - - + Left - - + Padding between the content and the left edge of the control. - - + Right - - + Padding between the content and the right edge of the control. - - + Bottom - - + Padding between the content and the bottom edge of the control. @@ -1370,32 +1323,27 @@ PageIndicatorSpecifics - - + PageIndicator - - + Count - - + The number of pages. - - + Current - - + The index of the current page. @@ -1403,44 +1351,37 @@ PageSpecifics - - + Page - - + Title - - + Title of the page. - - + Content Width - - + Content height used for calculating the total implicit width. - - + Content Height - - + Content height used for calculating the total implicit height. @@ -1448,32 +1389,27 @@ PaneSection - - + Pane - - + Content Width - - + Content height used for calculating the total implicit width. - - + Content Height - - + Content height used for calculating the total implicit height. @@ -1482,64 +1418,55 @@ PatientInformationForm - - + Form - - + Patient Information - - + <html><head/><body><p>PatientID:</p></body></html> - - + Someone Somebody - - + 2021/11/11 - - + Female - - + Acc# 27812398 - - + Current Protocol - - + LEFT ONLY @@ -1547,24 +1474,19 @@ PictureSpecifics - - + Picture - - - - + + Source - - - - + + Color @@ -1572,16 +1494,13 @@ PieMenuSpecifics - - + PieMenu - - - - + + Trigger Mode @@ -1589,56 +1508,47 @@ ProgressBarSpecifics - - + ProgressBar - - + Indeterminate - - + Whether the progress is indeterminate. - - + Value - - + The current value of the progress. - - + From - - + The starting value for the progress. - - + To - - + The ending value for the progress. @@ -1646,125 +1556,118 @@ RangeSliderSpecifics - - + RangeSlider - - + First Value - - + The value of the first range slider handle. - - + Second Value - - + The value of the second range slider handle. - - + From - - + The starting value of the range slider range. - - + To - - + The ending value of the range slider range. - - + Step Size - - + The step size of the range slider. - - + Snap Mode - - + The snap mode of the range slider. - - + Orientation - - + The orientation of the range slider. - - + Live - - + Whether the range slider provides live value updates. + + RollingMessageWidget + + + Message of warn! + + + + + Message2 of warn! + + + RoundButtonSpecifics - - + RoundButton - - + Radius - - + Radius of the button. @@ -1772,32 +1675,27 @@ ScrollViewSpecifics - - + ScrollView - - + Content Width - - + Content height used for calculating the total implicit width. - - + Content Height - - + Content height used for calculating the total implicit height. @@ -1805,92 +1703,77 @@ SliderSpecifics - - + Slider - - + Value - - + The current value of the slider. - - + From - - + The starting value of the slider range. - - + To - - + The ending value of the slider range. - - + Step Size - - + The step size of the slider. - - + Snap Mode - - + The snap mode of the slider. - - + Orientation - - + The orientation of the slider. - - + Live - - + Whether the slider provides live value updates. @@ -1898,68 +1781,57 @@ SpinBoxSpecifics - - + SpinBox - - + Value - - + The current value of the spinbox. - - + From - - + The starting value of the spinbox range. - - + To - - + The ending value of the spinbox range. - - + Step Size - - + The step size of the spinbox. - - + Editable - - + Whether the spinbox is editable. @@ -1967,24 +1839,19 @@ StatusIndicatorSpecifics - - + StatusIndicator - - - - + + Active - - - - + + Color @@ -1992,32 +1859,27 @@ SwipeViewSpecifics - - + SwipeView - - + Interactive - - + Whether the view is interactive. - - + Orientation - - + Orientation of the view. @@ -2025,44 +1887,37 @@ TabBarSpecifics - - + TabBar - - + Position - - + Position of the tabbar. - - + Content Width - - + Content height used for calculating the total implicit width. - - + Content Height - - + Content height used for calculating the total implicit height. @@ -2071,65 +1926,25 @@ TabFormWidget - - + Form - - - - - LOGO - - - - - - - TextLabel - - - - - - - <html><head/><body><p>Message from DAQ and device.</p></body></html> - - - - - 浙江衡玖医疗科技 - - - - - 浙江大学医学院附属第二医院 - - - - - °C - - TextAreaSpecifics - - + TextArea - - + Placeholder - - + Placeholder text displayed when the editor is empty. @@ -2137,20 +1952,17 @@ TextFieldSpecifics - - + TextField - - + Placeholder - - + Placeholder text displayed when the editor is empty. @@ -2158,24 +1970,19 @@ ToggleButtonSpecifics - - + ToggleButton - - - - + + Text - - - - + + Checked @@ -2183,20 +1990,17 @@ ToolBarSpecifics - - + ToolBar - - + Position - - + Position of the toolbar. @@ -2204,65 +2008,68 @@ ToolSeparatorSpecifics - - + ToolSeparator - - + Orientation - - + The orientation of the separator. + + TopBarWidget + + + 浙江衡玖医疗科技 + + + + + °C + + + TumblerSpecifics - - + Tumbler - - + Visible Count - - + The count of visible items. - - + Current - - + The index of the current item. - - + Wrap - - + Whether the tumbler wrap. @@ -2276,15 +2083,202 @@ - systemSettingForm + networkCfgDialog - - Default Protocal + + + Network Settings - - Default Worklist Filter + + + Address + + + + + + IP Address + + + + + + Dynamic Address + + + + + + Dev + + + + + + Subnet Mask + + + + + + Additional Address + + + + + + + + Add + + + + + + + + Edit + + + + + + + + Delete + + + + + + Routing + + + + + + Default IPv4 Gateway + + + + + + Routing Table + + + + + + Result + + + + + systemSettingForm + + + + Form + + + + + + Network Setting + + + + + + + + PushButton + + + + + + Protocal + + + + + + Worklist Filter + + + + + + Auto Verify + + + + + + Configure + + + + + + IP + + + + + + Name + + + + + + AE + + + + + + PACS + + + + + + 3D Recon + + + + + + Worklist + + + + + + DAQ + + + + + + Port + + + + + + Cancel + + + + + + Accept diff --git a/src/translations/zh_CN.qm b/src/translations/zh_CN.qm index 7632b6a8dc4288abd80ad4f4c7458812e27004ca..4ed9326a218e383943845f2295bc32e323443b08 100644 GIT binary patch literal 2554 zcma)7ZD?Cn7(Pi(a&MZZ>E`H$_~VLyiYPc;{TynRxGvH*U)^e1(cavgX4l-DTXOGh zEYp@rk!fn@gpN{baj?3nLx&&;>clxaD{KP`t2jkun}RSW;`}i|d~b4h+BC`SeuR^A z&-=X3d!F~>Z2cs?>Dy~FlV|U|}AvF0amc^xy*QJ+r9&&}qQ6q2F$R9eSX=I$w6)TUbJf`@uOk;{|`GoJ%i#1%Cc> zwYFV?^;y^E#cqUL6ZqlC1VT<856|de--M?kpTSzd$M2Z~I~P9x&K1}nb+`QrJZR88 z7G8k;d}TY&#DZd%y@-x2rzIQYdA+=tZke}?b+=sNgM@$X%_49Dlnt82k4wj2e% zc5k+?5g~q~S2?i}{5kcM;AnG|q&_;5+i4{$?wz zv;M2}6yQ6X-hAb2*h_(ikG})Ie+7K6?gT$~%Wyd50%niVntG_)&znJd;Kv0eNj0d> z!T)vE|Ltl%7nVgu%{WX5AN_+ovU~mo2LlB{dqkQcLQK@Of|^g;fbr1Y_zed1bf_8C zup`60iz}kTU1E;dd9MhIzlC^s^ZqD;!Yn3kr$+KZBy2|$*SaPcz#U9kcW4f#b23d5 zU6*ObRIRL+NwN2^?qP@~OIV>(q++IYq1sUV#_dKcgK_PIlDw#xk=3^6(`Tc7HSXKmcg%B;fS;?>s>!|)x@DTbBwDqDWi(HABEO#aR6Z|hK{tdNxQgixVd&JnBB zs-U=j>H8q_GVPIRS}l|+a&^=5X30~lwW_Q!Iq}Ra3&;fmm6Az`4!xcY4P;i%hN-uD zTPnm|5B9RDtf&a4wnWox;LwS&gPkkNh+7*o`+f1qXgsd55I2O$fM_VX5QzBd=Xv=|v zj0c;gY(r!US3%SeiLK4SkH$xStkAo;tDIKB>RX#+;gQA63=7bcAR1_H6XNUFjLj8X zTmp(2CS`q$$HeU4!$|xVLg*G#icOCA-LcWQ^zMo$%9k`!kWQGmTDCqPmgbVnv(p1( znhcg-C#^ILt4902-xJ5C$BSRG2z^0ASA|_9FAtPTZe494PF~3EXCO~Vq!KC3^?LRd z!g)g~9gs6dzWf%}rl`(sU{!8S9qRD$sjPH987+RmV&r3aRad3*>r)5Sf_jjO@+gZG hBqI&!2hPyTyOz@z=z)Qu$eJ!}mld6q=4=gD{{y*wewY9N delta 312 zcmew*+`?UNvm-^~)cZM8&nn97PguD3t`h?T!wv?9$P)|<%wY_y9;QJ40tn5l#o#{e z2m=G7DZ}$$EI@H%2+h>Qbhrknhv_S`;pGqp1{PTs3(r0vpM%x(8Bje#0sE{R5g^UL z;kW54(AopiI>s}{ zr3J`m;5~A}21w82o78p`NGJ1iZM_6Eu#um;GZaYg%mixQv^k0KG?Qrek?vg_AWPYR znB6%)H#aq}WU@Vrqzp@`eCkuU6t7ESNveW>nu1eiQAq|!!DKcj@yX6CqCzYQ>OtCY Oh0MXJ6`So@+!z7ix==p= diff --git a/src/translations/zh_CN.ts b/src/translations/zh_CN.ts index c137298..985ad8e 100644 --- a/src/translations/zh_CN.ts +++ b/src/translations/zh_CN.ts @@ -1,83 +1,70 @@ - + AbstractButtonSection - - + AbstractButton - - + Text - - + The text displayed on the button. - - + Display - - + Determines how the icon and text are displayed within the button. - - + Checkable - - + Whether the button is checkable. - - + Checked - - + Whether the button is checked. - - + Exclusive - - + Whether the button is exclusive. - - + Repeat - - + Whether the button repeats while pressed and held down. @@ -85,87 +72,177 @@ AccountFormDialog - + Account 用户名 - + User ID 用户ID - + + Input User ID + + + + Name 姓名 + Input User name + + + + Password 密码 - Change Password - 修改密码 + 修改密码 - - + + Input password + + + + + Logout 登出 + + + Change Role + + + + + Reset password to "123456" ? + + + + + Inner error, can't find reference user! + + + + + + Submit change to database fail! + + + + + Comment + + + + + + + User Name can't be empty! + + + + + User ID can't be empty! + + + + + Password can't be empty! + + + + + Inner error ,unset data model! + + + + + User Id exists! + + + + + Submit to data base fail! + + + + + AccountTableForm + + + Can't delete current log in account! + + + + + Delete account with ID:"%1"! + + AdminSettingForm - + General 通用 - + Account Manage 用户管理 - + System Setting 系统设置 - + System Information 系统信息 - + Operation Log 操作日志 - + About 关于 + + AlertDialog + + + Warning + + + BusyIndicatorSpecifics - - + BusyIndicator - - + Running - - + Whether the busy indicator is currently indicating activity. @@ -173,44 +250,37 @@ ButtonSection - - + Button - - + AutoRepeat - - + Whether the button repeats pressed(), released() and clicked() signals while the button is pressed and held down. - - + Flat - - + Whether the button is flat. - - + Highlighted - - + Whether the button is highlighted. @@ -266,8 +336,7 @@ CheckBoxSpecifics - - + CheckBox @@ -275,8 +344,7 @@ CheckDelegateSpecifics - - + CheckDelegate @@ -284,26 +352,22 @@ CheckSection - - + Check State - - + The current check state. - - + Tri-state - - + Whether the checkbox has three states. @@ -311,40 +375,31 @@ CircularGaugeSpecifics - - + CircularGauge - - - - + + Value - - - - + + Minimum Value - - - - + + Maximum Value - - - - + + Step Size @@ -352,68 +407,57 @@ ComboBoxSpecifics - - + ComboBox - - + Text Role - - + The model role used for displaying text. - - + Current - - + The index of the current item. - - + Editable - - + Whether the combo box is editable. - - + Flat - - + Whether the combo box button is flat. - - + DisplayText - - + Holds the text that is displayed on the combo box button. @@ -421,20 +465,17 @@ ContainerSection - - + Container - - + Current - - + The index of the current item. @@ -442,68 +483,57 @@ ControlSection - - + Control - - + Enabled - - + Whether the control is enabled. - - + Focus Policy - - + Focus policy of the control. - - + Hover - - + Whether control accepts hover evets. - - + Spacing - - + Spacing between internal elements of the control. - - + Wheel - - + Whether control accepts wheel evets. @@ -511,38 +541,32 @@ DefaultColorDialog - - + Hue - - + Saturation - - + Luminosity - - + Alpha - - + Cancel - + 取消 - - + OK @@ -550,8 +574,7 @@ DefaultDialogWrapper - - + Show Details... @@ -559,78 +582,66 @@ DefaultFileDialog - - + Go up to the folder containing this one - - + Remove favorite - - + Add the current directory as a favorite - - + Filename - - + Type file type (extension) - - + Size file size - - + Modified last-modified time - - + Accessed last-accessed time - - + Cancel - + 取消 - - + Choose - - + Open - - + Save @@ -638,138 +649,114 @@ DefaultFontDialog - - + Font - - - - + + Weight - - - - + + Size - - + Font Family - - + Thin - - + ExtraLight - - + Light - - + Normal - - + Medium - - + DemiBold - - + Bold - - + ExtraBold - - + Black - - + Style - - + Italic - - + Underline - - + Overline - - + Strikeout - - + Writing System - - + Sample - - + Cancel - + 取消 - - + OK @@ -777,122 +764,102 @@ DefaultMessageDialog - - + OK - - + Open - - + Save - - + Save All - - + Retry - - + Ignore - - + Apply - - + Yes - - + Yes to All - - + No - - + No to All - - + Discard - - + Reset - - + Restore Defaults - - + Cancel - + 取消 - - + Abort - - + Close - - + Show Details... - - + Help - - + Hide Details @@ -900,34 +867,26 @@ DelayButtonSpecifics - - - - + + DelayButton - - - - - - + + + Delay - - + The delay in milliseconds. - - - - + + Text @@ -935,114 +894,90 @@ DialSpecifics - - - - + + Dial - - - - - - + + + Value - - + The current value of the dial. - - + From - - + The starting value of the dial range. - - + To - - + The ending value of the dial range. - - - - - - + + + Step Size - - + The step size of the dial. - - + Snap Mode - - + The snap mode of the dial. - - + Live - - + Whether the dial provides live value updates. - - - - + + Minimum Value - - - - + + Maximum Value - - - - + + Tickmarks Visible @@ -1050,50 +985,42 @@ EditMenu_base - - + &Undo - - + &Redo - - + Cu&t - - + &Copy - - + &Paste - - + Delete - + 删除 - - + Clear - - + Select All @@ -1102,60 +1029,57 @@ EditPatientForm - - + Form - - + ID - - + Name 姓名 - - + Sex - - + Date Of Birth - - + Comment + + + Gender + + GUIMessageDialog - - + Dialog - - + ... @@ -1163,32 +1087,25 @@ GaugeSpecifics - - + Gauge - - - - + + Value - - - - + + Minimum Value - - - - + + Maximum Value @@ -1216,23 +1133,81 @@ 锁屏时间 + + GetIPDialog + + + IP Address + IP地址 + + + + Netmask + + + + + warn + + + + + Wrong IP! + + + + + Wrong Netmask! + + + + + GetRouteDialog + + + Destination + + + + + Netmask + + + + + Gateway + + + + + Wrong Destination! + + + + + Wrong Netmask! + + + + + Wrong Gateway! + + + GroupBoxSpecifics - - + GroupBox - - + Title - - + The title of the group box. @@ -1241,8 +1216,7 @@ InputObject - - + Form @@ -1250,20 +1224,17 @@ ItemDelegateSection - - + ItemDelegate - - + Highlighted - - + Whether the delegate is highlighted. @@ -1271,18 +1242,14 @@ LabelSpecifics - - - - + + Text Color - - - - + + Style Color @@ -1304,8 +1271,7 @@ MainWindow - - + MainWindow @@ -1313,56 +1279,47 @@ PaddingSection - - + Padding - - + Top - - + Padding between the content and the top edge of the control. - - + Left - - + Padding between the content and the left edge of the control. - - + Right - - + Padding between the content and the right edge of the control. - - + Bottom - - + Padding between the content and the bottom edge of the control. @@ -1370,32 +1327,27 @@ PageIndicatorSpecifics - - + PageIndicator - - + Count - - + The number of pages. - - + Current - - + The index of the current page. @@ -1403,44 +1355,37 @@ PageSpecifics - - + Page - - + Title - - + Title of the page. - - + Content Width - - + Content height used for calculating the total implicit width. - - + Content Height - - + Content height used for calculating the total implicit height. @@ -1448,32 +1393,27 @@ PaneSection - - + Pane - - + Content Width - - + Content height used for calculating the total implicit width. - - + Content Height - - + Content height used for calculating the total implicit height. @@ -1482,64 +1422,55 @@ PatientInformationForm - - + Form - - + Patient Information - - + <html><head/><body><p>PatientID:</p></body></html> - - + Someone Somebody - - + 2021/11/11 - - + Female - - + Acc# 27812398 - - + Current Protocol - - + LEFT ONLY @@ -1547,24 +1478,19 @@ PictureSpecifics - - + Picture - - - - + + Source - - - - + + Color @@ -1572,16 +1498,13 @@ PieMenuSpecifics - - + PieMenu - - - - + + Trigger Mode @@ -1589,56 +1512,47 @@ ProgressBarSpecifics - - + ProgressBar - - + Indeterminate - - + Whether the progress is indeterminate. - - + Value - - + The current value of the progress. - - + From - - + The starting value for the progress. - - + To - - + The ending value for the progress. @@ -1646,125 +1560,118 @@ RangeSliderSpecifics - - + RangeSlider - - + First Value - - + The value of the first range slider handle. - - + Second Value - - + The value of the second range slider handle. - - + From - - + The starting value of the range slider range. - - + To - - + The ending value of the range slider range. - - + Step Size - - + The step size of the range slider. - - + Snap Mode - - + The snap mode of the range slider. - - + Orientation - - + The orientation of the range slider. - - + Live - - + Whether the range slider provides live value updates. + + RollingMessageWidget + + + Message of warn! + + + + + Message2 of warn! + + + RoundButtonSpecifics - - + RoundButton - - + Radius - - + Radius of the button. @@ -1772,32 +1679,27 @@ ScrollViewSpecifics - - + ScrollView - - + Content Width - - + Content height used for calculating the total implicit width. - - + Content Height - - + Content height used for calculating the total implicit height. @@ -1805,92 +1707,77 @@ SliderSpecifics - - + Slider - - + Value - - + The current value of the slider. - - + From - - + The starting value of the slider range. - - + To - - + The ending value of the slider range. - - + Step Size - - + The step size of the slider. - - + Snap Mode - - + The snap mode of the slider. - - + Orientation - - + The orientation of the slider. - - + Live - - + Whether the slider provides live value updates. @@ -1898,68 +1785,57 @@ SpinBoxSpecifics - - + SpinBox - - + Value - - + The current value of the spinbox. - - + From - - + The starting value of the spinbox range. - - + To - - + The ending value of the spinbox range. - - + Step Size - - + The step size of the spinbox. - - + Editable - - + Whether the spinbox is editable. @@ -1967,24 +1843,19 @@ StatusIndicatorSpecifics - - + StatusIndicator - - - - + + Active - - - - + + Color @@ -1992,32 +1863,27 @@ SwipeViewSpecifics - - + SwipeView - - + Interactive - - + Whether the view is interactive. - - + Orientation - - + Orientation of the view. @@ -2025,44 +1891,37 @@ TabBarSpecifics - - + TabBar - - + Position - - + Position of the tabbar. - - + Content Width - - + Content height used for calculating the total implicit width. - - + Content Height - - + Content height used for calculating the total implicit height. @@ -2071,65 +1930,25 @@ TabFormWidget - - + Form - - - - - LOGO - - - - - - - TextLabel - - - - - - - <html><head/><body><p>Message from DAQ and device.</p></body></html> - - - - - 浙江衡玖医疗科技 - - - - - 浙江大学医学院附属第二医院 - - - - - °C - - TextAreaSpecifics - - + TextArea - - + Placeholder - - + Placeholder text displayed when the editor is empty. @@ -2137,20 +1956,17 @@ TextFieldSpecifics - - + TextField - - + Placeholder - - + Placeholder text displayed when the editor is empty. @@ -2158,24 +1974,19 @@ ToggleButtonSpecifics - - + ToggleButton - - - - + + Text - - - - + + Checked @@ -2183,20 +1994,17 @@ ToolBarSpecifics - - + ToolBar - - + Position - - + Position of the toolbar. @@ -2204,65 +2012,68 @@ ToolSeparatorSpecifics - - + ToolSeparator - - + Orientation - - + The orientation of the separator. + + TopBarWidget + + + 浙江衡玖医疗科技 + + + + + °C + + + TumblerSpecifics - - + Tumbler - - + Visible Count - - + The count of visible items. - - + Current - - + The index of the current item. - - + Wrap - - + Whether the tumbler wrap. @@ -2275,17 +2086,204 @@ + + networkCfgDialog + + + + Network Settings + 网络配置 + + + + + Address + IP配置 + + + + + IP Address + IP地址 + + + + + Dynamic Address + 动态地址 + + + + + Dev + 设备 + + + + + Subnet Mask + 子网掩码 + + + + + Additional Address + 额外地址 + + + + + + + Add + 新增 + + + + + + + Edit + 编辑 + + + + + + + Delete + 删除 + + + + + Routing + 路由配置 + + + + + Default IPv4 Gateway + 默认网关 + + + + + Routing Table + 路由表 + + + + + Result + 结果 + + systemSettingForm - - Default Protocal + + + Form - - Default Worklist Filter + + + Network Setting + 网络配置 + + + + + + + PushButton + + + + Protocal + 扫描协议 + + + + + Worklist Filter + Worklist过滤器 + + + + + Auto Verify + 自动验证 + + + + + Configure + 配置 + + + + + IP + + + + + + Name + 姓名 + + + + + AE + + + + + + PACS + + + + + + 3D Recon + + + + + + Worklist + + + + + + DAQ + + + + + + Port + + + + + + Cancel + 取消 + + + + + Accept + 接受 +