1
.gitignore
vendored
1
.gitignore
vendored
@@ -11,4 +11,3 @@
|
||||
/CMakeSettings.json
|
||||
/src/translations/*.ts
|
||||
*.ts
|
||||
/src/translations/copy.bat
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -22,223 +22,223 @@
|
||||
#include <cmath>
|
||||
#endif
|
||||
|
||||
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#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();
|
||||
ui->commandWidget->setLayout(layout);
|
||||
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#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();
|
||||
ui->commandWidget->setLayout(layout);
|
||||
|
||||
QLabel* lbl_Protocol = new QLabel(this);
|
||||
lbl_Protocol->setText(tr("Protocol"));
|
||||
lbl_Protocol->setAlignment(Qt::AlignTop);
|
||||
lbl_Protocol->setObjectName("lbl_protocol");
|
||||
layout->addWidget(lbl_Protocol);
|
||||
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");
|
||||
QButtonGroup* group = new QButtonGroup(this);
|
||||
btnLeft->setCheckable(true);
|
||||
btnLeft->setChecked(true);
|
||||
btnRight->setCheckable(true);
|
||||
group->addButton(btnRight, 1);
|
||||
group->addButton(btnLeft, 0);
|
||||
layout->addSpacerItem(new QSpacerItem(20, 20, QSizePolicy::Expanding));
|
||||
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");
|
||||
QLabel* lbl_Protocol = new QLabel(this);
|
||||
lbl_Protocol->setText("Protocol");
|
||||
lbl_Protocol->setAlignment(Qt::AlignTop);
|
||||
lbl_Protocol->setObjectName("lbl_protocol");
|
||||
layout->addWidget(lbl_Protocol);
|
||||
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");
|
||||
QButtonGroup* group = new QButtonGroup(this);
|
||||
btnLeft->setCheckable(true);
|
||||
btnLeft->setChecked(true);
|
||||
btnRight->setCheckable(true);
|
||||
group->addButton(btnRight,1);
|
||||
group->addButton(btnLeft,0);
|
||||
layout->addSpacerItem(new QSpacerItem(20, 20, QSizePolicy::Expanding));
|
||||
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(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();
|
||||
this->ui->contentWidget->setLayout(contentLayout);
|
||||
PatientInformationForm* patient_information = new PatientInformationForm(this);
|
||||
contentLayout->addWidget(patient_information);
|
||||
QWidget* param_widget = new QWidget(this);
|
||||
QWidget* broadcast_widget = new QWidget(this);
|
||||
broadcast_widget->setObjectName("broadcast_widget");
|
||||
QLabel* viewer = new QLabel(broadcast_widget);
|
||||
viewer->setObjectName("viewer");
|
||||
viewer->setFixedSize(800, 800);
|
||||
viewer->setText("");
|
||||
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);
|
||||
QLabel* lblPreview = new QLabel(this);
|
||||
lblPreview->setText(tr("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"));
|
||||
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->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"));
|
||||
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));
|
||||
contentLayout->addWidget(param_widget);
|
||||
pat_inf = patient_information;
|
||||
QHBoxLayout* contentLayout =new QHBoxLayout();
|
||||
this->ui->contentWidget->setLayout(contentLayout);
|
||||
PatientInformationForm* patient_information= new PatientInformationForm(this);
|
||||
contentLayout->addWidget(patient_information);
|
||||
QWidget* param_widget= new QWidget(this);
|
||||
QWidget* broadcast_widget = new QWidget(this);
|
||||
broadcast_widget->setObjectName("broadcast_widget");
|
||||
QLabel * viewer = new QLabel(broadcast_widget);
|
||||
viewer->setObjectName("viewer");
|
||||
viewer->setFixedSize(800,800);
|
||||
viewer->setText("");
|
||||
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);
|
||||
QLabel* lblPreview = new QLabel(this);
|
||||
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("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("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("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));
|
||||
contentLayout->addWidget(param_widget);
|
||||
pat_inf = patient_information;
|
||||
|
||||
btnScan->setEnabled(false);
|
||||
btnRefresh->setEnabled(false);
|
||||
btnPreview->setEnabled(false);
|
||||
btnStop->setEnabled(false);
|
||||
btnScan->setEnabled(false);
|
||||
btnRefresh->setEnabled(false);
|
||||
btnPreview->setEnabled(false);
|
||||
btnStop->setEnabled(false);
|
||||
|
||||
|
||||
//Events---------------------------------------------------------------
|
||||
connect(EventCenter::Default(), &EventCenter::PatientSelected, [=](QObject* sender, QObject* data) {
|
||||
if (unset)
|
||||
{
|
||||
btnScan->setEnabled(true);
|
||||
btnRefresh->setEnabled(true);
|
||||
btnPreview->setEnabled(true);
|
||||
btnStop->setEnabled(true);
|
||||
unset = false;
|
||||
}
|
||||
patient_information->setPatientInformation((PatientInformation*)data);
|
||||
});
|
||||
connect(EventCenter::Default(), &EventCenter::ResponseStop, [=](QObject* sender, QObject* data) {
|
||||
setPreviewing(false);
|
||||
});
|
||||
connect(EventCenter::Default(), &EventCenter::ResponsePreview, [=](QObject* sender, QObject* data) {
|
||||
setPreviewing(true);
|
||||
static const size_t Row = 140;
|
||||
static const size_t Col = 140;
|
||||
static const float pixelSpacing = 1.5f;
|
||||
static const float halfROIWidth = 100.0f;
|
||||
uchar c_data[Row][Col];
|
||||
uchar* data_ptr = c_data[0];
|
||||
for (int i = 0; i < Row; i++) {
|
||||
data_ptr = c_data[i];
|
||||
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);
|
||||
QPainter painter(&pic);
|
||||
QPen pen;
|
||||
pen.setStyle(Qt::DashLine);
|
||||
pen.setWidth(3);
|
||||
QFont font("Futura");
|
||||
font.setPixelSize(26);
|
||||
font.setBold(true);
|
||||
painter.setFont(font);
|
||||
pen.setColor(QColor(255, 255, 0));
|
||||
painter.setPen(pen);
|
||||
painter.drawText(400 - 13 * 5, 400 + 13, "Loading...");
|
||||
viewer->setPixmap(pic);
|
||||
});
|
||||
//Events---------------------------------------------------------------
|
||||
connect(EventCenter::Default(),&EventCenter::PatientSelected,[=](QObject* sender,QObject* data){
|
||||
if(unset)
|
||||
{
|
||||
btnScan->setEnabled(true);
|
||||
btnRefresh->setEnabled(true);
|
||||
btnPreview->setEnabled(true);
|
||||
btnStop->setEnabled(true);
|
||||
unset = false;
|
||||
}
|
||||
patient_information->setPatientInformation((PatientInformation*)data);
|
||||
});
|
||||
connect(EventCenter::Default(),&EventCenter::ResponseStop,[=](QObject* sender,QObject* data){
|
||||
setPreviewing(false);
|
||||
});
|
||||
connect(EventCenter::Default(),&EventCenter::ResponsePreview,[=](QObject* sender,QObject* data){
|
||||
setPreviewing(true);
|
||||
static const size_t Row = 140;
|
||||
static const size_t Col = 140;
|
||||
static const float pixelSpacing = 1.5f;
|
||||
static const float halfROIWidth = 100.0f;
|
||||
uchar c_data[Row][Col];
|
||||
uchar* data_ptr = c_data[0];
|
||||
for(int i=0;i<Row;i++){
|
||||
data_ptr = c_data[i];
|
||||
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);
|
||||
QPainter painter(&pic);
|
||||
QPen pen;
|
||||
pen.setStyle(Qt::DashLine);
|
||||
pen.setWidth(3);
|
||||
QFont font("Futura");
|
||||
font.setPixelSize(26);
|
||||
font.setBold(true);
|
||||
painter.setFont(font);
|
||||
pen.setColor(QColor(255,255,0));
|
||||
painter.setPen(pen);
|
||||
painter.drawText(400-13*5,400+13,"Loading...");
|
||||
viewer->setPixmap(pic);
|
||||
});
|
||||
|
||||
connect(EventCenter::Default(), &EventCenter::ResponsePreviewData, [=](QObject* sender, QObject* data) {
|
||||
if (!data)return;
|
||||
static const size_t Row = 140;
|
||||
static const size_t Col = 140;
|
||||
static const float pixelSpacing = 1.5f;
|
||||
static const float halfROIWidth = 100.0f;
|
||||
QByteArray* array = (QByteArray*)data;
|
||||
uchar* raw_dataptr = (uchar*)array->data();
|
||||
uchar c_data[Row][Col];
|
||||
uchar* data_ptr = c_data[0];
|
||||
for (int i = 0; i < Row; i++) {
|
||||
data_ptr = c_data[i];
|
||||
memcpy(data_ptr, raw_dataptr, Col);
|
||||
raw_dataptr += Col;
|
||||
connect(EventCenter::Default(),&EventCenter::ResponsePreviewData,[=](QObject* sender,QObject* data){
|
||||
if (!data)return;
|
||||
static const size_t Row = 140;
|
||||
static const size_t Col = 140;
|
||||
static const float pixelSpacing = 1.5f;
|
||||
static const float halfROIWidth = 100.0f;
|
||||
QByteArray* array = (QByteArray*)data;
|
||||
uchar* raw_dataptr = (uchar*)array->data();
|
||||
uchar c_data[Row][Col];
|
||||
uchar* data_ptr = c_data[0];
|
||||
for(int i=0;i<Row;i++){
|
||||
data_ptr = c_data[i];
|
||||
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);
|
||||
QPainter painter(&pic);
|
||||
QPen pen;
|
||||
pen.setColor(QColor(255, 255, 0, 100));
|
||||
pen.setStyle(Qt::DashLine);
|
||||
pen.setWidth(3);
|
||||
QFont font("Futura");
|
||||
font.setPixelSize(26);
|
||||
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));
|
||||
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");
|
||||
viewer->setPixmap(pic);
|
||||
});
|
||||
connect(EventCenter::Default(), &EventCenter::PatientSelected, [=](QObject* sender, QObject* data) {
|
||||
patient_information->setPatientInformation((PatientInformation*)data);
|
||||
});
|
||||
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, [=]() {
|
||||
LOG_USER_OPERATION(StartPreview);
|
||||
EventCenter::Default()->triggerEvent(GUIEvents::RequestPreviewScan, nullptr, nullptr);
|
||||
});
|
||||
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, [=]() {
|
||||
LOG_USER_OPERATION(Stop);
|
||||
EventCenter::Default()->triggerEvent(GUIEvents::RequestStop, nullptr, nullptr);
|
||||
});
|
||||
}
|
||||
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);
|
||||
QPainter painter(&pic);
|
||||
QPen pen;
|
||||
pen.setColor(QColor(255,255,0,100));
|
||||
pen.setStyle(Qt::DashLine);
|
||||
pen.setWidth(3);
|
||||
QFont font("Futura");
|
||||
font.setPixelSize(26);
|
||||
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));
|
||||
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");
|
||||
viewer->setPixmap(pic);
|
||||
});
|
||||
connect(EventCenter::Default(),&EventCenter::PatientSelected,[=](QObject* sender,QObject* data){
|
||||
patient_information->setPatientInformation((PatientInformation*)data);
|
||||
});
|
||||
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,[=](){
|
||||
LOG_USER_OPERATION(StartPreview);
|
||||
EventCenter::Default()->triggerEvent(GUIEvents::RequestPreviewScan, nullptr, nullptr);
|
||||
});
|
||||
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,[=](){
|
||||
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 {
|
||||
viewer->setVisible(val);
|
||||
btnPreview->setCheckable(val);
|
||||
btnPreview->setChecked(val);
|
||||
btnPreview->setEnabled(!val);
|
||||
btnRefresh->setEnabled(!val);
|
||||
btnScan->setEnabled(!val);
|
||||
};
|
||||
previewfunc = [=](bool val)->void{
|
||||
viewer->setVisible(val);
|
||||
btnPreview->setCheckable(val);
|
||||
btnPreview->setChecked(val);
|
||||
btnPreview->setEnabled(!val);
|
||||
btnRefresh->setEnabled(!val);
|
||||
btnScan->setEnabled(!val);
|
||||
};
|
||||
}
|
||||
|
||||
ScanFormWidget::~ScanFormWidget() {
|
||||
@@ -246,12 +246,12 @@ ScanFormWidget::~ScanFormWidget() {
|
||||
}
|
||||
|
||||
void ScanFormWidget::protocolChanged(int type) {
|
||||
printf("%d\r\n", type);
|
||||
pat_inf->setProtocol(type);
|
||||
printf("%d\r\n",type);
|
||||
pat_inf->setProtocol(type);
|
||||
}
|
||||
|
||||
void ScanFormWidget::setPreviewing(bool val) {
|
||||
if (previewfunc) previewfunc(val);
|
||||
if(previewfunc) previewfunc(val);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
<item>
|
||||
<widget class="QLabel" name="lbl_Sex">
|
||||
<property name="text">
|
||||
<string>Gender</string>
|
||||
<string>Sex</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -48,7 +48,7 @@ const char *PatientInformationForm::getCurrentPatientJsonString(bool empty) {
|
||||
cJSON_AddItemToObject(root, "PatientID",cJSON_CreateString(ui->lbl_ID->text().replace(' ','_').toStdString().data()));
|
||||
cJSON_AddItemToObject(root, "PatientSex",cJSON_CreateString(ui->lbl_Sex->text().toStdString().data()));
|
||||
cJSON_AddItemToObject(root, "PatientBirthDate",
|
||||
cJSON_CreateString(ui->lbl_Date->text().replace("/","").replace("-","").replace(' ','.').toStdString().data()));
|
||||
cJSON_CreateString(ui->lbl_Date->text().replace("/","").replace("-","").replace(' ','.').toStdString().data()));
|
||||
cJSON_AddItemToObject(root, "Laterality",cJSON_CreateString(currentProtocol?"R":"L"));
|
||||
cJSON_AddItemToObject(root, "IsEmptyData",cJSON_CreateNumber(empty?1:0));
|
||||
cJSON_AddItemToObject(root, "OperatorName",cJSON_CreateString("Bob"));
|
||||
|
||||
@@ -190,4 +190,12 @@ void systemSettingForm::saveServersInfo()
|
||||
|
||||
//qIfConfig(lhost);
|
||||
|
||||
}
|
||||
|
||||
void systemSettingForm::changeEvent(QEvent* event)
|
||||
{
|
||||
if (event->type() == QEvent::LanguageChange)
|
||||
{
|
||||
ui->retranslateUi(this);
|
||||
}
|
||||
}
|
||||
@@ -9,19 +9,22 @@ class QLineEdit;
|
||||
class ImageSwitch;
|
||||
|
||||
namespace Ui {
|
||||
class systemSettingForm;
|
||||
class systemSettingForm;
|
||||
}
|
||||
|
||||
class systemSettingForm : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit systemSettingForm(QWidget* parent = nullptr);
|
||||
~systemSettingForm();
|
||||
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;
|
||||
|
||||
|
||||
@@ -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.
@@ -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 "123456" ?</source>
|
||||
<translation>密码重置为"123456"?</translation>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../AccountFormDialog.cpp" line="135"/>
|
||||
<source>Inner error, can'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't be empty!</source>
|
||||
<translation>用户名不能为空!</translation>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../AccountFormDialog.cpp" line="238"/>
|
||||
<source>User ID can't be empty!</source>
|
||||
<translation>用户ID不能为空!</translation>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../AccountFormDialog.cpp" line="246"/>
|
||||
<source>Password can'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'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:"%1"!</source>
|
||||
<translation>删除账户ID:"%1"!</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><html><head/><body><p>PatientID:</p></body></html></source>
|
||||
<translation><html><head/><body><p>病人ID:</p></body></html></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"/>
|
||||
|
||||
Reference in New Issue
Block a user