2025-05-15T09:10:09
This commit is contained in:
parent
f2344ce869
commit
dc255f7fc1
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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
|
||||
|
@ -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";
|
||||
|
@ -59,6 +59,8 @@ int main(int argc, char *argv[])
|
||||
w.show();
|
||||
#endif
|
||||
|
||||
qDebug() << "Application version:" << qApp->applicationVersion();
|
||||
|
||||
// EnthalpyDataCorrectionForm edf;
|
||||
// edf.show();
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user