bug fixes
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
#include "systemsettingform.h"
|
||||
#include "AccountTableForm.h"
|
||||
#include "event/EventCenter.h"
|
||||
#include "aboutwidget.h"
|
||||
|
||||
AdminSettingForm::AdminSettingForm(QWidget* parent, Qt::WindowFlags f) : TabFormWidget(parent) {
|
||||
|
||||
@@ -28,7 +29,7 @@ AdminSettingForm::AdminSettingForm(QWidget* parent, Qt::WindowFlags f) : TabForm
|
||||
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("About");
|
||||
menus << tr("General") << tr("Account") << tr("System") << tr("About");
|
||||
widget->addItems(menus);
|
||||
widget->setSpacing(3);
|
||||
for (int i = 0; i < menus.count(); ++i) {
|
||||
@@ -58,29 +59,32 @@ AdminSettingForm::AdminSettingForm(QWidget* parent, Qt::WindowFlags f) : TabForm
|
||||
//systemSetting->setText("systemSetting");
|
||||
//stackedWidget->addWidget(systemSetting);
|
||||
|
||||
QLabel* Info = new QLabel(this);
|
||||
Info->setText("info");
|
||||
stackedWidget->addWidget(Info);
|
||||
//QLabel* Info = new QLabel(this);
|
||||
//Info->setText("info");
|
||||
//stackedWidget->addWidget(Info);
|
||||
|
||||
//UserOperationLogForm* operationLogForm = new UserOperationLogForm(this);
|
||||
//stackedWidget->addWidget(operationLogForm);
|
||||
|
||||
QLabel* about = new QLabel(this);
|
||||
about->setText(tr("About"));
|
||||
//QLabel* about = new QLabel(this);
|
||||
//about->setText(tr("About"));
|
||||
|
||||
AboutWidget* about = new AboutWidget(this);
|
||||
stackedWidget->addWidget(about);
|
||||
|
||||
|
||||
widget->setCurrentRow(0);
|
||||
connect(widget, &QListWidget::currentRowChanged, [=](int rowindex) {
|
||||
stackedWidget->setCurrentIndex(rowindex);
|
||||
});
|
||||
connect(EventCenter::Default(), &EventCenter::ReloadLanguage, [=]() {
|
||||
QStringList menus2;
|
||||
menus2 << tr("General") << tr("Account") << tr("System") << tr("Information") << tr("About");
|
||||
menus2 << tr("General") << tr("Account") << tr("System") << tr("About");
|
||||
widget->clear();
|
||||
widget->addItems(menus2);
|
||||
for (int i = 0; i < menus.count(); ++i) {
|
||||
widget->item(i)->setTextAlignment(Qt::AlignCenter);
|
||||
}
|
||||
about->setText(tr("About"));
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
246
src/aboutwidget.cpp
Normal file
246
src/aboutwidget.cpp
Normal file
@@ -0,0 +1,246 @@
|
||||
#include "aboutwidget.h"
|
||||
#include <QVBoxLayout>
|
||||
#include <QLabel>
|
||||
#include <QHBoxLayout>
|
||||
#include <QPushButton>
|
||||
#include "event/EventCenter.h"
|
||||
#include <QStringList>
|
||||
#include <QProcess>
|
||||
|
||||
#include<stdio.h>
|
||||
#define BUFFER_LENGTH 100
|
||||
|
||||
AboutWidget::AboutWidget(QWidget* parent)
|
||||
: QWidget(parent)
|
||||
{
|
||||
initUi();
|
||||
}
|
||||
|
||||
AboutWidget::~AboutWidget()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void AboutWidget::initUi()
|
||||
{
|
||||
const int subContentMargin = 10;
|
||||
const int subContentSpacing = 20;
|
||||
|
||||
QVBoxLayout* pMainLayout;
|
||||
QHBoxLayout* pProductVerLayout;
|
||||
QLabel* pProductVer;
|
||||
QPushButton* pBtnHelp;
|
||||
QLabel* pCompanyCopyRight;
|
||||
QLabel* pGuiVer;
|
||||
QLabel* pEmbededSoftVer;
|
||||
QLabel* pReconSotfVer;
|
||||
QLabel* pFEBVer;
|
||||
QLabel* pQtVer;
|
||||
QLabel* pQtCopyright;
|
||||
//QLabel* pLogVer;
|
||||
//QLabel* pLogCopyright;
|
||||
QLabel* pJsoncppVer;
|
||||
QLabel* pJsoncppCopyright;
|
||||
QLabel* pDcmtkVer;
|
||||
QLabel* pDcmtkCopyright;
|
||||
|
||||
QLabel* pSUSEVer;
|
||||
|
||||
this->setSizePolicy(QSizePolicy::Maximum, QSizePolicy::Fixed);
|
||||
pMainLayout = new QVBoxLayout(this);
|
||||
pMainLayout->setAlignment(Qt::AlignLeft);
|
||||
pMainLayout->setSpacing(10);
|
||||
|
||||
pProductVerLayout = new QHBoxLayout(this);
|
||||
pMainLayout->addLayout(pProductVerLayout);
|
||||
|
||||
pProductVer = new QLabel(this);
|
||||
pProductVer->setText(tr("HJ-USCT-01 V1.0"));
|
||||
pProductVerLayout->addWidget(pProductVer);
|
||||
|
||||
pBtnHelp = new QPushButton(this);
|
||||
pBtnHelp->setText(tr("?"));
|
||||
pBtnHelp->setFixedWidth(50);
|
||||
pProductVerLayout->addWidget(pBtnHelp);
|
||||
|
||||
pCompanyCopyRight = new QLabel(this);
|
||||
pCompanyCopyRight->setObjectName("normal");
|
||||
pCompanyCopyRight->setText(tr("Copyright © 2017-2022 Zhejiang Equilibrium Nine Medical Equipment Co., Ltd. All Rights Reversed"));
|
||||
pCompanyCopyRight->setContentsMargins(subContentMargin, 0, 0, 0);
|
||||
pMainLayout->addWidget(pCompanyCopyRight);
|
||||
|
||||
pMainLayout->addSpacing(subContentSpacing);
|
||||
|
||||
pGuiVer = new QLabel(this);
|
||||
pGuiVer->setText(tr("GUI Software V1.3"));
|
||||
pGuiVer->setContentsMargins(subContentMargin, 0, 0, 0);
|
||||
pMainLayout->addWidget(pGuiVer);
|
||||
|
||||
pEmbededSoftVer = new QLabel(this);
|
||||
pEmbededSoftVer->setText(tr("Embedded Software V1.5"));
|
||||
pEmbededSoftVer->setContentsMargins(subContentMargin, 0, 0, 0);
|
||||
pMainLayout->addWidget(pEmbededSoftVer);
|
||||
|
||||
pReconSotfVer = new QLabel(this);
|
||||
pReconSotfVer->setText(tr("Reconstruction Software V1.2"));
|
||||
pReconSotfVer->setContentsMargins(subContentMargin, 0, 0, 0);
|
||||
pMainLayout->addWidget(pReconSotfVer);
|
||||
pMainLayout->addSpacing(subContentSpacing);
|
||||
|
||||
pFEBVer = new QLabel(this);
|
||||
pFEBVer->setText(tr("FEB Information"));
|
||||
pFEBVer->setContentsMargins(subContentMargin, 0, 0, 0);
|
||||
pMainLayout->addWidget(pFEBVer);
|
||||
pMainLayout->addSpacing(subContentSpacing);
|
||||
|
||||
|
||||
pQtVer = new QLabel(tr("Qt 5.12.0"), this);
|
||||
pMainLayout->addWidget(pQtVer);
|
||||
//pQtCopyright = new QLabel(tr("Copyright (c) 2017 The Qt Company Ltd."), this);
|
||||
//pQtCopyright->setObjectName("normal");
|
||||
//pQtCopyright->setContentsMargins(subContentMargin, 0, 0, 0);
|
||||
//pMainLayout->addWidget(pQtCopyright);
|
||||
pMainLayout->addSpacing(subContentSpacing);
|
||||
|
||||
//pLogVer = new QLabel(this);
|
||||
//pLogVer->setText(tr("spdlog 1.8.2"));
|
||||
//pLogVer->setObjectName("lbl_aboutwidget_log4cxx");
|
||||
//pMainLayout->addWidget(pLogVer);
|
||||
//pLogCopyright = new QLabel(this);
|
||||
//pLogCopyright->setText(tr("Copyright (c) 2016 Gabi Melman."));
|
||||
//pLogCopyright->setContentsMargins(subContentMargin, 0, 0, 0);
|
||||
//pMainLayout->addWidget(pLogCopyright);
|
||||
|
||||
|
||||
|
||||
|
||||
pSUSEVer = new QLabel(this);
|
||||
pSUSEVer->setText(getLinuxVersion());
|
||||
pMainLayout->addWidget(pSUSEVer);
|
||||
pMainLayout->addSpacing(subContentSpacing);
|
||||
|
||||
pDcmtkVer = new QLabel(this);
|
||||
pDcmtkVer->setText(getDCMTKVersion());
|
||||
pMainLayout->addWidget(pDcmtkVer);
|
||||
pDcmtkCopyright = new QLabel(this);
|
||||
pDcmtkCopyright->setObjectName("normal");
|
||||
pDcmtkCopyright->setText(tr("Copyright (c) 1994-2021, OFFIS e.V."));
|
||||
pDcmtkCopyright->setContentsMargins(subContentMargin, 0, 0, 0);
|
||||
pMainLayout->addWidget(pDcmtkCopyright);
|
||||
pMainLayout->addSpacing(subContentSpacing);
|
||||
|
||||
|
||||
pJsoncppVer = new QLabel(this);
|
||||
pJsoncppVer->setText(tr("cJSON"));
|
||||
pMainLayout->addWidget(pJsoncppVer);
|
||||
pJsoncppCopyright = new QLabel(this);
|
||||
pJsoncppCopyright->setObjectName("normal");
|
||||
pJsoncppCopyright->setText(tr("Copyright (c) 2009-2017 Dave Gamble"));
|
||||
pJsoncppCopyright->setContentsMargins(subContentMargin, 0, 0, 0);
|
||||
pMainLayout->addWidget(pJsoncppCopyright);
|
||||
pMainLayout->addSpacing(subContentSpacing);
|
||||
|
||||
pMainLayout->addStretch();
|
||||
|
||||
connect(pBtnHelp, SIGNAL(clicked()), this, SLOT(openHelpFile()));
|
||||
|
||||
connect(EventCenter::Default(), &EventCenter::ReloadLanguage, [=]() {
|
||||
pProductVer->setText(tr("HJ-USCT-01 V1.0"));
|
||||
pBtnHelp->setText(tr("?"));
|
||||
pCompanyCopyRight->setText(tr("Copyright © 2017-2020 Zhejiang Equilibrium Nine Medical Equipment Co., Ltd. All Rights Reversed"));
|
||||
pGuiVer->setText(tr("GUI Software V1.3"));
|
||||
pEmbededSoftVer->setText(tr("Embedded Software V1.5"));
|
||||
pReconSotfVer->setText(tr("Reconstruction Software V1.2"));
|
||||
pFEBVer->setText(tr("FEB Information"));
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
bool AboutWidget::execResult(const char* cmd, std::string& result) {
|
||||
#ifndef WIN32
|
||||
FILE* fp = nullptr;
|
||||
if (!(fp = popen(cmd, "r")))
|
||||
{
|
||||
result.append(strerror(errno));
|
||||
pclose(fp);
|
||||
return false;
|
||||
}
|
||||
char buffer[BUFFER_LENGTH];
|
||||
memset(buffer, 0, BUFFER_LENGTH);
|
||||
while (fgets(buffer, BUFFER_LENGTH, fp))
|
||||
{
|
||||
result.append(buffer, strlen(buffer) - 1);
|
||||
}
|
||||
pclose(fp);
|
||||
return true;
|
||||
#else
|
||||
return false;
|
||||
#endif // WIN32
|
||||
|
||||
}
|
||||
|
||||
|
||||
QString AboutWidget::getLinuxVersion()
|
||||
{
|
||||
std::string str;
|
||||
if (execResult("cat /proc/version", str))
|
||||
{
|
||||
QString qstr = QString::fromStdString(str);
|
||||
return qstr.section(')', 0, 0).append(")");
|
||||
}
|
||||
return QString("Unable to get Linux version!");
|
||||
}
|
||||
|
||||
QString AboutWidget::getDCMTKVersion()
|
||||
{
|
||||
std::string str;
|
||||
if (execResult2("zypper info dcmtk", str))
|
||||
{
|
||||
QString qstr = QString::fromStdString(str);
|
||||
QStringList strList = qstr.split('\n');
|
||||
for (int i = 0; i < strList.size(); i++)
|
||||
{
|
||||
if (strList.at(i).contains("Version"))
|
||||
{
|
||||
QStringList strList2 = strList.at(i).split(':');
|
||||
return QString("DCMTK %1").arg(strList2[1]);
|
||||
}
|
||||
}
|
||||
};
|
||||
return QString("Unable to get DCMTK version!");
|
||||
}
|
||||
|
||||
|
||||
bool AboutWidget::execResult2(const char* cmd, std::string& result)
|
||||
{
|
||||
|
||||
QProcess* myProcess = new QProcess;
|
||||
QStringList args;
|
||||
args << "-c" << cmd;
|
||||
connect(myProcess, SIGNAL(finished(int)), myProcess, SLOT(deleteLater()));
|
||||
myProcess->start("/bin/sh", args);
|
||||
|
||||
if (!myProcess->waitForFinished() || myProcess->exitCode() != 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
result.append(myProcess->readAllStandardOutput());
|
||||
return true;
|
||||
|
||||
}
|
||||
void AboutWidget::openHelpFile()
|
||||
{
|
||||
QString userManulFile = QCoreApplication::applicationDirPath() + "/userManual.pdf";
|
||||
|
||||
QFileInfo file(userManulFile);
|
||||
if (file.exists())
|
||||
{
|
||||
QDesktopServices::openUrl(QUrl::fromLocalFile(userManulFile));
|
||||
}
|
||||
//else
|
||||
//{
|
||||
// EQ9MessageBox box;
|
||||
// box.setMessage(tr("can't find the user manual file!"));
|
||||
// box.exec();
|
||||
//}
|
||||
}
|
||||
41
src/aboutwidget.h
Normal file
41
src/aboutwidget.h
Normal file
@@ -0,0 +1,41 @@
|
||||
#ifndef _ABOUTWIDGET_H_
|
||||
#define _ABOUTWIDGET_H_
|
||||
|
||||
#include <QObject>
|
||||
#include <QWidget>
|
||||
#include <QDesktopServices>
|
||||
#include <QUrl>
|
||||
#include <QFileInfo>
|
||||
#include <QCoreApplication>
|
||||
|
||||
class QVBoxLayout;
|
||||
class QHBoxLayout;
|
||||
class QPushButton;
|
||||
class QLabel;
|
||||
|
||||
class AboutWidget : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit AboutWidget(QWidget* parent = nullptr);
|
||||
~AboutWidget();
|
||||
|
||||
|
||||
|
||||
private slots:
|
||||
void openHelpFile();
|
||||
|
||||
private:
|
||||
void initUi();
|
||||
bool execResult(const char* cmd, std::string& result);
|
||||
bool execResult2(const char* cmd, std::string& result);
|
||||
|
||||
QString getLinuxVersion();
|
||||
QString getDCMTKVersion();
|
||||
|
||||
//QString queryVersion(const QString& packName);
|
||||
|
||||
};
|
||||
|
||||
|
||||
#endif // !_ABOUTWIDGET_H_
|
||||
Binary file not shown.
File diff suppressed because one or more lines are too long
@@ -112,6 +112,7 @@ systemSettingForm::systemSettingForm(QWidget* parent) :
|
||||
|
||||
ui->btnPro->setText(JsonObject::Instance()->defaultProtocal());
|
||||
ui->btnFlt->setText(JsonObject::Instance()->defaultFilter());
|
||||
ui->swt_verify->setChecked(true);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,57 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="zh_CN">
|
||||
<context>
|
||||
<name>AboutWidget</name>
|
||||
<message>
|
||||
<source>HJ-USCT-01 V1.0</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Copyright © 2017-2020 Zhejiang Equilibrium Nine Medical Equipment Co., Ltd. All Rights Reversed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>GUI Software V1.3</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Embedded Software V1.5</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Reconstruction Software V1.2</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>FEB Information</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Copyright © 2017-2022 Zhejiang Equilibrium Nine Medical Equipment Co., Ltd. All Rights Reversed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Qt 5.12.0</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>cJSON</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Copyright (c) 1994-2021, OFFIS e.V.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Copyright (c) 2009-2017 Dave Gamble</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>AccountFormDialog</name>
|
||||
<message>
|
||||
@@ -145,10 +196,6 @@
|
||||
<source>System</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Information</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>AlertDialog</name>
|
||||
|
||||
@@ -1,6 +1,57 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="zh_CN">
|
||||
<context>
|
||||
<name>AboutWidget</name>
|
||||
<message>
|
||||
<source>HJ-USCT-01 V1.0</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Copyright © 2017-2020 Zhejiang Equilibrium Nine Medical Equipment Co., Ltd. All Rights Reversed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>GUI Software V1.3</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Embedded Software V1.5</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Reconstruction Software V1.2</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>FEB Information</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Copyright © 2017-2022 Zhejiang Equilibrium Nine Medical Equipment Co., Ltd. All Rights Reversed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Qt 5.12.0</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>cJSON</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Copyright (c) 1994-2021, OFFIS e.V.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Copyright (c) 2009-2017 Dave Gamble</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>AccountFormDialog</name>
|
||||
<message>
|
||||
@@ -145,10 +196,6 @@
|
||||
<source>System</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Information</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>AlertDialog</name>
|
||||
|
||||
Binary file not shown.
@@ -1,6 +1,75 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="zh_CN">
|
||||
<context>
|
||||
<name>AboutWidget</name>
|
||||
<message>
|
||||
<location filename="../aboutwidget.cpp" line="58"/>
|
||||
<location filename="../aboutwidget.cpp" line="148"/>
|
||||
<source>HJ-USCT-01 V1.0</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutwidget.cpp" line="62"/>
|
||||
<location filename="../aboutwidget.cpp" line="149"/>
|
||||
<source>?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutwidget.cpp" line="134"/>
|
||||
<source>cJSON</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutwidget.cpp" line="150"/>
|
||||
<source>Copyright © 2017-2020 Zhejiang Equilibrium Nine Medical Equipment Co., Ltd. All Rights Reversed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutwidget.cpp" line="75"/>
|
||||
<location filename="../aboutwidget.cpp" line="151"/>
|
||||
<source>GUI Software V1.3</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutwidget.cpp" line="68"/>
|
||||
<source>Copyright © 2017-2022 Zhejiang Equilibrium Nine Medical Equipment Co., Ltd. All Rights Reversed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutwidget.cpp" line="80"/>
|
||||
<location filename="../aboutwidget.cpp" line="152"/>
|
||||
<source>Embedded Software V1.5</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutwidget.cpp" line="85"/>
|
||||
<location filename="../aboutwidget.cpp" line="153"/>
|
||||
<source>Reconstruction Software V1.2</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutwidget.cpp" line="91"/>
|
||||
<location filename="../aboutwidget.cpp" line="154"/>
|
||||
<source>FEB Information</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutwidget.cpp" line="97"/>
|
||||
<source>Qt 5.12.0</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutwidget.cpp" line="127"/>
|
||||
<source>Copyright (c) 1994-2021, OFFIS e.V.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutwidget.cpp" line="138"/>
|
||||
<source>Copyright (c) 2009-2017 Dave Gamble</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>AccountFormDialog</name>
|
||||
<message>
|
||||
@@ -182,28 +251,26 @@
|
||||
<context>
|
||||
<name>AdminSettingForm</name>
|
||||
<message>
|
||||
<location filename="../AdminSettingForm.cpp" line="31"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="77"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="32"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="82"/>
|
||||
<source>General</source>
|
||||
<translation>通用</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../AdminSettingForm.cpp" line="31"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="77"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="32"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="82"/>
|
||||
<source>Account</source>
|
||||
<translation>用户</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../AdminSettingForm.cpp" line="31"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="77"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="32"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="82"/>
|
||||
<source>System</source>
|
||||
<translation>系统</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../AdminSettingForm.cpp" line="31"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="77"/>
|
||||
<source>Information</source>
|
||||
<translation>信息</translation>
|
||||
<translation type="vanished">信息</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Log</source>
|
||||
@@ -226,10 +293,8 @@
|
||||
<translation type="vanished">操作日志</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../AdminSettingForm.cpp" line="31"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="69"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="77"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="83"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="32"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="82"/>
|
||||
<source>About</source>
|
||||
<translation>关于</translation>
|
||||
</message>
|
||||
|
||||
@@ -1,6 +1,75 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="zh_CN">
|
||||
<context>
|
||||
<name>AboutWidget</name>
|
||||
<message>
|
||||
<location filename="../aboutwidget.cpp" line="58"/>
|
||||
<location filename="../aboutwidget.cpp" line="148"/>
|
||||
<source>HJ-USCT-01 V1.0</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutwidget.cpp" line="62"/>
|
||||
<location filename="../aboutwidget.cpp" line="149"/>
|
||||
<source>?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutwidget.cpp" line="134"/>
|
||||
<source>cJSON</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutwidget.cpp" line="150"/>
|
||||
<source>Copyright © 2017-2020 Zhejiang Equilibrium Nine Medical Equipment Co., Ltd. All Rights Reversed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutwidget.cpp" line="75"/>
|
||||
<location filename="../aboutwidget.cpp" line="151"/>
|
||||
<source>GUI Software V1.3</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutwidget.cpp" line="68"/>
|
||||
<source>Copyright © 2017-2022 Zhejiang Equilibrium Nine Medical Equipment Co., Ltd. All Rights Reversed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutwidget.cpp" line="80"/>
|
||||
<location filename="../aboutwidget.cpp" line="152"/>
|
||||
<source>Embedded Software V1.5</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutwidget.cpp" line="85"/>
|
||||
<location filename="../aboutwidget.cpp" line="153"/>
|
||||
<source>Reconstruction Software V1.2</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutwidget.cpp" line="91"/>
|
||||
<location filename="../aboutwidget.cpp" line="154"/>
|
||||
<source>FEB Information</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutwidget.cpp" line="97"/>
|
||||
<source>Qt 5.12.0</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutwidget.cpp" line="127"/>
|
||||
<source>Copyright (c) 1994-2021, OFFIS e.V.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutwidget.cpp" line="138"/>
|
||||
<source>Copyright (c) 2009-2017 Dave Gamble</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>AccountFormDialog</name>
|
||||
<message>
|
||||
@@ -182,28 +251,26 @@
|
||||
<context>
|
||||
<name>AdminSettingForm</name>
|
||||
<message>
|
||||
<location filename="../AdminSettingForm.cpp" line="31"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="77"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="32"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="82"/>
|
||||
<source>General</source>
|
||||
<translation>通用</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../AdminSettingForm.cpp" line="31"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="77"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="32"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="82"/>
|
||||
<source>Account</source>
|
||||
<translation>用户</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../AdminSettingForm.cpp" line="31"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="77"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="32"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="82"/>
|
||||
<source>System</source>
|
||||
<translation>系统</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../AdminSettingForm.cpp" line="31"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="77"/>
|
||||
<source>Information</source>
|
||||
<translation>信息</translation>
|
||||
<translation type="vanished">信息</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Log</source>
|
||||
@@ -226,10 +293,8 @@
|
||||
<translation type="vanished">操作日志</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../AdminSettingForm.cpp" line="31"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="69"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="77"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="83"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="32"/>
|
||||
<location filename="../AdminSettingForm.cpp" line="82"/>
|
||||
<source>About</source>
|
||||
<translation>关于</translation>
|
||||
</message>
|
||||
|
||||
Reference in New Issue
Block a user