bug fixes

This commit is contained in:
xueyan hu
2021-12-24 13:31:06 +08:00
parent 818f2e676d
commit 160d9a13cf
3 changed files with 283 additions and 260 deletions

View File

@@ -22,21 +22,21 @@
#include <cmath> #include <cmath>
#endif #endif
ScanFormWidget::ScanFormWidget(QWidget *parent) : TabFormWidget(parent) { ScanFormWidget::ScanFormWidget(QWidget* parent) : TabFormWidget(parent) {
const char* style="QWidget#PatientInformationForm{min-width:300px;max-width:300px; margin-right:10}" 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{ border-right:1px solid #0078d8}"
"QWidget#patientinformation_panel QLabel{font-size:20px; }" "QWidget#patientinformation_panel QLabel{font-size:20px; }"
"QWidget#param_widget{min-width:300px;max-width:300px;border-left:1px solid #0078d8}" "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{border:2px solid #515151; border-radius: 20px; background-color:black}"
"QWidget#broadcast_widget QLabel{background-color:black}" "QWidget#broadcast_widget QLabel{background-color:black}"
"QLabel#lbl_protocol{font-size:32px; margin:0; color:silver}" "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_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_end{font-size:20px;margin:0; border-top:1px solid #0078d8}"
"QLabel#lbl_e{font-size:20px;}" "QLabel#lbl_e{font-size:20px;}"
""; "";
this->setStyleSheet(this->styleSheet().append(style)); this->setStyleSheet(this->styleSheet().append(style));
QHBoxLayout* layout =new QHBoxLayout(); QHBoxLayout* layout = new QHBoxLayout();
ui->commandWidget->setLayout(layout); ui->commandWidget->setLayout(layout);
QLabel* lbl_Protocol = new QLabel(this); QLabel* lbl_Protocol = new QLabel(this);
@@ -50,6 +50,9 @@ ScanFormWidget::ScanFormWidget(QWidget *parent) : TabFormWidget(parent) {
layout->addWidget(spacerLine); layout->addWidget(spacerLine);
ADD_TOOL_BTN(Left, ":/icons/left.png"); ADD_TOOL_BTN(Left, ":/icons/left.png");
ADD_TOOL_BTN(Right, ":/icons/right.png"); ADD_TOOL_BTN(Right, ":/icons/right.png");
btnLeft->setText(tr("LEFT"));
btnRight->setText(tr("RIGHT"));
QButtonGroup* group = new QButtonGroup(this); QButtonGroup* group = new QButtonGroup(this);
btnLeft->setCheckable(true); btnLeft->setCheckable(true);
btnLeft->setChecked(true); btnLeft->setChecked(true);
@@ -64,31 +67,31 @@ ScanFormWidget::ScanFormWidget(QWidget *parent) : TabFormWidget(parent) {
ADD_TOOL_BTN(Refresh, ":/icons/scan_e.png"); ADD_TOOL_BTN(Refresh, ":/icons/scan_e.png");
ADD_TOOL_BTN(Preview, ":/icons/rec.png"); ADD_TOOL_BTN(Preview, ":/icons/rec.png");
ADD_TOOL_BTN(Stop,":/icons/stop.png"); ADD_TOOL_BTN(Stop, ":/icons/stop.png");
ADD_TOOL_BTN(Scan,":/icons/scan.png"); ADD_TOOL_BTN(Scan, ":/icons/scan.png");
btnRefresh->setText(tr("Refresh")); btnRefresh->setText(tr("Refresh"));
btnPreview->setText(tr("Preview")); btnPreview->setText(tr("Preview"));
btnStop->setText(tr("Stop")); btnStop->setText(tr("Stop"));
btnScan->setText(tr("Scan")); btnScan->setText(tr("Scan"));
QHBoxLayout* contentLayout =new QHBoxLayout(); QHBoxLayout* contentLayout = new QHBoxLayout();
this->ui->contentWidget->setLayout(contentLayout); this->ui->contentWidget->setLayout(contentLayout);
PatientInformationForm* patient_information= new PatientInformationForm(this); PatientInformationForm* patient_information = new PatientInformationForm(this);
contentLayout->addWidget(patient_information); contentLayout->addWidget(patient_information);
QWidget* param_widget= new QWidget(this); QWidget* param_widget = new QWidget(this);
QWidget* broadcast_widget = new QWidget(this); QWidget* broadcast_widget = new QWidget(this);
broadcast_widget->setObjectName("broadcast_widget"); broadcast_widget->setObjectName("broadcast_widget");
QLabel * viewer = new QLabel(broadcast_widget); QLabel* viewer = new QLabel(broadcast_widget);
viewer->setObjectName("viewer"); viewer->setObjectName("viewer");
viewer->setFixedSize(800,800); viewer->setFixedSize(800, 800);
viewer->setText(""); viewer->setText("");
QHBoxLayout* viewerLayout =new QHBoxLayout(viewer); QHBoxLayout* viewerLayout = new QHBoxLayout(viewer);
broadcast_widget->setLayout(viewerLayout); broadcast_widget->setLayout(viewerLayout);
viewerLayout->addWidget(viewer); viewerLayout->addWidget(viewer);
contentLayout->addWidget(broadcast_widget); contentLayout->addWidget(broadcast_widget);
param_widget->setObjectName("param_widget"); param_widget->setObjectName("param_widget");
QVBoxLayout* paramLayout =new QVBoxLayout(param_widget); QVBoxLayout* paramLayout = new QVBoxLayout(param_widget);
QLabel* lblPreview = new QLabel(this); QLabel* lblPreview = new QLabel(this);
lblPreview->setText(tr("Preview Parameters")); lblPreview->setText(tr("Preview Parameters"));
lblPreview->setObjectName("lbl_title"); lblPreview->setObjectName("lbl_title");
@@ -113,7 +116,7 @@ ScanFormWidget::ScanFormWidget(QWidget *parent) : TabFormWidget(parent) {
QLabel* lbl_end2 = new QLabel(this); QLabel* lbl_end2 = new QLabel(this);
lbl_end2->setObjectName("lbl_end"); lbl_end2->setObjectName("lbl_end");
paramLayout->addWidget(lbl_end2); 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); contentLayout->addWidget(param_widget);
pat_inf = patient_information; pat_inf = patient_information;
@@ -124,8 +127,8 @@ ScanFormWidget::ScanFormWidget(QWidget *parent) : TabFormWidget(parent) {
//Events--------------------------------------------------------------- //Events---------------------------------------------------------------
connect(EventCenter::Default(),&EventCenter::PatientSelected,[=](QObject* sender,QObject* data){ connect(EventCenter::Default(), &EventCenter::PatientSelected, [=](QObject* sender, QObject* data) {
if(unset) if (unset)
{ {
btnScan->setEnabled(true); btnScan->setEnabled(true);
btnRefresh->setEnabled(true); btnRefresh->setEnabled(true);
@@ -135,10 +138,10 @@ ScanFormWidget::ScanFormWidget(QWidget *parent) : TabFormWidget(parent) {
} }
patient_information->setPatientInformation((PatientInformation*)data); 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); setPreviewing(false);
}); });
connect(EventCenter::Default(),&EventCenter::ResponsePreview,[=](QObject* sender,QObject* data){ connect(EventCenter::Default(), &EventCenter::ResponsePreview, [=](QObject* sender, QObject* data) {
setPreviewing(true); setPreviewing(true);
static const size_t Row = 140; static const size_t Row = 140;
static const size_t Col = 140; static const size_t Col = 140;
@@ -146,13 +149,13 @@ ScanFormWidget::ScanFormWidget(QWidget *parent) : TabFormWidget(parent) {
static const float halfROIWidth = 100.0f; static const float halfROIWidth = 100.0f;
uchar c_data[Row][Col]; uchar c_data[Row][Col];
uchar* data_ptr = c_data[0]; 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]; 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); QImage img(c_data[0], Col, Row, QImage::Format_Grayscale8);
viewer->setFixedSize(800,800); viewer->setFixedSize(800, 800);
QPixmap pic = QPixmap::fromImage(img).scaledToHeight(800,Qt::SmoothTransformation); QPixmap pic = QPixmap::fromImage(img).scaledToHeight(800, Qt::SmoothTransformation);
QPainter painter(&pic); QPainter painter(&pic);
QPen pen; QPen pen;
pen.setStyle(Qt::DashLine); pen.setStyle(Qt::DashLine);
@@ -161,13 +164,13 @@ ScanFormWidget::ScanFormWidget(QWidget *parent) : TabFormWidget(parent) {
font.setPixelSize(26); font.setPixelSize(26);
font.setBold(true); font.setBold(true);
painter.setFont(font); painter.setFont(font);
pen.setColor(QColor(255,255,0)); pen.setColor(QColor(255, 255, 0));
painter.setPen(pen); painter.setPen(pen);
painter.drawText(400-13*5,400+13,"Loading..."); painter.drawText(400 - 13 * 5, 400 + 13, "Loading...");
viewer->setPixmap(pic); viewer->setPixmap(pic);
}); });
connect(EventCenter::Default(),&EventCenter::ResponsePreviewData,[=](QObject* sender,QObject* data){ connect(EventCenter::Default(), &EventCenter::ResponsePreviewData, [=](QObject* sender, QObject* data) {
if (!data)return; if (!data)return;
static const size_t Row = 140; static const size_t Row = 140;
static const size_t Col = 140; static const size_t Col = 140;
@@ -177,19 +180,19 @@ ScanFormWidget::ScanFormWidget(QWidget *parent) : TabFormWidget(parent) {
uchar* raw_dataptr = (uchar*)array->data(); uchar* raw_dataptr = (uchar*)array->data();
uchar c_data[Row][Col]; uchar c_data[Row][Col];
uchar* data_ptr = c_data[0]; 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]; data_ptr = c_data[i];
memcpy(data_ptr,raw_dataptr,Col); memcpy(data_ptr, raw_dataptr, Col);
raw_dataptr += Col; raw_dataptr += Col;
} }
raw_dataptr = (uchar*)array->data(); raw_dataptr = (uchar*)array->data();
QImage img(c_data[0] , Col, Row, QImage::Format_Grayscale8); QImage img(c_data[0], Col, Row, QImage::Format_Grayscale8);
viewer->setFixedSize(800,800); viewer->setFixedSize(800, 800);
QPixmap pic = QPixmap::fromImage(img).scaledToHeight(800,Qt::SmoothTransformation); QPixmap pic = QPixmap::fromImage(img).scaledToHeight(800, Qt::SmoothTransformation);
QPainter painter(&pic); QPainter painter(&pic);
QPen pen; QPen pen;
pen.setColor(QColor(255,255,0,100)); pen.setColor(QColor(255, 255, 0, 100));
pen.setStyle(Qt::DashLine); pen.setStyle(Qt::DashLine);
pen.setWidth(3); pen.setWidth(3);
QFont font("Futura"); QFont font("Futura");
@@ -197,46 +200,46 @@ ScanFormWidget::ScanFormWidget(QWidget *parent) : TabFormWidget(parent) {
font.setBold(true); font.setBold(true);
painter.setFont(font); painter.setFont(font);
painter.setPen(pen); painter.setPen(pen);
static int borderSpacing = round(((pixelSpacing*(Row*0.5f)-halfROIWidth)*(800.0f/(1.5f*140.0f)))); 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, borderSpacing, borderSpacing, 800 - borderSpacing);
painter.drawLine(borderSpacing+1,borderSpacing,800-borderSpacing,borderSpacing); painter.drawLine(borderSpacing + 1, borderSpacing, 800 - borderSpacing, borderSpacing);
painter.drawLine(borderSpacing+1,800-borderSpacing,800-borderSpacing,800-borderSpacing); painter.drawLine(borderSpacing + 1, 800 - borderSpacing, 800 - borderSpacing, 800 - borderSpacing);
painter.drawLine(800-borderSpacing,borderSpacing+1,800-borderSpacing,800-borderSpacing-1); painter.drawLine(800 - borderSpacing, borderSpacing + 1, 800 - borderSpacing, 800 - borderSpacing - 1);
pen.setColor(QColor(255,255,0)); pen.setColor(QColor(255, 255, 0));
painter.setPen(pen); painter.setPen(pen);
// painter.drawText(335,40,"Previewing"); // painter.drawText(335,40,"Previewing");
painter.drawText(borderSpacing+13,400+13,"L"); painter.drawText(borderSpacing + 13, 400 + 13, "L");
painter.drawText(800-borderSpacing-30,400+13,"R"); painter.drawText(800 - borderSpacing - 30, 400 + 13, "R");
painter.drawText(400-13,borderSpacing+30,"H"); painter.drawText(400 - 13, borderSpacing + 30, "H");
painter.drawText(400-13,800-borderSpacing-13,"F"); painter.drawText(400 - 13, 800 - borderSpacing - 13, "F");
painter.drawText(borderSpacing+6,borderSpacing+30,"ROI"); painter.drawText(borderSpacing + 6, borderSpacing + 30, "ROI");
viewer->setPixmap(pic); 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); patient_information->setPatientInformation((PatientInformation*)data);
}); });
connect(btnRefresh,&QToolButton::clicked,[=](){ connect(btnRefresh, &QToolButton::clicked, [=]() {
QString patientInf(patient_information->getCurrentPatientJsonString(false)); QString patientInf(patient_information->getCurrentPatientJsonString(false));
LOG_USER_OPERATION(StartRefresh); LOG_USER_OPERATION(StartRefresh);
EventCenter::Default()->triggerEvent(GUIEvents::RequestEmptyScan, nullptr, (QObject*)(&patientInf)); EventCenter::Default()->triggerEvent(GUIEvents::RequestEmptyScan, nullptr, (QObject*)(&patientInf));
}); });
connect(btnPreview,&QToolButton::clicked,[=](){ connect(btnPreview, &QToolButton::clicked, [=]() {
LOG_USER_OPERATION(StartPreview); LOG_USER_OPERATION(StartPreview);
EventCenter::Default()->triggerEvent(GUIEvents::RequestPreviewScan, nullptr, nullptr); EventCenter::Default()->triggerEvent(GUIEvents::RequestPreviewScan, nullptr, nullptr);
}); });
connect(btnScan,&QToolButton::clicked,[=](){ connect(btnScan, &QToolButton::clicked, [=]() {
QString patientInf(patient_information->getCurrentPatientJsonString(false)); QString patientInf(patient_information->getCurrentPatientJsonString(false));
LOG_USER_OPERATION(StartScan); LOG_USER_OPERATION(StartScan);
EventCenter::Default()->triggerEvent(GUIEvents::RequestPatientScan, nullptr, (QObject*)(&patientInf)); EventCenter::Default()->triggerEvent(GUIEvents::RequestPatientScan, nullptr, (QObject*)(&patientInf));
}); });
connect(btnStop,&QToolButton::clicked,[=](){ connect(btnStop, &QToolButton::clicked, [=]() {
LOG_USER_OPERATION(Stop); LOG_USER_OPERATION(Stop);
EventCenter::Default()->triggerEvent(GUIEvents::RequestStop, nullptr, nullptr); 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); viewer->setVisible(val);
btnPreview->setCheckable(val); btnPreview->setCheckable(val);
btnPreview->setChecked(val); btnPreview->setChecked(val);
@@ -251,12 +254,12 @@ ScanFormWidget::~ScanFormWidget() {
} }
void ScanFormWidget::protocolChanged(int type) { void ScanFormWidget::protocolChanged(int type) {
printf("%d\r\n",type); printf("%d\r\n", type);
pat_inf->setProtocol(type); pat_inf->setProtocol(type);
} }
void ScanFormWidget::setPreviewing(bool val) { void ScanFormWidget::setPreviewing(bool val) {
if(previewfunc) previewfunc(val); if (previewfunc) previewfunc(val);
} }

View File

@@ -260,7 +260,7 @@
<message> <message>
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="135"/> <location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="135"/>
<source>ID</source> <source>ID</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="136"/> <location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="136"/>
@@ -566,33 +566,43 @@
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../ScanFormWidget.cpp" line="70"/> <location filename="../ScanFormWidget.cpp" line="53"/>
<source>Refresh</source> <source>LEFT</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../ScanFormWidget.cpp" line="71"/> <location filename="../ScanFormWidget.cpp" line="54"/>
<source>RIGHT</source>
<translation></translation>
</message>
<message>
<location filename="../ScanFormWidget.cpp" line="73"/>
<source>Refresh</source>
<translation></translation>
</message>
<message>
<location filename="../ScanFormWidget.cpp" line="74"/>
<source>Preview</source> <source>Preview</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../ScanFormWidget.cpp" line="72"/> <location filename="../ScanFormWidget.cpp" line="75"/>
<source>Stop</source> <source>Stop</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../ScanFormWidget.cpp" line="73"/> <location filename="../ScanFormWidget.cpp" line="76"/>
<source>Scan</source> <source>Scan</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../ScanFormWidget.cpp" line="93"/> <location filename="../ScanFormWidget.cpp" line="96"/>
<source>Preview Parameters</source> <source>Preview Parameters</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../ScanFormWidget.cpp" line="99"/> <location filename="../ScanFormWidget.cpp" line="102"/>
<location filename="../ScanFormWidget.cpp" line="111"/> <location filename="../ScanFormWidget.cpp" line="114"/>
<source>some settings <source>some settings
parameters parameters
@@ -600,7 +610,7 @@ parameters
<translation>XXX</translation> <translation>XXX</translation>
</message> </message>
<message> <message>
<location filename="../ScanFormWidget.cpp" line="105"/> <location filename="../ScanFormWidget.cpp" line="108"/>
<source>Scan Parameters</source> <source>Scan Parameters</source>
<translation></translation> <translation></translation>
</message> </message>
@@ -670,102 +680,102 @@ parameters
<context> <context>
<name>networkCfgDialog</name> <name>networkCfgDialog</name>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="345"/> <location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="366"/>
<source>Network Settings</source> <source>Network Settings</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="355"/> <location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="376"/>
<source>Address</source> <source>Address</source>
<translation>IP配置</translation> <translation>IP配置</translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="346"/> <location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="367"/>
<location filename="../network/networkcfgdialog.cpp" line="33"/> <location filename="../network/networkcfgdialog.cpp" line="31"/>
<source>IP Address</source> <source>IP Address</source>
<translation>IP地址</translation> <translation>IP地址</translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="347"/> <location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="368"/>
<source>Dynamic Address</source> <source>Dynamic Address</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="348"/> <location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="369"/>
<source>Dev</source> <source>Dev</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="350"/> <location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="371"/>
<source>Subnet Mask</source> <source>Subnet Mask</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="351"/> <location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="372"/>
<source>Additional Address</source> <source>Additional Address</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="352"/> <location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="373"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="359"/> <location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="380"/>
<source>Add</source> <source>Add</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="353"/> <location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="374"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="360"/> <location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="381"/>
<source>Edit</source> <source>Edit</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="354"/> <location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="375"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="361"/> <location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="382"/>
<source>Delete</source> <source>Delete</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="362"/> <location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="383"/>
<source>Routing</source> <source>Routing</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="357"/> <location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="378"/>
<source>Default IPv4 Gateway</source> <source>Default IPv4 Gateway</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="358"/> <location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="379"/>
<source>Routing Table</source> <source>Routing Table</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="363"/> <location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="384"/>
<source>Result</source> <source>Result</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../network/networkcfgdialog.cpp" line="33"/> <location filename="../network/networkcfgdialog.cpp" line="31"/>
<location filename="../network/networkcfgdialog.cpp" line="36"/> <location filename="../network/networkcfgdialog.cpp" line="34"/>
<source>Netmask</source> <source>Netmask</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../network/networkcfgdialog.cpp" line="36"/> <location filename="../network/networkcfgdialog.cpp" line="34"/>
<source>Destination</source> <source>Destination</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../network/networkcfgdialog.cpp" line="36"/> <location filename="../network/networkcfgdialog.cpp" line="34"/>
<source>Gateway</source> <source>Gateway</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../network/networkcfgdialog.cpp" line="39"/> <location filename="../network/networkcfgdialog.cpp" line="37"/>
<source>Apply</source> <source>Apply</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../network/networkcfgdialog.cpp" line="40"/> <location filename="../network/networkcfgdialog.cpp" line="38"/>
<source>Cancel</source> <source>Cancel</source>
<translation></translation> <translation></translation>
</message> </message>

View File

@@ -260,7 +260,7 @@
<message> <message>
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="135"/> <location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="135"/>
<source>ID</source> <source>ID</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="136"/> <location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="136"/>
@@ -566,33 +566,43 @@
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../ScanFormWidget.cpp" line="70"/> <location filename="../ScanFormWidget.cpp" line="53"/>
<source>Refresh</source> <source>LEFT</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../ScanFormWidget.cpp" line="71"/> <location filename="../ScanFormWidget.cpp" line="54"/>
<source>RIGHT</source>
<translation></translation>
</message>
<message>
<location filename="../ScanFormWidget.cpp" line="73"/>
<source>Refresh</source>
<translation></translation>
</message>
<message>
<location filename="../ScanFormWidget.cpp" line="74"/>
<source>Preview</source> <source>Preview</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../ScanFormWidget.cpp" line="72"/> <location filename="../ScanFormWidget.cpp" line="75"/>
<source>Stop</source> <source>Stop</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../ScanFormWidget.cpp" line="73"/> <location filename="../ScanFormWidget.cpp" line="76"/>
<source>Scan</source> <source>Scan</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../ScanFormWidget.cpp" line="93"/> <location filename="../ScanFormWidget.cpp" line="96"/>
<source>Preview Parameters</source> <source>Preview Parameters</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../ScanFormWidget.cpp" line="99"/> <location filename="../ScanFormWidget.cpp" line="102"/>
<location filename="../ScanFormWidget.cpp" line="111"/> <location filename="../ScanFormWidget.cpp" line="114"/>
<source>some settings <source>some settings
parameters parameters
@@ -600,7 +610,7 @@ parameters
<translation>XXX</translation> <translation>XXX</translation>
</message> </message>
<message> <message>
<location filename="../ScanFormWidget.cpp" line="105"/> <location filename="../ScanFormWidget.cpp" line="108"/>
<source>Scan Parameters</source> <source>Scan Parameters</source>
<translation></translation> <translation></translation>
</message> </message>
@@ -670,102 +680,102 @@ parameters
<context> <context>
<name>networkCfgDialog</name> <name>networkCfgDialog</name>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="345"/> <location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="366"/>
<source>Network Settings</source> <source>Network Settings</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="355"/> <location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="376"/>
<source>Address</source> <source>Address</source>
<translation>IP配置</translation> <translation>IP配置</translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="346"/> <location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="367"/>
<location filename="../network/networkcfgdialog.cpp" line="33"/> <location filename="../network/networkcfgdialog.cpp" line="31"/>
<source>IP Address</source> <source>IP Address</source>
<translation>IP地址</translation> <translation>IP地址</translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="347"/> <location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="368"/>
<source>Dynamic Address</source> <source>Dynamic Address</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="348"/> <location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="369"/>
<source>Dev</source> <source>Dev</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="350"/> <location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="371"/>
<source>Subnet Mask</source> <source>Subnet Mask</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="351"/> <location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="372"/>
<source>Additional Address</source> <source>Additional Address</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="352"/> <location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="373"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="359"/> <location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="380"/>
<source>Add</source> <source>Add</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="353"/> <location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="374"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="360"/> <location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="381"/>
<source>Edit</source> <source>Edit</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="354"/> <location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="375"/>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="361"/> <location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="382"/>
<source>Delete</source> <source>Delete</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="362"/> <location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="383"/>
<source>Routing</source> <source>Routing</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="357"/> <location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="378"/>
<source>Default IPv4 Gateway</source> <source>Default IPv4 Gateway</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="358"/> <location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="379"/>
<source>Routing Table</source> <source>Routing Table</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="363"/> <location filename="../../out/build/x64-Debug/ui_networkcfgdialog.h" line="384"/>
<source>Result</source> <source>Result</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../network/networkcfgdialog.cpp" line="33"/> <location filename="../network/networkcfgdialog.cpp" line="31"/>
<location filename="../network/networkcfgdialog.cpp" line="36"/> <location filename="../network/networkcfgdialog.cpp" line="34"/>
<source>Netmask</source> <source>Netmask</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../network/networkcfgdialog.cpp" line="36"/> <location filename="../network/networkcfgdialog.cpp" line="34"/>
<source>Destination</source> <source>Destination</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../network/networkcfgdialog.cpp" line="36"/> <location filename="../network/networkcfgdialog.cpp" line="34"/>
<source>Gateway</source> <source>Gateway</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../network/networkcfgdialog.cpp" line="39"/> <location filename="../network/networkcfgdialog.cpp" line="37"/>
<source>Apply</source> <source>Apply</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../network/networkcfgdialog.cpp" line="40"/> <location filename="../network/networkcfgdialog.cpp" line="38"/>
<source>Cancel</source> <source>Cancel</source>
<translation></translation> <translation></translation>
</message> </message>