Add turnoff button to login dialog

This commit is contained in:
kradchen
2023-09-08 10:20:10 +08:00
parent 662c02bdf9
commit 64bac0e960
6 changed files with 43 additions and 10 deletions

View File

@@ -46,7 +46,7 @@ void AboutForm::initUiWidget()
QLabel* pProductVer;
QPushButton* pBtnHelp;
QLabel* pCompanyCopyRight;
QLabel* pGuiVer;
QLabel* pMainVer;
QLabel* pEmbededSoftVer;
QLabel* pFEBVer;
QLabel* pQtVer;
@@ -90,12 +90,12 @@ void AboutForm::initUiWidget()
pMainLayout->addSpacing(subContentSpacing);
pGuiVer = new QLabel(this);
pGuiVer->setText(QString(tr("GUI Software V%1")).arg(getGUIVersion()));
pMainLayout->addWidget(pGuiVer);
pMainVer = new QLabel(this);
pMainVer->setText(QString(tr("USCT Software V0.1.0")));
pMainLayout->addWidget(pMainVer);
pEmbededSoftVer = new QLabel(this);
pEmbededSoftVer->setText(tr("Embedded Software %1").arg(getEmbVersion()));
pEmbededSoftVer->setText(DeviceManager::Default()->getSoftwareVersion());
pMainLayout->addWidget(pEmbededSoftVer);
@@ -104,7 +104,7 @@ void AboutForm::initUiWidget()
pMainLayout->addSpacing(subContentSpacing);
pFEBVer = new QLabel(this);
pFEBVer->setText(tr("FEB Information"));
pFEBVer->setText(QString(tr("GUI Software V%1")).arg(getGUIVersion()));
pMainLayout->addWidget(pFEBVer);
pMainLayout->addSpacing(subContentSpacing);
@@ -113,12 +113,12 @@ void AboutForm::initUiWidget()
pMainLayout->addSpacing(subContentSpacing);
pSUSEVer = new QLabel(this);
pSUSEVer->setText(tr("Loading..."));
pSUSEVer->setText(tr("Operation System Information Loading..."));
pMainLayout->addWidget(pSUSEVer);
pMainLayout->addSpacing(subContentSpacing);
pDcmtkVer = new QLabel(this);
pDcmtkVer->setText(tr("Loading..."));
pDcmtkVer->setText(tr("DICOM Library Information Loading..."));
pMainLayout->addWidget(pDcmtkVer);
pDcmtkCopyright = new QLabel(this);
pDcmtkCopyright->setObjectName("normal");
@@ -151,7 +151,7 @@ void AboutForm::initUiWidget()
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(QString(tr("GUI Software V%1")).arg(getGUIVersion()));
pMainVer->setText(QString(tr("GUI Software V%1")).arg(getGUIVersion()));
pEmbededSoftVer->setText(tr("Embedded Software %1").arg(getEmbVersion()));
mReconSotfVer->setText(tr("Reconstruction Software V1.2"));
pFEBVer->setText(tr("FEB Information"));