From 78cb0de2d31211f110cc495d641f6d962ef3b585 Mon Sep 17 00:00:00 2001 From: sunwen Date: Mon, 24 Jun 2024 14:10:15 +0800 Subject: [PATCH] feat: Add Qt Copyright and cjson version in aboutform. --- src/forms/settings/AboutForm.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/forms/settings/AboutForm.cpp b/src/forms/settings/AboutForm.cpp index f0b1eb3..19c12b3 100644 --- a/src/forms/settings/AboutForm.cpp +++ b/src/forms/settings/AboutForm.cpp @@ -112,6 +112,11 @@ void AboutForm::initUiWidget() pMainLayout->addWidget(pQtVer); pMainLayout->addSpacing(subContentSpacing); + pQtCopyright = new QLabel("Copyright 2008-2018 The Qt Company Ltd. All rights reserved.", this); + pQtCopyright->setObjectName("normal"); + pMainLayout->addWidget(pQtCopyright); + pMainLayout->addSpacing(subContentSpacing); + pSUSEVer = new QLabel(this); pSUSEVer->setText(tr("Operation System Information Loading...")); pMainLayout->addWidget(pSUSEVer); @@ -127,7 +132,7 @@ void AboutForm::initUiWidget() pMainLayout->addSpacing(subContentSpacing); pJsoncppVer = new QLabel(this); - pJsoncppVer->setText(tr("cJSON")); + pJsoncppVer->setText(tr("cJSON V1.7.16")); pMainLayout->addWidget(pJsoncppVer); pJsoncppCopyright = new QLabel(this); pJsoncppCopyright->setObjectName("normal");