2025-05-15T09:10:09

This commit is contained in:
yuntang 2025-05-15 09:10:10 +08:00
parent f2344ce869
commit dc255f7fc1
14 changed files with 9 additions and 4 deletions

Binary file not shown.

View File

@ -7,6 +7,11 @@ CONFIG += c++11
CONFIG+=precompile_header
PRECOMPILED_HEADER=stable.h
#
VERSION = 0.9.7.3
# 设置目标文件名,包含版本号
TARGET = AnalysisTool_$${VERSION}
# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the

View File

@ -21,8 +21,6 @@ enum AnalysisMode{
#endif
namespace Global {
const QString ConSoftVersion = "0.9.7.1";
const QString ExperimentDirPath = QDir::currentPath()+"/../experiment_data";
const QString SampleDataFloder = ExperimentDirPath + "/sample_data";

View File

@ -59,6 +59,8 @@ int main(int argc, char *argv[])
w.show();
#endif
qDebug() << "Application version:" << qApp->applicationVersion();
// EnthalpyDataCorrectionForm edf;
// edf.show();

View File

@ -43,7 +43,7 @@ MainWindow::MainWindow(QWidget *parent)
ui->statusbar->showMessage("showMessage show temp message!");
// permenent show
QLabel *permenentLabel = new QLabel(this);
permenentLabel->setText("Software Ver:" + Global::ConSoftVersion);
permenentLabel->setText("Software Ver:" + qApp->applicationVersion());
ui->statusbar->addPermanentWidget(permenentLabel);
ui->actionTimeAxisAnalysisPCTMode->setCheckable(true);

View File

@ -29,7 +29,7 @@ AboutForm::AboutForm(QWidget *parent) :
"<p style=\"font-size: 10px;\">本软件基于 Qt 框架开发Qt 遵循 "
"<a href='https://www.gnu.org/licenses/lgpl-3.0.html'>LGPL 协议</a>。</p>"
"<p style=\"font-size: 10px;\">Qt 官网:<a href='https://www.qt.io'>www.qt.io</a></p>")
.arg(Global::ConSoftVersion);
.arg(qApp->applicationVersion());
ui->labelContent->setAlignment(Qt::AlignTop | Qt::AlignLeft);
ui->labelContent->setTextFormat(Qt::RichText);