diff --git a/axtrace/AT4.qrc b/axtrace/AT4.qrc index bee6363..739e2f8 100644 --- a/axtrace/AT4.qrc +++ b/axtrace/AT4.qrc @@ -1,6 +1,7 @@  images/AxTrace.ico + images/AxTrace.png images/capture.png images/doc-pause.png images/save.png diff --git a/axtrace/AT4_MainWindow.cpp b/axtrace/AT4_MainWindow.cpp index a782ba1..04d1b7d 100644 --- a/axtrace/AT4_MainWindow.cpp +++ b/axtrace/AT4_MainWindow.cpp @@ -355,10 +355,13 @@ void MainWindow::_onSetting() //-------------------------------------------------------------------------------------------- void MainWindow::_onAbout() { + QPixmap iconPix(tr(":/images/AxTrace.png")); + QMessageBox msgBox; msgBox.setWindowTitle(tr("About AxTrace")); msgBox.setTextFormat(Qt::RichText); msgBox.setText(tr("AXIA|Trace 4
Copyright www.thecodeway.com")); + msgBox.setIconPixmap(iconPix); msgBox.exec(); } diff --git a/axtrace/AxTrace.rc b/axtrace/AxTrace.rc index 4785737..917b27a 100644 --- a/axtrace/AxTrace.rc +++ b/axtrace/AxTrace.rc @@ -5,8 +5,8 @@ IDI_ICON1 ICON "images/AxTrace.ico" LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED VS_VERSION_INFO VERSIONINFO - FILEVERSION 4, 2, 0, 0 - PRODUCTVERSION 4, 2, 0, 0 + FILEVERSION 4, 3, 0, 0 + PRODUCTVERSION 4, 3, 0, 0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -23,12 +23,12 @@ BEGIN BEGIN VALUE "CompanyName", "thecodeway.com" VALUE "FileDescription", "AxTrace4" - VALUE "FileVersion", "4.2.0.0" + VALUE "FileVersion", "4.3.0.0" VALUE "InternalName", "AxTrace.rc" VALUE "LegalCopyright", "Copyright (C) thecodeway.com 2023" VALUE "OriginalFilename", "AxTrace.rc" VALUE "ProductName", "Axia|Trace4" - VALUE "ProductVersion", "4.2.0.0" + VALUE "ProductVersion", "4.3.0.0" END END BLOCK "VarFileInfo" diff --git a/axtrace/images/AxTrace.png b/axtrace/images/AxTrace.png new file mode 100644 index 0000000..7aa6a99 Binary files /dev/null and b/axtrace/images/AxTrace.png differ