Revert "translation work"

This reverts commit 409ca3dd39.
This commit is contained in:
xueyan hu
2021-12-23 16:22:51 +08:00
parent 409ca3dd39
commit eb5f469db7
12 changed files with 334 additions and 403 deletions

1
.gitignore vendored
View File

@@ -11,4 +11,3 @@
/CMakeSettings.json
/src/translations/*.ts
*.ts
/src/translations/copy.bat

View File

@@ -67,7 +67,7 @@ AccountFormDialog::AccountFormDialog(QWidget* parent, AccountEditMode mode, Qt::
}
else {//edit mode
btn_Pwd = new QPushButton(this);
btn_Pwd->setText(m_mode == Self ? tr("Change Password") : tr("Reset Password"));
btn_Pwd->setText(tr(m_mode == Self ? "Change Password" : "Reset Password"));
layout->addWidget(btn_Pwd);
}
QLabel* lbl_endline3 = new QLabel(this);

View File

@@ -27,7 +27,7 @@ GUIFormBaseDialog::GUIFormBaseDialog(QWidget* parent, Qt::WindowFlags f) : QDial
btnCancel->setText(tr("Cancel"));
hLayout->addWidget(btnOk);
hLayout->addWidget(btnCancel);
btnOk->setObjectName("btnOK");
btnOk->setObjectName(tr("btnOK"));
connect(btnOk, &QPushButton::clicked, [t = this]() {
if (t->updateReferenceData())
t->accept();

View File

@@ -22,93 +22,93 @@
#include <cmath>
#endif
ScanFormWidget::ScanFormWidget(QWidget* parent) : TabFormWidget(parent) {
const char* style = "QWidget#PatientInformationForm{min-width:300px;max-width:300px; margin-right:10}"
ScanFormWidget::ScanFormWidget(QWidget *parent) : TabFormWidget(parent) {
const char* style="QWidget#PatientInformationForm{min-width:300px;max-width:300px; margin-right:10}"
"QWidget#patientinformation_panel{ border-right:1px solid #0078d8}"
"QWidget#patientinformation_panel QLabel{font-size:20px; }"
"QWidget#param_widget{min-width:300px;max-width:300px;border-left:1px solid #0078d8}"
"QWidget#broadcast_widget{border:2px solid #515151; border-radius: 20px; background-color:black}"
"QWidget#broadcast_widget QLabel{background-color:black}"
"QLabel#lbl_protocol{font-size:32px; margin:0; color:silver}"
// "QLabel#viewer{border:1px solid yellow}"
// "QLabel#viewer{border:1px solid yellow}"
"QLabel#lbl_title,QLabel#lbl_ptitle{font-size:20px;margin:0; border-bottom:1px solid silver}"
"QLabel#lbl_end{font-size:20px;margin:0; border-top:1px solid #0078d8}"
"QLabel#lbl_e{font-size:20px;}"
"";
this->setStyleSheet(this->styleSheet().append(style));
QHBoxLayout* layout = new QHBoxLayout();
QHBoxLayout* layout =new QHBoxLayout();
ui->commandWidget->setLayout(layout);
QLabel* lbl_Protocol = new QLabel(this);
lbl_Protocol->setText(tr("Protocol"));
lbl_Protocol->setText("Protocol");
lbl_Protocol->setAlignment(Qt::AlignTop);
lbl_Protocol->setObjectName("lbl_protocol");
layout->addWidget(lbl_Protocol);
QWidget* spacerLine = new QWidget(this);
QWidget* spacerLine= new QWidget(this);
spacerLine->setFixedWidth(2);
spacerLine->setObjectName("verSpaceLine");
layout->addWidget(spacerLine);
ADD_TOOL_BTN(Left, ":/icons/left.png");
ADD_TOOL_BTN(Right, ":/icons/right.png");
ADD_TOOL_BTN(Left,":/icons/left.png");
ADD_TOOL_BTN(Right,":/icons/right.png");
QButtonGroup* group = new QButtonGroup(this);
btnLeft->setCheckable(true);
btnLeft->setChecked(true);
btnRight->setCheckable(true);
group->addButton(btnRight, 1);
group->addButton(btnLeft, 0);
group->addButton(btnRight,1);
group->addButton(btnLeft,0);
layout->addSpacerItem(new QSpacerItem(20, 20, QSizePolicy::Expanding));
QWidget* spacerLine2 = new QWidget(this);
QWidget* spacerLine2= new QWidget(this);
spacerLine2->setFixedWidth(2);
spacerLine2->setObjectName("verSpaceLine");
layout->addWidget(spacerLine2);
ADD_TOOL_BTN(Refresh, ":/icons/scan_e.png");
ADD_TOOL_BTN(Preview, ":/icons/rec.png");
ADD_TOOL_BTN(Refresh,":/icons/scan_e.png");
ADD_TOOL_BTN(Preview,":/icons/rec.png");
ADD_TOOL_BTN(Stop, ":/icons/stop.png");
ADD_TOOL_BTN(Scan, ":/icons/scan.png");
ADD_TOOL_BTN(Stop,":/icons/stop.png");
ADD_TOOL_BTN(Scan,":/icons/scan.png");
QHBoxLayout* contentLayout = new QHBoxLayout();
QHBoxLayout* contentLayout =new QHBoxLayout();
this->ui->contentWidget->setLayout(contentLayout);
PatientInformationForm* patient_information = new PatientInformationForm(this);
PatientInformationForm* patient_information= new PatientInformationForm(this);
contentLayout->addWidget(patient_information);
QWidget* param_widget = new QWidget(this);
QWidget* param_widget= new QWidget(this);
QWidget* broadcast_widget = new QWidget(this);
broadcast_widget->setObjectName("broadcast_widget");
QLabel* viewer = new QLabel(broadcast_widget);
QLabel * viewer = new QLabel(broadcast_widget);
viewer->setObjectName("viewer");
viewer->setFixedSize(800, 800);
viewer->setFixedSize(800,800);
viewer->setText("");
QHBoxLayout* viewerLayout = new QHBoxLayout(viewer);
QHBoxLayout* viewerLayout =new QHBoxLayout(viewer);
broadcast_widget->setLayout(viewerLayout);
viewerLayout->addWidget(viewer);
contentLayout->addWidget(broadcast_widget);
param_widget->setObjectName("param_widget");
QVBoxLayout* paramLayout = new QVBoxLayout(param_widget);
QVBoxLayout* paramLayout =new QVBoxLayout(param_widget);
QLabel* lblPreview = new QLabel(this);
lblPreview->setText(tr("Preview Parameters"));
lblPreview->setText("Preview Parameters");
lblPreview->setObjectName("lbl_title");
paramLayout->addWidget(lblPreview);
QLabel* lbl_e = new QLabel(this);
lbl_e->setWordWrap(true);
lbl_e->setObjectName("lbl_e");
lbl_e->setText(tr("some settings\n\nparameters\n"));
lbl_e->setText("some settings\n\nparameters\n");
paramLayout->addWidget(lbl_e);
QLabel* lbl_end = new QLabel(this);
lbl_end->setObjectName("lbl_end");
paramLayout->addWidget(lbl_end);
QLabel* lblParams = new QLabel(this);
lblParams->setText(tr("Scan Parameters"));
lblParams->setText("Scan Parameters");
lblParams->setObjectName("lbl_title");
paramLayout->addWidget(lblParams);
QLabel* lbl_e2 = new QLabel(this);
lbl_e2->setWordWrap(true);
lbl_e2->setObjectName("lbl_e");
lbl_e2->setText(tr("some settings\n\nparameters\n"));
lbl_e2->setText("some settings\n\nparameters\n");
paramLayout->addWidget(lbl_e2);
QLabel* lbl_end2 = new QLabel(this);
lbl_end2->setObjectName("lbl_end");
paramLayout->addWidget(lbl_end2);
paramLayout->addSpacerItem(new QSpacerItem(20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding));
paramLayout->addSpacerItem(new QSpacerItem(20,20,QSizePolicy::Minimum,QSizePolicy::Expanding));
contentLayout->addWidget(param_widget);
pat_inf = patient_information;
@@ -119,8 +119,8 @@ ScanFormWidget::ScanFormWidget(QWidget* parent) : TabFormWidget(parent) {
//Events---------------------------------------------------------------
connect(EventCenter::Default(), &EventCenter::PatientSelected, [=](QObject* sender, QObject* data) {
if (unset)
connect(EventCenter::Default(),&EventCenter::PatientSelected,[=](QObject* sender,QObject* data){
if(unset)
{
btnScan->setEnabled(true);
btnRefresh->setEnabled(true);
@@ -130,10 +130,10 @@ ScanFormWidget::ScanFormWidget(QWidget* parent) : TabFormWidget(parent) {
}
patient_information->setPatientInformation((PatientInformation*)data);
});
connect(EventCenter::Default(), &EventCenter::ResponseStop, [=](QObject* sender, QObject* data) {
connect(EventCenter::Default(),&EventCenter::ResponseStop,[=](QObject* sender,QObject* data){
setPreviewing(false);
});
connect(EventCenter::Default(), &EventCenter::ResponsePreview, [=](QObject* sender, QObject* data) {
connect(EventCenter::Default(),&EventCenter::ResponsePreview,[=](QObject* sender,QObject* data){
setPreviewing(true);
static const size_t Row = 140;
static const size_t Col = 140;
@@ -141,13 +141,13 @@ ScanFormWidget::ScanFormWidget(QWidget* parent) : TabFormWidget(parent) {
static const float halfROIWidth = 100.0f;
uchar c_data[Row][Col];
uchar* data_ptr = c_data[0];
for (int i = 0; i < Row; i++) {
for(int i=0;i<Row;i++){
data_ptr = c_data[i];
memset(data_ptr, 0, Col);
memset(data_ptr,0,Col);
}
QImage img(c_data[0], Col, Row, QImage::Format_Grayscale8);
viewer->setFixedSize(800, 800);
QPixmap pic = QPixmap::fromImage(img).scaledToHeight(800, Qt::SmoothTransformation);
QImage img(c_data[0] , Col, Row, QImage::Format_Grayscale8);
viewer->setFixedSize(800,800);
QPixmap pic = QPixmap::fromImage(img).scaledToHeight(800,Qt::SmoothTransformation);
QPainter painter(&pic);
QPen pen;
pen.setStyle(Qt::DashLine);
@@ -156,13 +156,13 @@ ScanFormWidget::ScanFormWidget(QWidget* parent) : TabFormWidget(parent) {
font.setPixelSize(26);
font.setBold(true);
painter.setFont(font);
pen.setColor(QColor(255, 255, 0));
pen.setColor(QColor(255,255,0));
painter.setPen(pen);
painter.drawText(400 - 13 * 5, 400 + 13, "Loading...");
painter.drawText(400-13*5,400+13,"Loading...");
viewer->setPixmap(pic);
});
connect(EventCenter::Default(), &EventCenter::ResponsePreviewData, [=](QObject* sender, QObject* data) {
connect(EventCenter::Default(),&EventCenter::ResponsePreviewData,[=](QObject* sender,QObject* data){
if (!data)return;
static const size_t Row = 140;
static const size_t Col = 140;
@@ -172,19 +172,19 @@ ScanFormWidget::ScanFormWidget(QWidget* parent) : TabFormWidget(parent) {
uchar* raw_dataptr = (uchar*)array->data();
uchar c_data[Row][Col];
uchar* data_ptr = c_data[0];
for (int i = 0; i < Row; i++) {
for(int i=0;i<Row;i++){
data_ptr = c_data[i];
memcpy(data_ptr, raw_dataptr, Col);
memcpy(data_ptr,raw_dataptr,Col);
raw_dataptr += Col;
}
raw_dataptr = (uchar*)array->data();
QImage img(c_data[0], Col, Row, QImage::Format_Grayscale8);
viewer->setFixedSize(800, 800);
QPixmap pic = QPixmap::fromImage(img).scaledToHeight(800, Qt::SmoothTransformation);
QImage img(c_data[0] , Col, Row, QImage::Format_Grayscale8);
viewer->setFixedSize(800,800);
QPixmap pic = QPixmap::fromImage(img).scaledToHeight(800,Qt::SmoothTransformation);
QPainter painter(&pic);
QPen pen;
pen.setColor(QColor(255, 255, 0, 100));
pen.setColor(QColor(255,255,0,100));
pen.setStyle(Qt::DashLine);
pen.setWidth(3);
QFont font("Futura");
@@ -192,46 +192,46 @@ ScanFormWidget::ScanFormWidget(QWidget* parent) : TabFormWidget(parent) {
font.setBold(true);
painter.setFont(font);
painter.setPen(pen);
static int borderSpacing = round(((pixelSpacing * (Row * 0.5f) - halfROIWidth) * (800.0f / (1.5f * 140.0f))));
painter.drawLine(borderSpacing, borderSpacing, borderSpacing, 800 - borderSpacing);
painter.drawLine(borderSpacing + 1, borderSpacing, 800 - borderSpacing, borderSpacing);
painter.drawLine(borderSpacing + 1, 800 - borderSpacing, 800 - borderSpacing, 800 - borderSpacing);
painter.drawLine(800 - borderSpacing, borderSpacing + 1, 800 - borderSpacing, 800 - borderSpacing - 1);
pen.setColor(QColor(255, 255, 0));
static int borderSpacing = round(((pixelSpacing*(Row*0.5f)-halfROIWidth)*(800.0f/(1.5f*140.0f))));
painter.drawLine(borderSpacing,borderSpacing,borderSpacing,800-borderSpacing);
painter.drawLine(borderSpacing+1,borderSpacing,800-borderSpacing,borderSpacing);
painter.drawLine(borderSpacing+1,800-borderSpacing,800-borderSpacing,800-borderSpacing);
painter.drawLine(800-borderSpacing,borderSpacing+1,800-borderSpacing,800-borderSpacing-1);
pen.setColor(QColor(255,255,0));
painter.setPen(pen);
// painter.drawText(335,40,"Previewing");
painter.drawText(borderSpacing + 13, 400 + 13, "L");
painter.drawText(800 - borderSpacing - 30, 400 + 13, "R");
painter.drawText(400 - 13, borderSpacing + 30, "H");
painter.drawText(400 - 13, 800 - borderSpacing - 13, "F");
painter.drawText(borderSpacing + 6, borderSpacing + 30, "ROI");
// painter.drawText(335,40,"Previewing");
painter.drawText(borderSpacing+13,400+13,"L");
painter.drawText(800-borderSpacing-30,400+13,"R");
painter.drawText(400-13,borderSpacing+30,"H");
painter.drawText(400-13,800-borderSpacing-13,"F");
painter.drawText(borderSpacing+6,borderSpacing+30,"ROI");
viewer->setPixmap(pic);
});
connect(EventCenter::Default(), &EventCenter::PatientSelected, [=](QObject* sender, QObject* data) {
connect(EventCenter::Default(),&EventCenter::PatientSelected,[=](QObject* sender,QObject* data){
patient_information->setPatientInformation((PatientInformation*)data);
});
connect(btnRefresh, &QToolButton::clicked, [=]() {
connect(btnRefresh,&QToolButton::clicked,[=](){
QString patientInf(patient_information->getCurrentPatientJsonString(false));
LOG_USER_OPERATION(StartRefresh);
EventCenter::Default()->triggerEvent(GUIEvents::RequestEmptyScan, nullptr, (QObject*)(&patientInf));
});
connect(btnPreview, &QToolButton::clicked, [=]() {
connect(btnPreview,&QToolButton::clicked,[=](){
LOG_USER_OPERATION(StartPreview);
EventCenter::Default()->triggerEvent(GUIEvents::RequestPreviewScan, nullptr, nullptr);
});
connect(btnScan, &QToolButton::clicked, [=]() {
connect(btnScan,&QToolButton::clicked,[=](){
QString patientInf(patient_information->getCurrentPatientJsonString(false));
LOG_USER_OPERATION(StartScan);
EventCenter::Default()->triggerEvent(GUIEvents::RequestPatientScan, nullptr, (QObject*)(&patientInf));
});
connect(btnStop, &QToolButton::clicked, [=]() {
connect(btnStop,&QToolButton::clicked,[=](){
LOG_USER_OPERATION(Stop);
EventCenter::Default()->triggerEvent(GUIEvents::RequestStop, nullptr, nullptr);
});
connect(group, SIGNAL(buttonClicked(int)), this, SLOT(protocolChanged(int)));
connect(group, SIGNAL(buttonClicked(int)),this,SLOT(protocolChanged(int)));
previewfunc = [=](bool val)->void {
previewfunc = [=](bool val)->void{
viewer->setVisible(val);
btnPreview->setCheckable(val);
btnPreview->setChecked(val);
@@ -246,12 +246,12 @@ ScanFormWidget::~ScanFormWidget() {
}
void ScanFormWidget::protocolChanged(int type) {
printf("%d\r\n", type);
printf("%d\r\n",type);
pat_inf->setProtocol(type);
}
void ScanFormWidget::setPreviewing(bool val) {
if (previewfunc) previewfunc(val);
if(previewfunc) previewfunc(val);
}

View File

@@ -62,7 +62,7 @@
<item>
<widget class="QLabel" name="lbl_Sex">
<property name="text">
<string>Gender</string>
<string>Sex</string>
</property>
</widget>
</item>

View File

@@ -12,7 +12,7 @@ GetAdminPsw::GetAdminPsw(QWidget* parent, Qt::WindowFlags f) : GUIFormBaseDialog
setWindowModality(Qt::WindowModal);
QFormLayout* form = new QFormLayout(formWidget);
QString value1 = QString(tr("Admin Password"));
QString value1 = QString("Admin Password");
_psw = new QLineEdit(this);
_psw->setEchoMode(QLineEdit::Password);
form->addRow(value1, _psw);

View File

@@ -6,11 +6,11 @@ PatientInformationForm::PatientInformationForm(QWidget *parent) :
ui(new Ui::PatientInformationForm)
{
ui->setupUi(this);
//ui->lbl_ID->setText("");
//ui->lbl_Date->setText("");
//ui->lbl_Name->setText("");
//ui->lbl_Sex->setText("");
//ui->lbl_Acc->setText("");
ui->lbl_ID->setText("");
ui->lbl_Date->setText("");
ui->lbl_Name->setText("");
ui->lbl_Sex->setText("");
ui->lbl_Acc->setText("");
}
PatientInformationForm::~PatientInformationForm()
@@ -33,11 +33,11 @@ void PatientInformationForm::setProtocol(int type) {
switch(type)
{
case 0:
ui->lbl_Protocol->setText(tr("LEFT ONLY"));
ui->lbl_Protocol->setText("LEFT ONLY");
break;
case 1:
default:
ui->lbl_Protocol->setText(tr("RIGHT ONLY"));
ui->lbl_Protocol->setText("RIGHT ONLY");
break;
}
}

View File

@@ -191,3 +191,11 @@ void systemSettingForm::saveServersInfo()
//qIfConfig(lhost);
}
void systemSettingForm::changeEvent(QEvent* event)
{
if (event->type() == QEvent::LanguageChange)
{
ui->retranslateUi(this);
}
}

View File

@@ -9,7 +9,7 @@ class QLineEdit;
class ImageSwitch;
namespace Ui {
class systemSettingForm;
class systemSettingForm;
}
class systemSettingForm : public QWidget
@@ -17,11 +17,14 @@ class systemSettingForm : public QWidget
Q_OBJECT
public:
explicit systemSettingForm(QWidget* parent = nullptr);
explicit systemSettingForm(QWidget *parent = nullptr);
~systemSettingForm();
protected:
void changeEvent(QEvent* event);
private:
Ui::systemSettingForm* ui;
Ui::systemSettingForm *ui;
SelectDialog* sd_protocal = nullptr;
SelectDialog* sd_filter = nullptr;

View File

@@ -83,14 +83,6 @@
<source>Submit to data base fail!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Change Password</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Reset Password</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>AccountTableForm</name>
@@ -190,6 +182,10 @@
<source>Name</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sex</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Date Of Birth</source>
<translation type="unfinished"></translation>
@@ -213,6 +209,10 @@
<source>Cancel</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>btnOK</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>GUIMessageDialog</name>
@@ -244,13 +244,6 @@
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>GetAdminPsw</name>
<message>
<source>Admin Password</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>GetIPDialog</name>
<message>
@@ -384,10 +377,6 @@
<source>LEFT ONLY</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>RIGHT ONLY</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>RollingMessageWidget</name>
@@ -400,28 +389,6 @@
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ScanFormWidget</name>
<message>
<source>Preview Parameters</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>some settings
parameters
</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Scan Parameters</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Protocol</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>TabFormWidget</name>
<message>

Binary file not shown.

View File

@@ -16,7 +16,7 @@
<message>
<location filename="../AccountFormDialog.cpp" line="36"/>
<source>Input User ID</source>
<translation>ID</translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AccountFormDialog.cpp" line="46"/>
@@ -26,7 +26,7 @@
<message>
<location filename="../AccountFormDialog.cpp" line="48"/>
<source>Input User name</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AccountFormDialog.cpp" line="57"/>
@@ -34,27 +34,13 @@
<translation></translation>
</message>
<message>
<location filename="../AccountFormDialog.cpp" line="70"/>
<source>Change Password</source>
<translation></translation>
<translation type="vanished"></translation>
</message>
<message>
<location filename="../AccountFormDialog.cpp" line="64"/>
<source>Input password</source>
<translation></translation>
</message>
<message>
<source>Change Password2</source>
<translation type="vanished"></translation>
</message>
<message>
<source>Reset Password2</source>
<translation type="vanished"></translation>
</message>
<message>
<location filename="../AccountFormDialog.cpp" line="70"/>
<source>Reset Password</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AccountFormDialog.cpp" line="81"/>
@@ -65,65 +51,65 @@
<message>
<location filename="../AccountFormDialog.cpp" line="112"/>
<source>Change Role</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AccountFormDialog.cpp" line="121"/>
<source>doctor</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AccountFormDialog.cpp" line="129"/>
<source>Reset password to &quot;123456&quot; ?</source>
<translation>&quot;123456&quot;?</translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AccountFormDialog.cpp" line="135"/>
<source>Inner error, can&apos;t find reference user!</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AccountFormDialog.cpp" line="141"/>
<location filename="../AccountFormDialog.cpp" line="211"/>
<source>Submit change to database fail!</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AccountFormDialog.cpp" line="169"/>
<source>Comment</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AccountFormDialog.cpp" line="199"/>
<location filename="../AccountFormDialog.cpp" line="221"/>
<location filename="../AccountFormDialog.cpp" line="242"/>
<source>User Name can&apos;t be empty!</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AccountFormDialog.cpp" line="238"/>
<source>User ID can&apos;t be empty!</source>
<translation>ID不能为空</translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AccountFormDialog.cpp" line="246"/>
<source>Password can&apos;t be empty!</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AccountFormDialog.cpp" line="250"/>
<source>Inner error ,unset data model!</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AccountFormDialog.cpp" line="254"/>
<source>User Id exists!</source>
<translation>ID已存在</translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AccountFormDialog.cpp" line="290"/>
<source>Submit to data base fail!</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
</context>
<context>
@@ -131,12 +117,12 @@
<message>
<location filename="../AccountTableForm.cpp" line="108"/>
<source>Can&apos;t delete current log in account!</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../AccountTableForm.cpp" line="115"/>
<source>Delete account with ID:&quot;%1&quot;!</source>
<translation>ID:&quot;%1&quot;!</translation>
<translation type="unfinished"></translation>
</message>
</context>
<context>
@@ -185,7 +171,7 @@
<message>
<location filename="../AlertDialog.cpp" line="17"/>
<source>Warning</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
</context>
<context>
@@ -193,47 +179,47 @@
<message>
<location filename="../ChangePasswordFormDialog.cpp" line="18"/>
<source>Change Password</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ChangePasswordFormDialog.cpp" line="24"/>
<source>Current Password</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ChangePasswordFormDialog.cpp" line="35"/>
<source>New Password</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ChangePasswordFormDialog.cpp" line="46"/>
<source>Confirm Password</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ChangePasswordFormDialog.cpp" line="67"/>
<source>Please enter your old password!</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ChangePasswordFormDialog.cpp" line="71"/>
<source>New password should at least 6 characters!</source>
<translation>6</translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ChangePasswordFormDialog.cpp" line="77"/>
<source>Wrong password!</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ChangePasswordFormDialog.cpp" line="82"/>
<source>Your new password does not match!</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ChangePasswordFormDialog.cpp" line="87"/>
<source>Database update error!</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
</context>
<context>
@@ -241,33 +227,37 @@
<message>
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="134"/>
<source>Form</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="135"/>
<source>ID</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="136"/>
<source>Name</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="137"/>
<source>Sex</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="138"/>
<source>Date Of Birth</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="139"/>
<source>Comment</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="137"/>
<location filename="../editpatientform.cpp" line="14"/>
<source>Gender</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
</context>
<context>
@@ -275,12 +265,17 @@
<message>
<location filename="../GUIFormBaseDialog.cpp" line="25"/>
<source>OK</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../GUIFormBaseDialog.cpp" line="27"/>
<source>Cancel</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../GUIFormBaseDialog.cpp" line="30"/>
<source>btnOK</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
@@ -288,12 +283,12 @@
<message>
<location filename="../../out/build/x64-Debug/ui_guimessagedialog.h" line="106"/>
<source>Dialog</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_guimessagedialog.h" line="109"/>
<source>...</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
</context>
<context>
@@ -323,14 +318,6 @@
<translation></translation>
</message>
</context>
<context>
<name>GetAdminPsw</name>
<message>
<location filename="../network/getadminpsw.cpp" line="15"/>
<source>Admin Password</source>
<translation></translation>
</message>
</context>
<context>
<name>GetIPDialog</name>
<message>
@@ -359,32 +346,32 @@
<message>
<location filename="../network/getroutedialog.cpp" line="15"/>
<source>Destination</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../network/getroutedialog.cpp" line="18"/>
<source>Netmask</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../network/getroutedialog.cpp" line="21"/>
<source>Gateway</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../network/getroutedialog.cpp" line="52"/>
<source>Wrong Destination!</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../network/getroutedialog.cpp" line="56"/>
<source>Wrong Netmask!</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../network/getroutedialog.cpp" line="60"/>
<source>Wrong Gateway!</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
</context>
<context>
@@ -392,7 +379,7 @@
<message>
<location filename="../../out/build/x64-Debug/ui_inputobject.h" line="113"/>
<source>Form</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
</context>
<context>
@@ -400,7 +387,7 @@
<message>
<location filename="../loginwindow.cpp" line="29"/>
<source>usct</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../loginwindow.cpp" line="69"/>
@@ -427,31 +414,31 @@
<message>
<location filename="../../out/build/x64-Debug/ui_mainwindow.h" line="40"/>
<source>MainWindow</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="142"/>
<location filename="../mainwindow.cpp" line="266"/>
<source>Select</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="144"/>
<location filename="../mainwindow.cpp" line="267"/>
<source>Scan</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="146"/>
<location filename="../mainwindow.cpp" line="268"/>
<source>Verify</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="229"/>
<location filename="../mainwindow.cpp" line="269"/>
<source>Admin</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
</context>
<context>
@@ -459,53 +446,47 @@
<message>
<location filename="../../out/build/x64-Debug/ui_patientinformationform.h" line="118"/>
<source>Form</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_patientinformationform.h" line="119"/>
<source>Patient Information</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_patientinformationform.h" line="120"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;PatientID:&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;ID:&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_patientinformationform.h" line="121"/>
<source>Someone Somebody</source>
<translation>XXX</translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_patientinformationform.h" line="122"/>
<source>2021/11/11</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_patientinformationform.h" line="123"/>
<source>Female</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_patientinformationform.h" line="124"/>
<source>Acc# 27812398</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_patientinformationform.h" line="127"/>
<source>Current Protocol</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_patientinformationform.h" line="128"/>
<location filename="../patientinformationform.cpp" line="36"/>
<source>LEFT ONLY</source>
<translation></translation>
</message>
<message>
<location filename="../patientinformationform.cpp" line="40"/>
<source>RIGHT ONLY</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
</context>
<context>
@@ -513,39 +494,12 @@
<message>
<location filename="../components/RollingMessageWidget.cpp" line="23"/>
<source>Message of warn!</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../components/RollingMessageWidget.cpp" line="28"/>
<source>Message2 of warn!</source>
<translation></translation>
</message>
</context>
<context>
<name>ScanFormWidget</name>
<message>
<location filename="../ScanFormWidget.cpp" line="43"/>
<source>Protocol</source>
<translation></translation>
</message>
<message>
<location filename="../ScanFormWidget.cpp" line="88"/>
<source>Preview Parameters</source>
<translation></translation>
</message>
<message>
<location filename="../ScanFormWidget.cpp" line="94"/>
<location filename="../ScanFormWidget.cpp" line="106"/>
<source>some settings
parameters
</source>
<translation>XXX</translation>
</message>
<message>
<location filename="../ScanFormWidget.cpp" line="100"/>
<source>Scan Parameters</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
</context>
<context>
@@ -553,7 +507,7 @@ parameters
<message>
<location filename="../../out/build/x64-Debug/ui_tabformwidget.h" line="54"/>
<source>Form</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
</context>
<context>
@@ -561,12 +515,12 @@ parameters
<message>
<location filename="../TopBarWidget.cpp" line="24"/>
<source></source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../TopBarWidget.cpp" line="76"/>
<source>°C</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
</context>
<context>
@@ -657,17 +611,17 @@ parameters
<location filename="../network/networkcfgdialog.cpp" line="33"/>
<location filename="../network/networkcfgdialog.cpp" line="36"/>
<source>Netmask</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../network/networkcfgdialog.cpp" line="36"/>
<source>Destination</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../network/networkcfgdialog.cpp" line="36"/>
<source>Gateway</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../network/networkcfgdialog.cpp" line="39"/>
@@ -685,7 +639,7 @@ parameters
<message>
<location filename="../../out/build/x64-Debug/ui_systemsettingform.h" line="323"/>
<source>Form</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_systemsettingform.h" line="324"/>
@@ -696,7 +650,7 @@ parameters
<location filename="../../out/build/x64-Debug/ui_systemsettingform.h" line="325"/>
<location filename="../../out/build/x64-Debug/ui_systemsettingform.h" line="327"/>
<source>PushButton</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_systemsettingform.h" line="326"/>
@@ -721,42 +675,42 @@ parameters
<message>
<location filename="../../out/build/x64-Debug/ui_systemsettingform.h" line="331"/>
<source>IP</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_systemsettingform.h" line="332"/>
<source>Name</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_systemsettingform.h" line="333"/>
<source>AE</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_systemsettingform.h" line="334"/>
<source>PACS</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_systemsettingform.h" line="335"/>
<source>3D Recon</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_systemsettingform.h" line="336"/>
<source>Worklist</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_systemsettingform.h" line="337"/>
<source>DAQ</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_systemsettingform.h" line="338"/>
<source>Port</source>
<translation></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_systemsettingform.h" line="339"/>