translation improvement 2
This commit is contained in:
@@ -15,112 +15,126 @@
|
||||
#include <QSqlRecord>
|
||||
#include "components/SlideableTableView.h"
|
||||
#include "AccountFormDialog.h"
|
||||
#include "event/EventCenter.h"
|
||||
AccountTableForm::AccountTableForm(QWidget* parent) {
|
||||
layout = new QVBoxLayout(this);
|
||||
layout->setMargin(0);
|
||||
QTableView* table = new SlideableTableView(this);
|
||||
layout->addWidget(table);
|
||||
// TableView for patient
|
||||
table->setAlternatingRowColors(true);
|
||||
table->setSelectionMode(QAbstractItemView::SingleSelection);
|
||||
table->setEditTriggers(QAbstractItemView::NoEditTriggers);
|
||||
table->setSelectionBehavior(QAbstractItemView::SelectRows);
|
||||
table->verticalHeader()->setDefaultSectionSize(38);
|
||||
table->horizontalHeader()->setStretchLastSection(true);
|
||||
//data from SQLITE
|
||||
|
||||
AccountTableForm::AccountTableForm(QWidget *parent) {
|
||||
layout = new QVBoxLayout(this);
|
||||
layout->setMargin(0);
|
||||
QTableView* table = new SlideableTableView(this);
|
||||
layout->addWidget(table);
|
||||
// TableView for patient
|
||||
table->setAlternatingRowColors(true);
|
||||
table->setSelectionMode(QAbstractItemView::SingleSelection);
|
||||
table->setEditTriggers(QAbstractItemView::NoEditTriggers);
|
||||
table->setSelectionBehavior(QAbstractItemView::SelectRows);
|
||||
table->verticalHeader()->setDefaultSectionSize(38);
|
||||
table->horizontalHeader()->setStretchLastSection(true);
|
||||
//data from SQLITE
|
||||
auto model = SQLHelper::getTable("Account");
|
||||
model->sort(5, Qt::DescendingOrder);
|
||||
model->select();
|
||||
model->setHeaderData(1, Qt::Horizontal, tr("ID"));
|
||||
model->setHeaderData(2, Qt::Horizontal, tr("Name"));
|
||||
model->setHeaderData(4, Qt::Horizontal, tr("Role"));
|
||||
model->setHeaderData(5, Qt::Horizontal, tr("Comment"));
|
||||
table->setModel((QAbstractItemModel*)model);
|
||||
table->hideColumn(0);
|
||||
table->hideColumn(3);
|
||||
AccountRoleComboDelegate* comboDelegate = new AccountRoleComboDelegate(this);
|
||||
table->setItemDelegateForColumn(4, comboDelegate);
|
||||
table->show();
|
||||
|
||||
auto model = SQLHelper::getTable("Account");
|
||||
model->sort(5,Qt::DescendingOrder);
|
||||
model->select();
|
||||
model->setHeaderData(1,Qt::Horizontal,"ID");
|
||||
model->setHeaderData(2,Qt::Horizontal,"Name");
|
||||
model->setHeaderData(4,Qt::Horizontal,"Role");
|
||||
model->setHeaderData(5,Qt::Horizontal,"Comment");
|
||||
table->setModel((QAbstractItemModel*)model);
|
||||
table->hideColumn(0);
|
||||
table->hideColumn(3);
|
||||
AccountRoleComboDelegate* comboDelegate = new AccountRoleComboDelegate(this);
|
||||
table->setItemDelegateForColumn(4,comboDelegate);
|
||||
table->show();
|
||||
// table->setSortingEnabled(true);
|
||||
table->setColumnWidth(1, 250);
|
||||
table->setColumnWidth(2, 250);
|
||||
table->setColumnWidth(4, 150);
|
||||
|
||||
// table->setSortingEnabled(true);
|
||||
table->setColumnWidth(1,250);
|
||||
table->setColumnWidth(2,250);
|
||||
table->setColumnWidth(4,150);
|
||||
QWidget* cmdPanel = new QWidget(this);
|
||||
cmdPanel->setObjectName("commandWidget");
|
||||
QHBoxLayout* cmdLayout = new QHBoxLayout(cmdPanel);
|
||||
cmdLayout->addSpacerItem(new QSpacerItem(20, 20, QSizePolicy::Expanding));
|
||||
QWidget* spacerLine = new QWidget(this);
|
||||
spacerLine->setFixedWidth(2);
|
||||
spacerLine->setObjectName("verSpaceLine");
|
||||
cmdLayout->addWidget(spacerLine);
|
||||
ADD_TOOL_BTN_TO_LAYOUT(Add, ":/icons/add.png", cmdLayout);
|
||||
ADD_TOOL_BTN_TO_LAYOUT(Edit, ":/icons/details.png", cmdLayout);
|
||||
ADD_TOOL_BTN_TO_LAYOUT(Delete, ":/icons/close_circle.png", cmdLayout);
|
||||
btnAdd->setText(tr("Add"));
|
||||
btnEdit->setText(tr("Edit"));
|
||||
btnDelete->setText(tr("Delete"));
|
||||
layout->addWidget(cmdPanel);
|
||||
//index change
|
||||
connect(table, &QTableView::clicked, [=](const QModelIndex& modelIndex) {
|
||||
if (currentRow != modelIndex.row())
|
||||
{
|
||||
currentRow = modelIndex.row();
|
||||
}
|
||||
});
|
||||
//add new account
|
||||
connect(btnAdd, &QToolButton::clicked, [=]() {
|
||||
AccountFormDialog dialog(this, New);
|
||||
dialog.setWindowModality(Qt::WindowModal);
|
||||
dialog.setReferenceModel(model);
|
||||
if (dialog.exec() == QDialog::Accepted)
|
||||
{
|
||||
table->selectRow(0);
|
||||
}
|
||||
});
|
||||
connect(btnEdit, &QToolButton::clicked, [=]() {
|
||||
if (currentRow < 0)return;
|
||||
QMap<QString, QVariant> map;
|
||||
auto record = model->record(currentRow);
|
||||
for (int i = 0; i < model->columnCount(); i++)
|
||||
{
|
||||
map[record.fieldName(i)] = record.value(i);
|
||||
}
|
||||
auto mode = map["UserID"] == User::Current()->getUserID() ? Self : Admin;
|
||||
AccountFormDialog dialog(this, mode);
|
||||
dialog.setWindowModality(Qt::WindowModal);
|
||||
if (mode == Admin)dialog.setAccountInformation(map);
|
||||
if (dialog.exec() == QDialog::Accepted)
|
||||
{
|
||||
model->select();
|
||||
table->selectRow(currentRow);
|
||||
}
|
||||
});
|
||||
connect(btnDelete, &QToolButton::clicked, [=]() {
|
||||
if (currentRow < 0)return;
|
||||
QString id = model->data(model->index(currentRow, 1)).toString();
|
||||
if (User::Current()->getUserID() == id)
|
||||
{
|
||||
//尝试删除自己
|
||||
AlertDialog dialog(this);
|
||||
dialog.setButtonMode(OkOnly);
|
||||
dialog.setWindowModality(Qt::WindowModal);
|
||||
dialog.setAlertMessage(tr("Can't delete current log in account!"));
|
||||
dialog.exec();
|
||||
return;
|
||||
}
|
||||
AlertDialog dialog(this);
|
||||
dialog.setWindowModality(Qt::WindowModal);
|
||||
|
||||
dialog.setAlertMessage(QString(tr("Delete account with ID:\"%1\"!")).arg(id));
|
||||
if (dialog.exec() != QDialog::Accepted) return;
|
||||
model->removeRow(currentRow);
|
||||
model->select();
|
||||
table->selectRow(model->rowCount() > currentRow + 1 ? currentRow : currentRow - 1);
|
||||
});
|
||||
|
||||
connect(EventCenter::Default(), &EventCenter::ReloadLanguage, [=]() {
|
||||
|
||||
//model->setHeaderData(1, Qt::Horizontal, tr("ID"));
|
||||
model->setHeaderData(2, Qt::Horizontal, tr("Name"));
|
||||
model->setHeaderData(4, Qt::Horizontal, tr("Role"));
|
||||
model->setHeaderData(5, Qt::Horizontal, tr("Comment"));
|
||||
|
||||
btnAdd->setText(tr("Add"));
|
||||
btnEdit->setText(tr("Edit"));
|
||||
btnDelete->setText(tr("Delete"));
|
||||
});
|
||||
|
||||
QWidget* cmdPanel = new QWidget(this);
|
||||
cmdPanel->setObjectName("commandWidget");
|
||||
QHBoxLayout* cmdLayout = new QHBoxLayout(cmdPanel);
|
||||
cmdLayout->addSpacerItem(new QSpacerItem(20, 20, QSizePolicy::Expanding));
|
||||
QWidget* spacerLine= new QWidget(this);
|
||||
spacerLine->setFixedWidth(2);
|
||||
spacerLine->setObjectName("verSpaceLine");
|
||||
cmdLayout->addWidget(spacerLine);
|
||||
ADD_TOOL_BTN_TO_LAYOUT(Add,":/icons/add.png",cmdLayout);
|
||||
ADD_TOOL_BTN_TO_LAYOUT(Edit,":/icons/details.png",cmdLayout);
|
||||
ADD_TOOL_BTN_TO_LAYOUT(Delete,":/icons/close_circle.png",cmdLayout);
|
||||
btnAdd->setText(tr("Add"));
|
||||
btnEdit->setText(tr("Edit"));
|
||||
btnDelete->setText(tr("Delete"));
|
||||
layout->addWidget(cmdPanel);
|
||||
//index change
|
||||
connect(table,&QTableView::clicked,[=](const QModelIndex & modelIndex){
|
||||
if (currentRow!=modelIndex.row())
|
||||
{
|
||||
currentRow=modelIndex.row();
|
||||
}
|
||||
});
|
||||
//add new account
|
||||
connect(btnAdd, &QToolButton::clicked,[=](){
|
||||
AccountFormDialog dialog(this,New);
|
||||
dialog.setWindowModality(Qt::WindowModal);
|
||||
dialog.setReferenceModel(model);
|
||||
if (dialog.exec() == QDialog::Accepted)
|
||||
{
|
||||
table->selectRow(0);
|
||||
}
|
||||
});
|
||||
connect(btnEdit, &QToolButton::clicked,[=](){
|
||||
if (currentRow<0)return;
|
||||
QMap<QString,QVariant> map;
|
||||
auto record = model->record(currentRow);
|
||||
for (int i = 0; i < model->columnCount(); i++)
|
||||
{
|
||||
map[record.fieldName(i)] = record.value(i);
|
||||
}
|
||||
auto mode = map["UserID"] == User::Current()->getUserID()?Self:Admin;
|
||||
AccountFormDialog dialog(this,mode);
|
||||
dialog.setWindowModality(Qt::WindowModal);
|
||||
if (mode == Admin)dialog.setAccountInformation(map);
|
||||
if (dialog.exec() == QDialog::Accepted)
|
||||
{
|
||||
model->select();
|
||||
table->selectRow(currentRow);
|
||||
}
|
||||
});
|
||||
connect(btnDelete, &QToolButton::clicked,[=](){
|
||||
if (currentRow<0)return;
|
||||
QString id = model->data(model->index(currentRow,1)).toString();
|
||||
if (User::Current()->getUserID() == id)
|
||||
{
|
||||
//尝试删除自己
|
||||
AlertDialog dialog(this);
|
||||
dialog.setButtonMode(OkOnly);
|
||||
dialog.setWindowModality(Qt::WindowModal);
|
||||
dialog.setAlertMessage(tr("Can't delete current log in account!"));
|
||||
dialog.exec();
|
||||
return;
|
||||
}
|
||||
AlertDialog dialog(this);
|
||||
dialog.setWindowModality(Qt::WindowModal);
|
||||
|
||||
dialog.setAlertMessage(QString(tr("Delete account with ID:\"%1\"!")).arg(id));
|
||||
if(dialog.exec()!=QDialog::Accepted) return;
|
||||
model->removeRow(currentRow);
|
||||
model->select();
|
||||
table->selectRow(model->rowCount()>currentRow+1?currentRow:currentRow-1);
|
||||
});
|
||||
}
|
||||
|
||||
AccountTableForm::~AccountTableForm() {
|
||||
|
||||
@@ -27,7 +27,8 @@ AdminSettingForm::AdminSettingForm(QWidget* parent, Qt::WindowFlags f) : TabForm
|
||||
QListWidget* widget = new QListWidget(this);
|
||||
widget->setFixedWidth(250);
|
||||
QStringList menus;
|
||||
menus << tr("General") << tr("Account") << tr("System") << tr("Information") << tr("Log") << tr("About");
|
||||
//menus << tr("General") << tr("Account") << tr("System") << tr("Information") << tr("Log") << tr("About");
|
||||
menus << tr("General") << tr("Account") << tr("System") << tr("Information") << tr("About");
|
||||
widget->addItems(menus);
|
||||
widget->setSpacing(3);
|
||||
for (int i = 0; i < menus.count(); ++i) {
|
||||
@@ -61,9 +62,8 @@ AdminSettingForm::AdminSettingForm(QWidget* parent, Qt::WindowFlags f) : TabForm
|
||||
Info->setText("info");
|
||||
stackedWidget->addWidget(Info);
|
||||
|
||||
UserOperationLogForm* operationLogForm = new UserOperationLogForm(this);
|
||||
|
||||
stackedWidget->addWidget(operationLogForm);
|
||||
//UserOperationLogForm* operationLogForm = new UserOperationLogForm(this);
|
||||
//stackedWidget->addWidget(operationLogForm);
|
||||
|
||||
QLabel* about = new QLabel(this);
|
||||
about->setText(tr("About"));
|
||||
@@ -74,9 +74,8 @@ AdminSettingForm::AdminSettingForm(QWidget* parent, Qt::WindowFlags f) : TabForm
|
||||
});
|
||||
connect(EventCenter::Default(), &EventCenter::ReloadLanguage, [=]() {
|
||||
QStringList menus2;
|
||||
menus2 << tr("General") << tr("Account") << tr("System") << tr("Information") << tr("Log") << tr("About");
|
||||
menus2 << tr("General") << tr("Account") << tr("System") << tr("Information") << tr("About");
|
||||
widget->clear();
|
||||
|
||||
widget->addItems(menus2);
|
||||
for (int i = 0; i < menus.count(); ++i) {
|
||||
widget->item(i)->setTextAlignment(Qt::AlignCenter);
|
||||
|
||||
@@ -238,6 +238,20 @@ ScanFormWidget::ScanFormWidget(QWidget* parent) : TabFormWidget(parent) {
|
||||
|
||||
connect(group, SIGNAL(buttonClicked(int)), this, SLOT(protocolChanged(int)));
|
||||
|
||||
connect(EventCenter::Default(), &EventCenter::ReloadLanguage, [=]() {
|
||||
btnLeft->setText(tr("LEFT"));
|
||||
btnRight->setText(tr("RIGHT"));
|
||||
btnRefresh->setText(tr("Refresh"));
|
||||
btnPreview->setText(tr("Preview"));
|
||||
btnStop->setText(tr("Stop"));
|
||||
btnScan->setText(tr("Scan"));
|
||||
lbl_Protocol->setText(tr("Protocol"));
|
||||
lblPreview->setText(tr("Preview Parameters"));
|
||||
lblParams->setText(tr("Scan Parameters"));
|
||||
});
|
||||
|
||||
|
||||
|
||||
previewfunc = [=](bool val)->void {
|
||||
viewer->setVisible(val);
|
||||
btnPreview->setCheckable(val);
|
||||
|
||||
@@ -95,6 +95,7 @@ SelectFormWidget::SelectFormWidget(QWidget* parent) :
|
||||
model->setHeaderData(3, Qt::Horizontal, tr("Birth Date"));
|
||||
model->setHeaderData(4, Qt::Horizontal, tr("Gender"));
|
||||
model->setHeaderData(5, Qt::Horizontal, tr("Add Date"));
|
||||
model->setHeaderData(6, Qt::Horizontal, tr("Comment"));
|
||||
table->setModel((QAbstractItemModel*)model);
|
||||
table->hideColumn(0);
|
||||
table->hideColumn(7);
|
||||
@@ -255,8 +256,22 @@ SelectFormWidget::SelectFormWidget(QWidget* parent) :
|
||||
btnEdit->setEnabled(true);
|
||||
btnAdd->setEnabled(true);
|
||||
});
|
||||
connect(EventCenter::Default(), &EventCenter::ReloadLanguage, [=]() {
|
||||
|
||||
model->setHeaderData(1, Qt::Horizontal, "ID");
|
||||
model->setHeaderData(2, Qt::Horizontal, tr("Name"));
|
||||
model->setHeaderData(3, Qt::Horizontal, tr("Birth Date"));
|
||||
model->setHeaderData(4, Qt::Horizontal, tr("Gender"));
|
||||
model->setHeaderData(5, Qt::Horizontal, tr("Add Date"));
|
||||
model->setHeaderData(6, Qt::Horizontal, tr("Comment"));
|
||||
|
||||
btnAccount->setText(tr("Account"));
|
||||
//btnWorklist->setText(tr("Worklist"));
|
||||
btnAdd->setText(tr("Add"));
|
||||
btnEdit->setText(tr("Edit"));
|
||||
btnDelete->setText(tr("Delete"));
|
||||
btnSelect->setText(tr("Select"));
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#include <QPushButton>
|
||||
#include "SelectDialog.h"
|
||||
#include "mainwindow.h"
|
||||
|
||||
#include "event/EventCenter.h"
|
||||
QString fileNameToDate(QString fileName)
|
||||
{
|
||||
return fileName.split("log/")[1].replace("-op.log", "");
|
||||
@@ -29,7 +29,8 @@ UserOperationLogForm::UserOperationLogForm(QWidget* parent) {
|
||||
layout = new QVBoxLayout(this);
|
||||
QWidget* header = new QWidget(this);
|
||||
QHBoxLayout* headerLayout = new QHBoxLayout(header);
|
||||
headerLayout->addWidget(new QLabel(tr("Log Date:")));
|
||||
QLabel* logdate = new QLabel(tr("Log Date:"));
|
||||
headerLayout->addWidget(logdate);
|
||||
btn = new QPushButton(header);
|
||||
headerLayout->addWidget(btn, 0, Qt::AlignLeft);
|
||||
headerLayout->addSpacerItem(new QSpacerItem(20, 20, QSizePolicy::Expanding));
|
||||
@@ -60,6 +61,10 @@ UserOperationLogForm::UserOperationLogForm(QWidget* parent) {
|
||||
}
|
||||
});
|
||||
|
||||
connect(EventCenter::Default(), &EventCenter::ReloadLanguage, [=]() {
|
||||
logdate->setText(tr("Log Date:"));
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
UserOperationLogForm::~UserOperationLogForm() {
|
||||
|
||||
@@ -6,137 +6,151 @@
|
||||
#include <QButtonGroup>
|
||||
#include "guimacros.h"
|
||||
#include <qdebug.h>
|
||||
EditPatientForm::EditPatientForm(QWidget *parent) :
|
||||
QWidget(parent),
|
||||
ui(new Ui::EditPatientForm)
|
||||
#include "event/EventCenter.h"
|
||||
|
||||
EditPatientForm::EditPatientForm(QWidget* parent) :
|
||||
QWidget(parent),
|
||||
ui(new Ui::EditPatientForm)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
ui->lbl_Sex->setText(tr("Gender"));
|
||||
QHBoxLayout* sexlayout =new QHBoxLayout(ui->sexpanelwidget);
|
||||
sexlayout->setMargin(6);
|
||||
ADD_TOOL_SIZE_BTN_TO_LAYOUT(F,":/icons/female_d.png",30, sexlayout);
|
||||
ADD_TOOL_SIZE_BTN_TO_LAYOUT(M,":/icons/male_d.png", 30,sexlayout);
|
||||
btnF->setText(tr("Female"));
|
||||
btnM->setText(tr("Male"));
|
||||
ui->setupUi(this);
|
||||
//ui->lbl_Sex->setText(tr("Gender"));
|
||||
QHBoxLayout* sexlayout = new QHBoxLayout(ui->sexpanelwidget);
|
||||
sexlayout->setMargin(6);
|
||||
ADD_TOOL_SIZE_BTN_TO_LAYOUT(F, ":/icons/female_d.png", 30, sexlayout);
|
||||
ADD_TOOL_SIZE_BTN_TO_LAYOUT(M, ":/icons/male_d.png", 30, sexlayout);
|
||||
btnF->setText(tr("Female"));
|
||||
btnM->setText(tr("Male"));
|
||||
|
||||
// btnFemale->setToolButtonStyle(Qt::ToolButtonIconOnly);
|
||||
// btnMale->setToolButtonStyle(Qt::ToolButtonIconOnly);
|
||||
|
||||
btnF->setObjectName("sexBtn");
|
||||
btnM->setObjectName("sexBtn");
|
||||
//btnF->setText("Female");
|
||||
//btnM->setText("Male");
|
||||
ui->sexpanelwidget->setEnabled(editEnable);
|
||||
btnF->setEnabled(editEnable);
|
||||
btnM->setEnabled(editEnable);
|
||||
btnF->setCheckable(true);
|
||||
btnM->setCheckable(true);
|
||||
QButtonGroup* group = new QButtonGroup(this);
|
||||
group->addButton(btnF);
|
||||
group->addButton(btnM);
|
||||
btnF->setChecked(true);
|
||||
btnFemale = btnF;
|
||||
btnMale = btnM;
|
||||
QHBoxLayout* layout = new QHBoxLayout(this->ui->editcmdWidget);
|
||||
|
||||
ADD_TOOL_BTN(Cancel, ":/icons/close_circle.png");
|
||||
ADD_TOOL_BTN(Accpet, ":/icons/selected.png");
|
||||
btnCancel->setText(tr("Cancel"));
|
||||
btnAccpet->setText(tr("Accept"));
|
||||
btnCancel->setEnabled(editEnable);
|
||||
btnCancel->setToolButtonStyle(Qt::ToolButtonIconOnly);
|
||||
btnCancel->setIcon(QIcon(editEnable ? ":/icons/close_circle.png" : ":/icons/close_circle_d.png"));
|
||||
btnAccpet->setEnabled(editEnable);
|
||||
btnAccpet->setToolButtonStyle(Qt::ToolButtonIconOnly);
|
||||
btnAccpet->setIcon(QIcon(editEnable ? ":/icons/selected.png" : ":/icons/selected_d.png"));
|
||||
btnEditAccept = btnAccpet;
|
||||
btnEditCancel = btnCancel;
|
||||
connect(btnEditCancel, &QToolButton::clicked, [=]() {
|
||||
clearPatientInformation();
|
||||
this->setEditEnable(false);
|
||||
restorePatientInformation();
|
||||
emit editCancel();
|
||||
});
|
||||
connect(btnEditAccept, &QToolButton::clicked, [=]() {
|
||||
if (ui->tbx_ID->text().isEmpty())return;
|
||||
if (ui->tbx_Name->text().isEmpty())return;
|
||||
storePatientInformation();
|
||||
bool result = true;
|
||||
emit editAccept(getPatientInformation(), result);
|
||||
if (result) this->setEditEnable(false);
|
||||
});
|
||||
ui->tbx_Dob->setDisplayFormat("yyyy/MM/dd");
|
||||
|
||||
connect(EventCenter::Default(), &EventCenter::ReloadLanguage, [=]() {
|
||||
|
||||
ui->retranslateUi(this);
|
||||
btnF->setText(tr("Female"));
|
||||
btnM->setText(tr("Male"));
|
||||
btnCancel->setText(tr("Cancel"));
|
||||
btnAccpet->setText(tr("Accept"));
|
||||
});
|
||||
|
||||
|
||||
// btnFemale->setToolButtonStyle(Qt::ToolButtonIconOnly);
|
||||
// btnMale->setToolButtonStyle(Qt::ToolButtonIconOnly);
|
||||
|
||||
btnF->setObjectName("sexBtn");
|
||||
btnM->setObjectName("sexBtn");
|
||||
btnF->setText("Female");
|
||||
btnM->setText("Male");
|
||||
ui->sexpanelwidget->setEnabled(editEnable);
|
||||
btnF->setEnabled(editEnable);
|
||||
btnM->setEnabled(editEnable);
|
||||
btnF->setCheckable(true);
|
||||
btnM->setCheckable(true);
|
||||
QButtonGroup* group= new QButtonGroup(this);
|
||||
group->addButton(btnF);
|
||||
group->addButton(btnM);
|
||||
btnF->setChecked(true);
|
||||
btnFemale=btnF;
|
||||
btnMale=btnM;
|
||||
QHBoxLayout* layout =new QHBoxLayout(this->ui->editcmdWidget);
|
||||
|
||||
ADD_TOOL_BTN(Cancel,":/icons/close_circle.png");
|
||||
ADD_TOOL_BTN(Accpet,":/icons/selected.png");
|
||||
btnCancel->setText(tr("Cancel"));
|
||||
btnAccpet->setText(tr("Accept"));
|
||||
btnCancel->setEnabled(editEnable);
|
||||
btnCancel->setToolButtonStyle(Qt::ToolButtonIconOnly);
|
||||
btnCancel->setIcon(QIcon(editEnable?":/icons/close_circle.png":":/icons/close_circle_d.png"));
|
||||
btnAccpet->setEnabled(editEnable);
|
||||
btnAccpet->setToolButtonStyle(Qt::ToolButtonIconOnly);
|
||||
btnAccpet->setIcon(QIcon(editEnable?":/icons/selected.png":":/icons/selected_d.png"));
|
||||
btnEditAccept = btnAccpet;
|
||||
btnEditCancel = btnCancel;
|
||||
connect(btnEditCancel,&QToolButton::clicked,[=](){
|
||||
clearPatientInformation();
|
||||
this->setEditEnable(false);
|
||||
restorePatientInformation();
|
||||
emit editCancel();
|
||||
});
|
||||
connect(btnEditAccept,&QToolButton::clicked,[=](){
|
||||
if (ui->tbx_ID->text().isEmpty())return;
|
||||
if (ui->tbx_Name->text().isEmpty())return;
|
||||
storePatientInformation();
|
||||
bool result = true;
|
||||
emit editAccept(getPatientInformation(), result);
|
||||
if (result) this->setEditEnable(false);
|
||||
});
|
||||
ui->tbx_Dob->setDisplayFormat("yyyy/MM/dd");
|
||||
}
|
||||
|
||||
EditPatientForm::~EditPatientForm()
|
||||
{
|
||||
delete ui;
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void EditPatientForm::setPatientInformation(PatientInformation *information) {
|
||||
if (information)
|
||||
{
|
||||
ui->tbx_ID->setText(information->ID);
|
||||
ui->tbx_Dob->setDate(QDate::fromString(information->BirthDate,"yyyy-MM-dd"));
|
||||
ui->tbx_Name->setText(information->Name);
|
||||
ui->rtbx_Comment->setText(information->Comment);
|
||||
btnFemale->setChecked(information->Sex=="F");
|
||||
btnMale->setChecked(information->Sex!="F");
|
||||
currentPatientUID = information->PatientUID;
|
||||
AddDate = information->AddDate;
|
||||
storePatientInformation();
|
||||
}
|
||||
void EditPatientForm::setPatientInformation(PatientInformation* information) {
|
||||
if (information)
|
||||
{
|
||||
ui->tbx_ID->setText(information->ID);
|
||||
ui->tbx_Dob->setDate(QDate::fromString(information->BirthDate, "yyyy-MM-dd"));
|
||||
ui->tbx_Name->setText(information->Name);
|
||||
ui->rtbx_Comment->setText(information->Comment);
|
||||
btnFemale->setChecked(information->Sex == "F");
|
||||
btnMale->setChecked(information->Sex != "F");
|
||||
currentPatientUID = information->PatientUID;
|
||||
AddDate = information->AddDate;
|
||||
storePatientInformation();
|
||||
}
|
||||
}
|
||||
|
||||
void EditPatientForm::clearPatientInformation() {
|
||||
ui->tbx_ID->setText("");
|
||||
ui->tbx_Dob->setDate(QDate::currentDate());
|
||||
ui->tbx_Name->setText("");
|
||||
btnFemale->setChecked(true);
|
||||
btnMale->setChecked(false);
|
||||
ui->rtbx_Comment->setText("");
|
||||
currentPatientUID = "";
|
||||
AddDate = "";
|
||||
ui->tbx_ID->setText("");
|
||||
ui->tbx_Dob->setDate(QDate::currentDate());
|
||||
ui->tbx_Name->setText("");
|
||||
btnFemale->setChecked(true);
|
||||
btnMale->setChecked(false);
|
||||
ui->rtbx_Comment->setText("");
|
||||
currentPatientUID = "";
|
||||
AddDate = "";
|
||||
}
|
||||
|
||||
void EditPatientForm::setEditEnable(bool enable) {
|
||||
ui->tbx_ID->setEnabled(enable);
|
||||
ui->tbx_Dob->setEnabled(enable);
|
||||
ui->tbx_Name->setEnabled(enable);
|
||||
ui->sexpanelwidget->setEnabled(enable);
|
||||
btnFemale->setEnabled(enable);
|
||||
btnFemale->setIcon(QIcon(enable?":/icons/female.png":":/icons/female_d.png"));
|
||||
btnMale->setEnabled(enable);
|
||||
btnMale->setIcon(QIcon(enable?":/icons/male.png":":/icons/male_d.png"));
|
||||
ui->rtbx_Comment->setEnabled(enable);
|
||||
btnEditAccept->setEnabled(enable);
|
||||
btnEditCancel->setEnabled(enable);
|
||||
btnEditCancel->setIcon(QIcon(enable?":/icons/close_circle.png":":/icons/close_circle_d.png"));
|
||||
btnEditAccept->setIcon(QIcon(enable?":/icons/selected.png":":/icons/selected_d.png"));
|
||||
editEnable = enable;
|
||||
// ui->->setEnabled(enable);
|
||||
ui->tbx_ID->setEnabled(enable);
|
||||
ui->tbx_Dob->setEnabled(enable);
|
||||
ui->tbx_Name->setEnabled(enable);
|
||||
ui->sexpanelwidget->setEnabled(enable);
|
||||
btnFemale->setEnabled(enable);
|
||||
btnFemale->setIcon(QIcon(enable ? ":/icons/female.png" : ":/icons/female_d.png"));
|
||||
btnMale->setEnabled(enable);
|
||||
btnMale->setIcon(QIcon(enable ? ":/icons/male.png" : ":/icons/male_d.png"));
|
||||
ui->rtbx_Comment->setEnabled(enable);
|
||||
btnEditAccept->setEnabled(enable);
|
||||
btnEditCancel->setEnabled(enable);
|
||||
btnEditCancel->setIcon(QIcon(enable ? ":/icons/close_circle.png" : ":/icons/close_circle_d.png"));
|
||||
btnEditAccept->setIcon(QIcon(enable ? ":/icons/selected.png" : ":/icons/selected_d.png"));
|
||||
editEnable = enable;
|
||||
// ui->->setEnabled(enable);
|
||||
}
|
||||
|
||||
void EditPatientForm::storePatientInformation() {
|
||||
store.PatientUID =currentPatientUID;
|
||||
store.AddDate = AddDate;
|
||||
store.ID = ui->tbx_ID->text();
|
||||
store.BirthDate = ui->tbx_Dob->date().toString("yyyy-MM-dd");
|
||||
store.Name = ui->tbx_Name->text();
|
||||
store.Sex = btnFemale->isChecked()?"F":"M";
|
||||
store.Comment = ui->rtbx_Comment->toPlainText();
|
||||
qDebug()<<store.PatientUID<<","<<store.ID<<","<<store.BirthDate<<","<<store.Name<<","<<store.Sex;
|
||||
store.PatientUID = currentPatientUID;
|
||||
store.AddDate = AddDate;
|
||||
store.ID = ui->tbx_ID->text();
|
||||
store.BirthDate = ui->tbx_Dob->date().toString("yyyy-MM-dd");
|
||||
store.Name = ui->tbx_Name->text();
|
||||
store.Sex = btnFemale->isChecked() ? "F" : "M";
|
||||
store.Comment = ui->rtbx_Comment->toPlainText();
|
||||
qDebug() << store.PatientUID << "," << store.ID << "," << store.BirthDate << "," << store.Name << "," << store.Sex;
|
||||
}
|
||||
|
||||
void EditPatientForm::restorePatientInformation() {
|
||||
currentPatientUID = store.PatientUID;
|
||||
AddDate = store.AddDate;
|
||||
ui->tbx_ID->setText(store.ID);
|
||||
ui->tbx_Dob->setDate(QDate::fromString(store.BirthDate,"yyyy-MM-dd"));
|
||||
ui->tbx_Name->setText(store.Name);
|
||||
ui->rtbx_Comment->setText(store.Comment);
|
||||
btnFemale->setChecked(store.Sex=="F");
|
||||
btnMale->setChecked(store.Sex!="F");
|
||||
// ui->cb_Sex->setCurrentText(store.Sex=="F"?"Female":(store.Name=="M"?"Male":"Other"));
|
||||
currentPatientUID = store.PatientUID;
|
||||
AddDate = store.AddDate;
|
||||
ui->tbx_ID->setText(store.ID);
|
||||
ui->tbx_Dob->setDate(QDate::fromString(store.BirthDate, "yyyy-MM-dd"));
|
||||
ui->tbx_Name->setText(store.Name);
|
||||
ui->rtbx_Comment->setText(store.Comment);
|
||||
btnFemale->setChecked(store.Sex == "F");
|
||||
btnMale->setChecked(store.Sex != "F");
|
||||
// ui->cb_Sex->setCurrentText(store.Sex=="F"?"Female":(store.Name=="M"?"Male":"Other"));
|
||||
|
||||
}
|
||||
|
||||
@@ -50,12 +50,15 @@ GeneralForm::GeneralForm(QWidget* parent) : QWidget(parent)
|
||||
layout->addWidget(lockHeader);
|
||||
QHBoxLayout* lockHeaderLayout = new QHBoxLayout(lockHeader);
|
||||
|
||||
QLabel* lbl_lock = new QLabel(tr("Lock Screen Timeout"));
|
||||
QLabel* lbl_lock = new QLabel(tr("Lock Screen"));
|
||||
lockHeaderLayout->addWidget(lbl_lock);
|
||||
|
||||
QLineEdit* lockTime = new QLineEdit(lockHeader);
|
||||
lockTime->setMaximumSize(QSize(300, 32768));
|
||||
lockHeaderLayout->addWidget(lockTime);
|
||||
|
||||
QLabel* ss = new QLabel(tr("s"));
|
||||
lockHeaderLayout->addWidget(ss);
|
||||
lockHeaderLayout->addSpacerItem(new QSpacerItem(20, 20, QSizePolicy::Expanding));
|
||||
|
||||
//...
|
||||
@@ -108,6 +111,6 @@ GeneralForm::GeneralForm(QWidget* parent) : QWidget(parent)
|
||||
lbl_lan->setText(tr("Language"));
|
||||
lbl_ins->setText(tr("Institution Addr"));
|
||||
lbl_insaddr->setText(tr("Institution Addr"));
|
||||
lbl_lock->setText(tr("Lock Screen Timeout"));
|
||||
lbl_lock->setText(tr("Lock Screen"));
|
||||
});
|
||||
}
|
||||
|
||||
@@ -105,6 +105,9 @@ systemSettingForm::systemSettingForm(QWidget* parent) :
|
||||
|
||||
connect(EventCenter::Default(), &EventCenter::ReloadLanguage, [=]() {
|
||||
ui->retranslateUi(this);
|
||||
|
||||
ui->btnPro->setText(JsonObject::Instance()->defaultProtocal());
|
||||
ui->btnFlt->setText(JsonObject::Instance()->defaultFilter());
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>PushButton</string>
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -88,7 +88,7 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>PushButton</string>
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -134,7 +134,7 @@
|
||||
<item row="3" column="2">
|
||||
<widget class="QPushButton" name="btn_network">
|
||||
<property name="text">
|
||||
<string>Configure</string>
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
@@ -7,22 +7,10 @@
|
||||
<source>Account</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>User ID</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Input User ID</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Input User name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Password</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -87,6 +75,18 @@
|
||||
<source>Reset Password</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>User ID</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Input User ID</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Input User name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>AccountTableForm</name>
|
||||
@@ -110,6 +110,22 @@
|
||||
<source>Delete</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>ID</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Role</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Comment</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>AdminSettingForm</name>
|
||||
@@ -133,10 +149,6 @@
|
||||
<source>Information</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Log</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>AlertDialog</name>
|
||||
@@ -264,7 +276,11 @@
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Lock Screen Timeout</source>
|
||||
<source>s</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Lock Screen</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
@@ -508,6 +524,10 @@ parameters
|
||||
<source>Add Date</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Comment</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TabFormWidget</name>
|
||||
@@ -627,10 +647,6 @@ parameters
|
||||
<source>Network Setting</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>PushButton</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Protocal</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -643,10 +659,6 @@ parameters
|
||||
<source>Auto Verify</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Configure</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>IP</source>
|
||||
<translation type="unfinished"></translation>
|
||||
|
||||
@@ -7,22 +7,10 @@
|
||||
<source>Account</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>User ID</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Input User ID</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Input User name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Password</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -87,6 +75,18 @@
|
||||
<source>Reset Password</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>User ID</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Input User ID</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Input User name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>AccountTableForm</name>
|
||||
@@ -110,6 +110,22 @@
|
||||
<source>Delete</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>ID</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Role</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Comment</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>AdminSettingForm</name>
|
||||
@@ -133,10 +149,6 @@
|
||||
<source>Information</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Log</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>AlertDialog</name>
|
||||
@@ -264,7 +276,11 @@
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Lock Screen Timeout</source>
|
||||
<source>s</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Lock Screen</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
@@ -508,6 +524,10 @@ parameters
|
||||
<source>Add Date</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Comment</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TabFormWidget</name>
|
||||
@@ -627,10 +647,6 @@ parameters
|
||||
<source>Network Setting</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>PushButton</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Protocal</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@@ -643,10 +659,6 @@ parameters
|
||||
<source>Auto Verify</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Configure</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>IP</source>
|
||||
<translation type="unfinished"></translation>
|
||||
|
||||
Binary file not shown.
@@ -127,18 +127,44 @@
|
||||
</context>
|
||||
<context>
|
||||
<name>AccountTableForm</name>
|
||||
<message>
|
||||
<location filename="../AccountTableForm.cpp" line="36"/>
|
||||
<source>ID</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../AccountTableForm.cpp" line="37"/>
|
||||
<location filename="../AccountTableForm.cpp" line="128"/>
|
||||
<source>Name</source>
|
||||
<translation>姓名</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../AccountTableForm.cpp" line="38"/>
|
||||
<location filename="../AccountTableForm.cpp" line="129"/>
|
||||
<source>Role</source>
|
||||
<translation>角色</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../AccountTableForm.cpp" line="39"/>
|
||||
<location filename="../AccountTableForm.cpp" line="130"/>
|
||||
<source>Comment</source>
|
||||
<translation>备注</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../AccountTableForm.cpp" line="63"/>
|
||||
<location filename="../AccountTableForm.cpp" line="132"/>
|
||||
<source>Add</source>
|
||||
<translation>新增</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../AccountTableForm.cpp" line="64"/>
|
||||
<location filename="../AccountTableForm.cpp" line="133"/>
|
||||
<source>Edit</source>
|
||||
<translation>编辑</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../AccountTableForm.cpp" line="65"/>
|
||||
<location filename="../AccountTableForm.cpp" line="134"/>
|
||||
<source>Delete</source>
|
||||
<translation>删除</translation>
|
||||
</message>
|
||||
@@ -156,34 +182,32 @@
|
||||
<context>
|
||||
<name>AdminSettingForm</name>
|
||||
<message>
|
||||
<location filename="../AdminSettingForm.cpp" line="30"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="31"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="77"/>
|
||||
<source>General</source>
|
||||
<translation>通用</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../AdminSettingForm.cpp" line="30"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="31"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="77"/>
|
||||
<source>Account</source>
|
||||
<translation>账户</translation>
|
||||
<translation>用户</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../AdminSettingForm.cpp" line="30"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="31"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="77"/>
|
||||
<source>System</source>
|
||||
<translation>系统</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../AdminSettingForm.cpp" line="30"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="31"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="77"/>
|
||||
<source>Information</source>
|
||||
<translation>信息</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../AdminSettingForm.cpp" line="30"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="77"/>
|
||||
<source>Log</source>
|
||||
<translation>日志</translation>
|
||||
<translation type="vanished">日志</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Account Manage</source>
|
||||
@@ -202,10 +226,10 @@
|
||||
<translation type="vanished">操作日志</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../AdminSettingForm.cpp" line="30"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="31"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="69"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="77"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="84"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="83"/>
|
||||
<source>About</source>
|
||||
<translation>关于</translation>
|
||||
</message>
|
||||
@@ -276,7 +300,7 @@
|
||||
<message>
|
||||
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="135"/>
|
||||
<source>ID</source>
|
||||
<translation>编号</translation>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="136"/>
|
||||
@@ -295,27 +319,30 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="137"/>
|
||||
<location filename="../editpatientform.cpp" line="14"/>
|
||||
<source>Gender</source>
|
||||
<translation>性别</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../editpatientform.cpp" line="19"/>
|
||||
<location filename="../editpatientform.cpp" line="21"/>
|
||||
<location filename="../editpatientform.cpp" line="75"/>
|
||||
<source>Female</source>
|
||||
<translation>女性</translation>
|
||||
<translation>女</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../editpatientform.cpp" line="20"/>
|
||||
<location filename="../editpatientform.cpp" line="22"/>
|
||||
<location filename="../editpatientform.cpp" line="76"/>
|
||||
<source>Male</source>
|
||||
<translation>男性</translation>
|
||||
<translation>男</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../editpatientform.cpp" line="44"/>
|
||||
<location filename="../editpatientform.cpp" line="46"/>
|
||||
<location filename="../editpatientform.cpp" line="77"/>
|
||||
<source>Cancel</source>
|
||||
<translation>取消</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../editpatientform.cpp" line="45"/>
|
||||
<location filename="../editpatientform.cpp" line="47"/>
|
||||
<location filename="../editpatientform.cpp" line="78"/>
|
||||
<source>Accept</source>
|
||||
<translation>接受</translation>
|
||||
</message>
|
||||
@@ -350,7 +377,7 @@
|
||||
<name>GeneralForm</name>
|
||||
<message>
|
||||
<location filename="../generalform.cpp" line="25"/>
|
||||
<location filename="../generalform.cpp" line="108"/>
|
||||
<location filename="../generalform.cpp" line="111"/>
|
||||
<source>Language</source>
|
||||
<translation>语言</translation>
|
||||
</message>
|
||||
@@ -361,17 +388,26 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generalform.cpp" line="42"/>
|
||||
<location filename="../generalform.cpp" line="109"/>
|
||||
<location filename="../generalform.cpp" line="110"/>
|
||||
<location filename="../generalform.cpp" line="112"/>
|
||||
<location filename="../generalform.cpp" line="113"/>
|
||||
<source>Institution Addr</source>
|
||||
<translation>机构地址</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generalform.cpp" line="53"/>
|
||||
<location filename="../generalform.cpp" line="111"/>
|
||||
<source>Lock Screen Timeout</source>
|
||||
<location filename="../generalform.cpp" line="114"/>
|
||||
<source>Lock Screen</source>
|
||||
<translation>锁屏时间</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Lock Screen Timeout</source>
|
||||
<translation type="vanished">锁屏时间</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generalform.cpp" line="60"/>
|
||||
<source>s</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>GetAdminPsw</name>
|
||||
@@ -538,7 +574,7 @@
|
||||
<message>
|
||||
<location filename="../../out/build/x64-Debug/ui_patientinformationform.h" line="123"/>
|
||||
<source>Female</source>
|
||||
<translation>女性</translation>
|
||||
<translation>女</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../out/build/x64-Debug/ui_patientinformationform.h" line="124"/>
|
||||
@@ -577,41 +613,49 @@
|
||||
<name>ScanFormWidget</name>
|
||||
<message>
|
||||
<location filename="../ScanFormWidget.cpp" line="42"/>
|
||||
<location filename="../ScanFormWidget.cpp" line="248"/>
|
||||
<source>Protocol</source>
|
||||
<translation>扫描协议</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ScanFormWidget.cpp" line="52"/>
|
||||
<location filename="../ScanFormWidget.cpp" line="242"/>
|
||||
<source>LEFT</source>
|
||||
<translation>左侧</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ScanFormWidget.cpp" line="53"/>
|
||||
<location filename="../ScanFormWidget.cpp" line="243"/>
|
||||
<source>RIGHT</source>
|
||||
<translation>右侧</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ScanFormWidget.cpp" line="72"/>
|
||||
<location filename="../ScanFormWidget.cpp" line="244"/>
|
||||
<source>Refresh</source>
|
||||
<translation>空扫</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ScanFormWidget.cpp" line="73"/>
|
||||
<location filename="../ScanFormWidget.cpp" line="245"/>
|
||||
<source>Preview</source>
|
||||
<translation>预扫</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ScanFormWidget.cpp" line="74"/>
|
||||
<location filename="../ScanFormWidget.cpp" line="246"/>
|
||||
<source>Stop</source>
|
||||
<translation>停止</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ScanFormWidget.cpp" line="75"/>
|
||||
<location filename="../ScanFormWidget.cpp" line="247"/>
|
||||
<source>Scan</source>
|
||||
<translation>扫描</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ScanFormWidget.cpp" line="95"/>
|
||||
<location filename="../ScanFormWidget.cpp" line="249"/>
|
||||
<source>Preview Parameters</source>
|
||||
<translation>预览参数</translation>
|
||||
</message>
|
||||
@@ -626,6 +670,7 @@ parameters
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ScanFormWidget.cpp" line="107"/>
|
||||
<location filename="../ScanFormWidget.cpp" line="250"/>
|
||||
<source>Scan Parameters</source>
|
||||
<translation>扫描参数</translation>
|
||||
</message>
|
||||
@@ -634,6 +679,7 @@ parameters
|
||||
<name>SelectFormWidget</name>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="59"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="268"/>
|
||||
<source>Account</source>
|
||||
<translation>账户</translation>
|
||||
</message>
|
||||
@@ -644,44 +690,58 @@ parameters
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="71"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="270"/>
|
||||
<source>Add</source>
|
||||
<translation>新增</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="72"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="271"/>
|
||||
<source>Edit</source>
|
||||
<translation>编辑</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="73"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="272"/>
|
||||
<source>Delete</source>
|
||||
<translation>删除</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="74"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="273"/>
|
||||
<source>Select</source>
|
||||
<translation>选择</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="94"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="262"/>
|
||||
<source>Name</source>
|
||||
<translation>姓名</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="95"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="263"/>
|
||||
<source>Birth Date</source>
|
||||
<translation>出生日期</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="96"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="264"/>
|
||||
<source>Gender</source>
|
||||
<translation>性别</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="97"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="265"/>
|
||||
<source>Add Date</source>
|
||||
<translation>添加日期</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="98"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="266"/>
|
||||
<source>Comment</source>
|
||||
<translation>备注</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TabFormWidget</name>
|
||||
@@ -708,6 +768,7 @@ parameters
|
||||
<name>UserOperationLogForm</name>
|
||||
<message>
|
||||
<location filename="../UserOperationLogForm.cpp" line="32"/>
|
||||
<location filename="../UserOperationLogForm.cpp" line="65"/>
|
||||
<source>Log Date:</source>
|
||||
<translation>日志时间</translation>
|
||||
</message>
|
||||
@@ -832,12 +893,6 @@ parameters
|
||||
<source>Network Setting</source>
|
||||
<translation>网络配置</translation>
|
||||
</message>
|
||||
<message>
|
||||
<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>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../out/build/x64-Debug/ui_systemsettingform.h" line="326"/>
|
||||
<source>Protocal</source>
|
||||
@@ -854,9 +909,8 @@ parameters
|
||||
<translation>自动验证</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../out/build/x64-Debug/ui_systemsettingform.h" line="330"/>
|
||||
<source>Configure</source>
|
||||
<translation>配置</translation>
|
||||
<translation type="vanished">配置</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../out/build/x64-Debug/ui_systemsettingform.h" line="331"/>
|
||||
|
||||
@@ -127,18 +127,44 @@
|
||||
</context>
|
||||
<context>
|
||||
<name>AccountTableForm</name>
|
||||
<message>
|
||||
<location filename="../AccountTableForm.cpp" line="36"/>
|
||||
<source>ID</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../AccountTableForm.cpp" line="37"/>
|
||||
<location filename="../AccountTableForm.cpp" line="128"/>
|
||||
<source>Name</source>
|
||||
<translation>姓名</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../AccountTableForm.cpp" line="38"/>
|
||||
<location filename="../AccountTableForm.cpp" line="129"/>
|
||||
<source>Role</source>
|
||||
<translation>角色</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../AccountTableForm.cpp" line="39"/>
|
||||
<location filename="../AccountTableForm.cpp" line="130"/>
|
||||
<source>Comment</source>
|
||||
<translation>备注</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../AccountTableForm.cpp" line="63"/>
|
||||
<location filename="../AccountTableForm.cpp" line="132"/>
|
||||
<source>Add</source>
|
||||
<translation>新增</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../AccountTableForm.cpp" line="64"/>
|
||||
<location filename="../AccountTableForm.cpp" line="133"/>
|
||||
<source>Edit</source>
|
||||
<translation>编辑</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../AccountTableForm.cpp" line="65"/>
|
||||
<location filename="../AccountTableForm.cpp" line="134"/>
|
||||
<source>Delete</source>
|
||||
<translation>删除</translation>
|
||||
</message>
|
||||
@@ -156,34 +182,32 @@
|
||||
<context>
|
||||
<name>AdminSettingForm</name>
|
||||
<message>
|
||||
<location filename="../AdminSettingForm.cpp" line="30"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="31"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="77"/>
|
||||
<source>General</source>
|
||||
<translation>通用</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../AdminSettingForm.cpp" line="30"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="31"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="77"/>
|
||||
<source>Account</source>
|
||||
<translation>账户</translation>
|
||||
<translation>用户</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../AdminSettingForm.cpp" line="30"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="31"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="77"/>
|
||||
<source>System</source>
|
||||
<translation>系统</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../AdminSettingForm.cpp" line="30"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="31"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="77"/>
|
||||
<source>Information</source>
|
||||
<translation>信息</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../AdminSettingForm.cpp" line="30"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="77"/>
|
||||
<source>Log</source>
|
||||
<translation>日志</translation>
|
||||
<translation type="vanished">日志</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Account Manage</source>
|
||||
@@ -202,10 +226,10 @@
|
||||
<translation type="vanished">操作日志</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../AdminSettingForm.cpp" line="30"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="31"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="69"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="77"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="84"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="83"/>
|
||||
<source>About</source>
|
||||
<translation>关于</translation>
|
||||
</message>
|
||||
@@ -276,7 +300,7 @@
|
||||
<message>
|
||||
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="135"/>
|
||||
<source>ID</source>
|
||||
<translation>编号</translation>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="136"/>
|
||||
@@ -295,27 +319,30 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../out/build/x64-Debug/ui_editpatientform.h" line="137"/>
|
||||
<location filename="../editpatientform.cpp" line="14"/>
|
||||
<source>Gender</source>
|
||||
<translation>性别</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../editpatientform.cpp" line="19"/>
|
||||
<location filename="../editpatientform.cpp" line="21"/>
|
||||
<location filename="../editpatientform.cpp" line="75"/>
|
||||
<source>Female</source>
|
||||
<translation>女性</translation>
|
||||
<translation>女</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../editpatientform.cpp" line="20"/>
|
||||
<location filename="../editpatientform.cpp" line="22"/>
|
||||
<location filename="../editpatientform.cpp" line="76"/>
|
||||
<source>Male</source>
|
||||
<translation>男性</translation>
|
||||
<translation>男</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../editpatientform.cpp" line="44"/>
|
||||
<location filename="../editpatientform.cpp" line="46"/>
|
||||
<location filename="../editpatientform.cpp" line="77"/>
|
||||
<source>Cancel</source>
|
||||
<translation>取消</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../editpatientform.cpp" line="45"/>
|
||||
<location filename="../editpatientform.cpp" line="47"/>
|
||||
<location filename="../editpatientform.cpp" line="78"/>
|
||||
<source>Accept</source>
|
||||
<translation>接受</translation>
|
||||
</message>
|
||||
@@ -350,7 +377,7 @@
|
||||
<name>GeneralForm</name>
|
||||
<message>
|
||||
<location filename="../generalform.cpp" line="25"/>
|
||||
<location filename="../generalform.cpp" line="108"/>
|
||||
<location filename="../generalform.cpp" line="111"/>
|
||||
<source>Language</source>
|
||||
<translation>语言</translation>
|
||||
</message>
|
||||
@@ -361,17 +388,26 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generalform.cpp" line="42"/>
|
||||
<location filename="../generalform.cpp" line="109"/>
|
||||
<location filename="../generalform.cpp" line="110"/>
|
||||
<location filename="../generalform.cpp" line="112"/>
|
||||
<location filename="../generalform.cpp" line="113"/>
|
||||
<source>Institution Addr</source>
|
||||
<translation>机构地址</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generalform.cpp" line="53"/>
|
||||
<location filename="../generalform.cpp" line="111"/>
|
||||
<source>Lock Screen Timeout</source>
|
||||
<location filename="../generalform.cpp" line="114"/>
|
||||
<source>Lock Screen</source>
|
||||
<translation>锁屏时间</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Lock Screen Timeout</source>
|
||||
<translation type="vanished">锁屏时间</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../generalform.cpp" line="60"/>
|
||||
<source>s</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>GetAdminPsw</name>
|
||||
@@ -538,7 +574,7 @@
|
||||
<message>
|
||||
<location filename="../../out/build/x64-Debug/ui_patientinformationform.h" line="123"/>
|
||||
<source>Female</source>
|
||||
<translation>女性</translation>
|
||||
<translation>女</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../out/build/x64-Debug/ui_patientinformationform.h" line="124"/>
|
||||
@@ -577,41 +613,49 @@
|
||||
<name>ScanFormWidget</name>
|
||||
<message>
|
||||
<location filename="../ScanFormWidget.cpp" line="42"/>
|
||||
<location filename="../ScanFormWidget.cpp" line="248"/>
|
||||
<source>Protocol</source>
|
||||
<translation>扫描协议</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ScanFormWidget.cpp" line="52"/>
|
||||
<location filename="../ScanFormWidget.cpp" line="242"/>
|
||||
<source>LEFT</source>
|
||||
<translation>左侧</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ScanFormWidget.cpp" line="53"/>
|
||||
<location filename="../ScanFormWidget.cpp" line="243"/>
|
||||
<source>RIGHT</source>
|
||||
<translation>右侧</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ScanFormWidget.cpp" line="72"/>
|
||||
<location filename="../ScanFormWidget.cpp" line="244"/>
|
||||
<source>Refresh</source>
|
||||
<translation>空扫</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ScanFormWidget.cpp" line="73"/>
|
||||
<location filename="../ScanFormWidget.cpp" line="245"/>
|
||||
<source>Preview</source>
|
||||
<translation>预扫</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ScanFormWidget.cpp" line="74"/>
|
||||
<location filename="../ScanFormWidget.cpp" line="246"/>
|
||||
<source>Stop</source>
|
||||
<translation>停止</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ScanFormWidget.cpp" line="75"/>
|
||||
<location filename="../ScanFormWidget.cpp" line="247"/>
|
||||
<source>Scan</source>
|
||||
<translation>扫描</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ScanFormWidget.cpp" line="95"/>
|
||||
<location filename="../ScanFormWidget.cpp" line="249"/>
|
||||
<source>Preview Parameters</source>
|
||||
<translation>预览参数</translation>
|
||||
</message>
|
||||
@@ -626,6 +670,7 @@ parameters
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../ScanFormWidget.cpp" line="107"/>
|
||||
<location filename="../ScanFormWidget.cpp" line="250"/>
|
||||
<source>Scan Parameters</source>
|
||||
<translation>扫描参数</translation>
|
||||
</message>
|
||||
@@ -634,6 +679,7 @@ parameters
|
||||
<name>SelectFormWidget</name>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="59"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="268"/>
|
||||
<source>Account</source>
|
||||
<translation>账户</translation>
|
||||
</message>
|
||||
@@ -644,44 +690,58 @@ parameters
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="71"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="270"/>
|
||||
<source>Add</source>
|
||||
<translation>新增</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="72"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="271"/>
|
||||
<source>Edit</source>
|
||||
<translation>编辑</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="73"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="272"/>
|
||||
<source>Delete</source>
|
||||
<translation>删除</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="74"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="273"/>
|
||||
<source>Select</source>
|
||||
<translation>选择</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="94"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="262"/>
|
||||
<source>Name</source>
|
||||
<translation>姓名</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="95"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="263"/>
|
||||
<source>Birth Date</source>
|
||||
<translation>出生日期</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="96"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="264"/>
|
||||
<source>Gender</source>
|
||||
<translation>性别</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="97"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="265"/>
|
||||
<source>Add Date</source>
|
||||
<translation>添加日期</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../SelectFormWidget.cpp" line="98"/>
|
||||
<location filename="../SelectFormWidget.cpp" line="266"/>
|
||||
<source>Comment</source>
|
||||
<translation>备注</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>TabFormWidget</name>
|
||||
@@ -708,6 +768,7 @@ parameters
|
||||
<name>UserOperationLogForm</name>
|
||||
<message>
|
||||
<location filename="../UserOperationLogForm.cpp" line="32"/>
|
||||
<location filename="../UserOperationLogForm.cpp" line="65"/>
|
||||
<source>Log Date:</source>
|
||||
<translation>日志时间</translation>
|
||||
</message>
|
||||
@@ -832,12 +893,6 @@ parameters
|
||||
<source>Network Setting</source>
|
||||
<translation>网络配置</translation>
|
||||
</message>
|
||||
<message>
|
||||
<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>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../out/build/x64-Debug/ui_systemsettingform.h" line="326"/>
|
||||
<source>Protocal</source>
|
||||
@@ -854,9 +909,8 @@ parameters
|
||||
<translation>自动验证</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../out/build/x64-Debug/ui_systemsettingform.h" line="330"/>
|
||||
<source>Configure</source>
|
||||
<translation>配置</translation>
|
||||
<translation type="vanished">配置</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../out/build/x64-Debug/ui_systemsettingform.h" line="331"/>
|
||||
|
||||
Reference in New Issue
Block a user