diff --git a/src/AdminSettingForm.cpp b/src/AdminSettingForm.cpp index b426927..5c06791 100644 --- a/src/AdminSettingForm.cpp +++ b/src/AdminSettingForm.cpp @@ -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")); }); } diff --git a/src/aboutwidget.cpp b/src/aboutwidget.cpp new file mode 100644 index 0000000..b3c4aea --- /dev/null +++ b/src/aboutwidget.cpp @@ -0,0 +1,246 @@ +#include "aboutwidget.h" +#include +#include +#include +#include +#include "event/EventCenter.h" +#include +#include + +#include +#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(); + //} +} \ No newline at end of file diff --git a/src/aboutwidget.h b/src/aboutwidget.h new file mode 100644 index 0000000..e0a03b2 --- /dev/null +++ b/src/aboutwidget.h @@ -0,0 +1,41 @@ +#ifndef _ABOUTWIDGET_H_ +#define _ABOUTWIDGET_H_ + +#include +#include +#include +#include +#include +#include + +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_ diff --git a/src/fonts/MicrosoftYahei.ttf b/src/fonts/MicrosoftYahei.ttf deleted file mode 100644 index ea3c090..0000000 Binary files a/src/fonts/MicrosoftYahei.ttf and /dev/null differ diff --git a/src/stylesheet/Dark2.qss b/src/stylesheet/Dark2.qss index 9a29092..02ef690 100644 --- a/src/stylesheet/Dark2.qss +++ b/src/stylesheet/Dark2.qss @@ -1 +1 @@ - /*------1.silver-->grey--------------------------*/ *{background-color:#3c3c3c; color:#fcfcfc;margin:0;font-size:16px;} QTabBar::tab { height:60px; width:300px; font-size: 25px; background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #505050, stop: 1.0 #333333); border: 2px solid #505050; border-bottom-left-radius: 50%; border-bottom-right-radius: 50%; min-width: 8ex; padding: 2px; } QTabBar::tab:selected, QTabBar::tab:hover { border-top:5px solid #4a88c7; background: #505050;} QTabWidget::pane{margin:0} QPlainTextEdit{border:0px} QGroupBox{border:0px} QLabel{color:#fcfcfc; font-weight:bold; font-size:16px;} QLineEdit{min-height:36px;max-height:36px; border:1px solid #505050;color:grey;border-radius:3px;} QLineEdit:enabled{background-color: #505050;color:#fcfcfc;} QDateEdit{min-height:36px;max-height:36px; border:1px solid #505050;color:grey;border-radius:3px;} QDateEdit:enabled{background-color: #505050;color:#fcfcfc;} QTextEdit{ border:1px solid #505050;color:grey;border-radius:3px;} QTextEdit:enabled{background-color: #505050;color:#fcfcfc;} QComboBox{text-align:center;min-height:36px;max-height:36px; border:1px solid #505050} QComboBox:enabled{background-color: #505050} QComboBox::drop-down{width:20px} QComboBox QAbstractItemView{min-width:120px;} QComboBox QAbstractItemView::item {min-height:60px;max-height:60px; border:1px solid white;} QWidget QToolButton{border:none;border-radius:10%;font-size:26px; font-weight:Bold;padding:5px;} QWidget QToolButton:disabled{color:#606060 } QWidget QToolButton:hover{background:#505050;} QWidget QToolButton:checked{border:5px solid darkorange;padding:0px;} QPushButton{border:1px solid #505050 ;padding-left:50px;padding-right:50px; border-radius:5px; min-height:28px; max-height:28px; background:qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 #505050, stop:1 #606060);} QListView{border:none;margin:5px; font-weight:bold} QListView::item{background:#4d4d4d;min-height:30px; border:1px solid #505050; border-radius:5px} QListView::item:selected{background:#365880;font-weight:bold;color:#fcfcfc;} /*QListView::item:selected{ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ABAFE5, stop: 1 #8588B2); border:1px solid #505050; }*/ QHeaderView::section{background-color:#595959;min-height:50px;max-height:50px;font-weight:Bold; font-size:16px; border:1px solid #323232;} QHeaderView::section:horizontal{border-bottom: 1px solid rgb(0,170,255);} QHeaderView::section:vertical{min-height:36px;max-height:36px;} QTableView{border:none;alternate-background-color: #595959;selection-color:#fcfcfc;selection-background-color:#0078d8} /*-----------Specific---------------*/ QLabel#sliderPickerLabel{color:grey;padding:0;background:#505050;font-weight:normal;font-size:50px;} QWidget#topbarWidget{min-height:36px;max-height:36px;} QWidget#contentWidget{border-top:1px solid #505050;} QWidget#commandWidget{min-height:123px;max-height:123px;border-top:1px solid #505050; border-bottom:1px solid #323232;} QLabel#logo{min-width:30px;max-width:30px} QLabel#company{min-width:150px;max-width:150px; } QLabel#systemMsgBar{min-width:500px;} QLabel#warn{color:#CCCC00;background:transparent;font-size:20px;} QWidget QWidget#statusBarWidget{min-width:300px;} QToolButton#btn_main{border:2px solid #0078d8;border-radius:10%;font-size:26px; font-weight:Bold;padding:5px;} QWidget#editcmdWidget{min-height:83px;max-height:83px;} QWidget#verSpaceLine{ border-right:1px solid #0078d8;} QWidget#topBottomLine{ border-top:2px solid #0078d8;border-bottom:2px solid #0078d8;background:transparent} /*-----Settings*/ QPushButton#BigBtn{ padding-left:0px; padding-right:0px; min-height:60px; max-height:60px; min-width:140px; max-width:140px; font-size: 20px; font-weight:bold } /*-----蒙版Dialog-----*/ QDialog QWidget#innerWidget{ background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0.0 darkgray, stop: 0.5 lightgray, stop: 1.0 darkgray); border-radius:20px;border:5px solid #0078d8; } QDialog#MessageDialog QWidget QWidget{ background:transparent;color:#3078d8} QDialog#MessageDialog QWidget QWidget QLabel{ font-size:30px} #spacer_1, #spacer_2{min-width:2px;max-width:2px;margin-top:6px;margin-bottom:6px;border-right:1px solid #0078d8;} /*-----FormDialog-----*/ QPushButton#btnOK{background:#365880; font-weight:bold} QDialog#formDialog{border:3px solid grey; border-radius:8px} QWidget#slider_one{border:1px solid #505050; border-radius:8px} QWidget#formWidget QLabel#endline{border-bottom:1px solid grey} QWidget#formWidget{font-size:30px;} QLabel#title{font-size:30px; border-bottom:1px solid #3078d8 } QWidget#edit_patient{min-width:300px;max-width:300px;} QToolButton#sexBtn{min-width:120px;max-width:120px;font-size:20px;padding:2px;} QToolButton#sexBtn:disabled{color:grey} QWidget#sexpanelwidget{border:1px solid #505050;} QWidget#sexpanelwidget:enabled{background-color: #505050;} QToolButton#sexBtn:checked{border:2px solid darkorange;padding:0px;} \ No newline at end of file + /*------1.silver-->grey--------------------------*/ *{background-color:#3c3c3c; color:#fcfcfc;margin:0;font-size:16px;} QTabBar::tab { height:60px; width:300px; font-size: 25px; background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #505050, stop: 1.0 #333333); border: 2px solid #505050; border-bottom-left-radius: 50%; border-bottom-right-radius: 50%; min-width: 8ex; padding: 2px; } QTabBar::tab:selected, QTabBar::tab:hover { border-top:5px solid #4a88c7; background: #505050;} QTabWidget::pane{margin:0} QPlainTextEdit{border:0px} QGroupBox{border:0px} QLabel{color:#fcfcfc; font-weight:bold; font-size:16px;} QLineEdit{min-height:36px;max-height:36px; border:1px solid #505050;color:grey;border-radius:3px;} QLineEdit:enabled{background-color: #505050;color:#fcfcfc;} QDateEdit{min-height:36px;max-height:36px; border:1px solid #505050;color:grey;border-radius:3px;} QDateEdit:enabled{background-color: #505050;color:#fcfcfc;} QTextEdit{ border:1px solid #505050;color:grey;border-radius:3px;} QTextEdit:enabled{background-color: #505050;color:#fcfcfc;} QComboBox{text-align:center;min-height:36px;max-height:36px; border:1px solid #505050} QComboBox:enabled{background-color: #505050} QComboBox::drop-down{width:20px} QComboBox QAbstractItemView{min-width:120px;} QComboBox QAbstractItemView::item {min-height:60px;max-height:60px; border:1px solid white;} QWidget QToolButton{border:none;border-radius:10%;font-size:26px; font-weight:Bold;padding:5px;} QWidget QToolButton:disabled{color:#606060 } QWidget QToolButton:hover{background:#505050;} QWidget QToolButton:checked{border:5px solid darkorange;padding:0px;} QPushButton{border:1px solid #505050 ;padding-left:50px;padding-right:50px; border-radius:5px; min-height:28px; max-height:28px; background:qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 #505050, stop:1 #606060);} QListView{border:none;margin:5px; font-weight:bold} QListView::item{background:#4d4d4d;min-height:30px; border:1px solid #505050; border-radius:5px} QListView::item:selected{background:#365880;font-weight:bold;color:#fcfcfc;} /*QListView::item:selected{ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ABAFE5, stop: 1 #8588B2); border:1px solid #505050; }*/ QHeaderView::section{background-color:#595959;min-height:50px;max-height:50px;font-weight:Bold; font-size:16px; border:1px solid #323232;} QHeaderView::section:horizontal{border-bottom: 1px solid rgb(0,170,255);} QHeaderView::section:vertical{min-height:36px;max-height:36px;} QTableView{border:none;alternate-background-color: #595959;selection-color:#fcfcfc;selection-background-color:#0078d8} /*-----------Specific---------------*/ QLabel#sliderPickerLabel{color:grey;padding:0;background:#505050;font-weight:normal;font-size:50px;} QWidget#topbarWidget{min-height:36px;max-height:36px;} QWidget#contentWidget{border-top:1px solid #505050;} QWidget#commandWidget{min-height:123px;max-height:123px;border-top:1px solid #505050; border-bottom:1px solid #323232;} QLabel#logo{min-width:30px;max-width:30px} QLabel#company{min-width:150px;max-width:150px; } QLabel#systemMsgBar{min-width:500px;} QLabel#warn{color:#CCCC00;background:transparent;font-size:20px;} QWidget QWidget#statusBarWidget{min-width:300px;} QToolButton#btn_main{border:2px solid #0078d8;border-radius:10%;font-size:26px; font-weight:Bold;padding:5px;} QWidget#editcmdWidget{min-height:83px;max-height:83px;} QWidget#verSpaceLine{ border-right:1px solid #0078d8;} QWidget#topBottomLine{ border-top:2px solid #0078d8;border-bottom:2px solid #0078d8;background:transparent} /*-----Settings*/ QPushButton#BigBtn{ padding-left:0px; padding-right:0px; min-height:60px; max-height:60px; min-width:140px; max-width:140px; font-size: 20px; font-weight:bold } /*-----蒙版Dialog-----*/ QDialog QWidget#innerWidget{ background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0.0 darkgray, stop: 0.5 lightgray, stop: 1.0 darkgray); border-radius:20px;border:5px solid #0078d8; } QDialog#MessageDialog QWidget QWidget{ background:transparent;color:#3078d8} QDialog#MessageDialog QWidget QWidget QLabel{ font-size:30px} #spacer_1, #spacer_2{min-width:2px;max-width:2px;margin-top:6px;margin-bottom:6px;border-right:1px solid #0078d8;} /*-----FormDialog-----*/ QPushButton#btnOK{background:#365880; font-weight:bold} QDialog#formDialog{border:3px solid grey; border-radius:8px} QWidget#slider_one{border:1px solid #505050; border-radius:8px} QWidget#formWidget QLabel#endline{border-bottom:1px solid grey} QWidget#formWidget{font-size:30px;} QLabel#title{font-size:30px; border-bottom:1px solid #3078d8 } QWidget#edit_patient{min-width:300px;max-width:300px;} QToolButton#sexBtn{min-width:120px;max-width:120px;font-size:20px;padding:2px;} QToolButton#sexBtn:disabled{color:grey} QWidget#sexpanelwidget{border:1px solid #505050;} QWidget#sexpanelwidget:enabled{background-color: #505050;} QToolButton#sexBtn:checked{border:2px solid darkorange;padding:0px;} /*---------Abount----------*/ QLabel#normal{color:#fcfcfc; font-weight:normal; font-size:16px;} \ No newline at end of file diff --git a/src/systemsettingform.cpp b/src/systemsettingform.cpp index eef9871..6c5ba55 100644 --- a/src/systemsettingform.cpp +++ b/src/systemsettingform.cpp @@ -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); }); } diff --git a/src/translations/en_US.ts b/src/translations/en_US.ts index a712ca6..f4f3d65 100644 --- a/src/translations/en_US.ts +++ b/src/translations/en_US.ts @@ -1,6 +1,57 @@ + + AboutWidget + + HJ-USCT-01 V1.0 + + + + ? + + + + Copyright © 2017-2020 Zhejiang Equilibrium Nine Medical Equipment Co., Ltd. All Rights Reversed + + + + GUI Software V1.3 + + + + Embedded Software V1.5 + + + + Reconstruction Software V1.2 + + + + FEB Information + + + + Copyright © 2017-2022 Zhejiang Equilibrium Nine Medical Equipment Co., Ltd. All Rights Reversed + + + + Qt 5.12.0 + + + + cJSON + + + + Copyright (c) 1994-2021, OFFIS e.V. + + + + Copyright (c) 2009-2017 Dave Gamble + + + AccountFormDialog @@ -145,10 +196,6 @@ System - - Information - - AlertDialog diff --git a/src/translations/en_US.ts.bak b/src/translations/en_US.ts.bak index a712ca6..f4f3d65 100644 --- a/src/translations/en_US.ts.bak +++ b/src/translations/en_US.ts.bak @@ -1,6 +1,57 @@ + + AboutWidget + + HJ-USCT-01 V1.0 + + + + ? + + + + Copyright © 2017-2020 Zhejiang Equilibrium Nine Medical Equipment Co., Ltd. All Rights Reversed + + + + GUI Software V1.3 + + + + Embedded Software V1.5 + + + + Reconstruction Software V1.2 + + + + FEB Information + + + + Copyright © 2017-2022 Zhejiang Equilibrium Nine Medical Equipment Co., Ltd. All Rights Reversed + + + + Qt 5.12.0 + + + + cJSON + + + + Copyright (c) 1994-2021, OFFIS e.V. + + + + Copyright (c) 2009-2017 Dave Gamble + + + AccountFormDialog @@ -145,10 +196,6 @@ System - - Information - - AlertDialog diff --git a/src/translations/zh_CN.qm b/src/translations/zh_CN.qm index 5a66488..8b66030 100644 Binary files a/src/translations/zh_CN.qm and b/src/translations/zh_CN.qm differ diff --git a/src/translations/zh_CN.ts b/src/translations/zh_CN.ts index b7fda39..0bbb6cc 100644 --- a/src/translations/zh_CN.ts +++ b/src/translations/zh_CN.ts @@ -1,6 +1,75 @@ + + AboutWidget + + + + HJ-USCT-01 V1.0 + + + + + + ? + + + + + cJSON + + + + + Copyright © 2017-2020 Zhejiang Equilibrium Nine Medical Equipment Co., Ltd. All Rights Reversed + + + + + + GUI Software V1.3 + + + + + Copyright © 2017-2022 Zhejiang Equilibrium Nine Medical Equipment Co., Ltd. All Rights Reversed + + + + + + Embedded Software V1.5 + + + + + + Reconstruction Software V1.2 + + + + + + FEB Information + + + + + Qt 5.12.0 + + + + + Copyright (c) 1994-2021, OFFIS e.V. + + + + + Copyright (c) 2009-2017 Dave Gamble + + + AccountFormDialog @@ -182,28 +251,26 @@ AdminSettingForm - - + + General 通用 - - + + Account 用户 - - + + System 系统 - - Information - 信息 + 信息 Log @@ -226,10 +293,8 @@ 操作日志 - - - - + + About 关于 diff --git a/src/translations/zh_CN.ts.bak b/src/translations/zh_CN.ts.bak index b7fda39..0bbb6cc 100644 --- a/src/translations/zh_CN.ts.bak +++ b/src/translations/zh_CN.ts.bak @@ -1,6 +1,75 @@ + + AboutWidget + + + + HJ-USCT-01 V1.0 + + + + + + ? + + + + + cJSON + + + + + Copyright © 2017-2020 Zhejiang Equilibrium Nine Medical Equipment Co., Ltd. All Rights Reversed + + + + + + GUI Software V1.3 + + + + + Copyright © 2017-2022 Zhejiang Equilibrium Nine Medical Equipment Co., Ltd. All Rights Reversed + + + + + + Embedded Software V1.5 + + + + + + Reconstruction Software V1.2 + + + + + + FEB Information + + + + + Qt 5.12.0 + + + + + Copyright (c) 1994-2021, OFFIS e.V. + + + + + Copyright (c) 2009-2017 Dave Gamble + + + AccountFormDialog @@ -182,28 +251,26 @@ AdminSettingForm - - + + General 通用 - - + + Account 用户 - - + + System 系统 - - Information - 信息 + 信息 Log @@ -226,10 +293,8 @@ 操作日志 - - - - + + About 关于