Skip to content

Commit

Permalink
v0.0.3
Browse files Browse the repository at this point in the history
加入进度提示
优化加载速度(提升了十倍甚至九倍!)
  • Loading branch information
WisteFinch committed Dec 30, 2022
1 parent 3b159da commit 16bc316
Show file tree
Hide file tree
Showing 7 changed files with 218 additions and 94 deletions.
84 changes: 64 additions & 20 deletions WTSMT/CMakeLists.txt.user
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 7.0.2, 2022-07-24T11:45:44. -->
<!-- Written by QtCreator 8.0.1, 2022-12-30T20:52:30. -->
<qtcreator>
<data>
<variable>EnvironmentId</variable>
<value type="QByteArray">{fdcaa785-bb50-4b9e-a7b6-6431cc74e1e5}</value>
<value type="QByteArray">{00c6d094-3f81-4190-9a4c-2ce0bd764b8a}</value>
</data>
<data>
<variable>ProjectExplorer.Project.ActiveTarget</variable>
Expand Down Expand Up @@ -70,11 +70,6 @@
<valuemap type="QVariantMap" key="AutoTest.CheckStates"/>
<value type="int" key="AutoTest.RunAfterBuild">0</value>
<value type="bool" key="AutoTest.UseGlobal">true</value>
<valuelist type="QVariantList" key="ClangCodeModel.CustomCommandLineKey">
<value type="QString">-fno-delayed-template-parsing</value>
</valuelist>
<value type="bool" key="ClangCodeModel.UseGlobalConfig">true</value>
<value type="QString" key="ClangCodeModel.WarningConfigId">Builtin.BuildSystem</value>
<valuemap type="QVariantMap" key="ClangTools">
<value type="bool" key="ClangTools.AnalyzeOpenFiles">true</value>
<value type="bool" key="ClangTools.BuildBeforeAnalysis">true</value>
Expand All @@ -94,7 +89,7 @@
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop Qt 6.3.1 MinGW 64-bit</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop Qt 6.3.1 MinGW 64-bit</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">qt.qt6.631.win64_mingw_kit</value>
<value type="qlonglong" key="ProjectExplorer.Target.ActiveBuildConfiguration">3</value>
<value type="qlonglong" key="ProjectExplorer.Target.ActiveBuildConfiguration">1</value>
<value type="qlonglong" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
<value type="qlonglong" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
Expand All @@ -105,8 +100,10 @@
-DQT_QMAKE_EXECUTABLE:FILEPATH=%{Qt:qmakeExecutable}
-DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX}
-DCMAKE_C_COMPILER:FILEPATH=%{Compiler:Executable:C}
-DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx}</value>
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">D:\repository\WarThunder-Sound-Mod-Tool\build-WTSMT-Desktop_Qt_6_3_1_MinGW_64_bit-Debug</value>
-DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx}
-DCMAKE_CXX_FLAGS_INIT:STRING=%{Qt:QML_DEBUG_FLAG}</value>
<value type="int" key="EnableQmlDebugging">0</value>
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">D:\Repository\WarThunder-Sound-Mod-Tool\build-WTSMT-Desktop_Qt_6_3_1_MinGW_64_bit-Debug</value>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
<valuelist type="QVariantList" key="CMakeProjectManager.MakeStep.BuildTargets">
Expand Down Expand Up @@ -151,8 +148,9 @@
-DQT_QMAKE_EXECUTABLE:FILEPATH=%{Qt:qmakeExecutable}
-DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX}
-DCMAKE_C_COMPILER:FILEPATH=%{Compiler:Executable:C}
-DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx}</value>
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">D:\repository\WarThunder-Sound-Mod-Tool\build-WTSMT-Desktop_Qt_6_3_1_MinGW_64_bit-Release</value>
-DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx}
-DCMAKE_CXX_FLAGS_INIT:STRING=%{Qt:QML_DEBUG_FLAG}</value>
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">D:\Repository\WarThunder-Sound-Mod-Tool\build-WTSMT-Desktop_Qt_6_3_1_MinGW_64_bit-Release</value>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
<valuelist type="QVariantList" key="CMakeProjectManager.MakeStep.BuildTargets">
Expand Down Expand Up @@ -197,8 +195,9 @@
-DQT_QMAKE_EXECUTABLE:FILEPATH=%{Qt:qmakeExecutable}
-DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX}
-DCMAKE_C_COMPILER:FILEPATH=%{Compiler:Executable:C}
-DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx}</value>
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">D:\repository\WarThunder-Sound-Mod-Tool\build-WTSMT-Desktop_Qt_6_3_1_MinGW_64_bit-RelWithDebInfo</value>
-DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx}
-DCMAKE_CXX_FLAGS_INIT:STRING=%{Qt:QML_DEBUG_FLAG}</value>
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">D:\Repository\WarThunder-Sound-Mod-Tool\build-WTSMT-Desktop_Qt_6_3_1_MinGW_64_bit-RelWithDebInfo</value>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
<valuelist type="QVariantList" key="CMakeProjectManager.MakeStep.BuildTargets">
Expand Down Expand Up @@ -234,22 +233,68 @@
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">CMakeProjectManager.CMakeBuildConfiguration</value>
</valuemap>
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.3">
<value type="QString" key="CMake.Build.Type">RelWithDebInfo</value>
<value type="QString" key="CMake.Initial.Parameters">-DCMAKE_GENERATOR:STRING=Ninja
-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo
-DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{IDE:ResourcePath}/package-manager/auto-setup.cmake
-DQT_QMAKE_EXECUTABLE:FILEPATH=%{Qt:qmakeExecutable}
-DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX}
-DCMAKE_C_COMPILER:FILEPATH=%{Compiler:Executable:C}
-DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx}
-DCMAKE_CXX_FLAGS_INIT:STRING=%{Qt:QML_DEBUG_FLAG}</value>
<value type="int" key="EnableQmlDebugging">0</value>
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">D:\Repository\WarThunder-Sound-Mod-Tool\build-WTSMT-Desktop_Qt_6_3_1_MinGW_64_bit-Profile</value>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
<valuelist type="QVariantList" key="CMakeProjectManager.MakeStep.BuildTargets">
<value type="QString">all</value>
</valuelist>
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">CMakeProjectManager.MakeStep</value>
</valuemap>
<value type="qlonglong" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
</valuemap>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
<valuelist type="QVariantList" key="CMakeProjectManager.MakeStep.BuildTargets">
<value type="QString">clean</value>
</valuelist>
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">CMakeProjectManager.MakeStep</value>
</valuemap>
<value type="qlonglong" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
</valuemap>
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.CustomParsers"/>
<value type="bool" key="ProjectExplorer.BuildConfiguration.ParseStandardOutput">false</value>
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Profile</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">CMakeProjectManager.CMakeBuildConfiguration</value>
</valuemap>
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.4">
<value type="QString" key="CMake.Build.Type">MinSizeRel</value>
<value type="QString" key="CMake.Initial.Parameters">-DCMAKE_GENERATOR:STRING=Ninja
-DCMAKE_BUILD_TYPE:STRING=MinSizeRel
-DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{IDE:ResourcePath}/package-manager/auto-setup.cmake
-DQT_QMAKE_EXECUTABLE:FILEPATH=%{Qt:qmakeExecutable}
-DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX}
-DCMAKE_C_COMPILER:FILEPATH=%{Compiler:Executable:C}
-DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx}</value>
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">D:\repository\WarThunder-Sound-Mod-Tool\build-WTSMT-Desktop_Qt_6_3_1_MinGW_64_bit-MinSizeRel</value>
-DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx}
-DCMAKE_CXX_FLAGS_INIT:STRING=%{Qt:QML_DEBUG_FLAG}</value>
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">D:\Repository\WarThunder-Sound-Mod-Tool\build-WTSMT-Desktop_Qt_6_3_1_MinGW_64_bit-MinSizeRel</value>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
<valuelist type="QVariantList" key="CMakeProjectManager.MakeStep.BuildTargets">
<value type="QString">all</value>
</valuelist>
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">CMakeProjectManager.MakeStep</value>
</valuemap>
<value type="qlonglong" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
Expand All @@ -263,7 +308,6 @@
<value type="QString">clean</value>
</valuelist>
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">CMakeProjectManager.MakeStep</value>
</valuemap>
<value type="qlonglong" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
Expand All @@ -279,7 +323,7 @@
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Minimum Size Release</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">CMakeProjectManager.CMakeBuildConfiguration</value>
</valuemap>
<value type="qlonglong" key="ProjectExplorer.Target.BuildConfigurationCount">4</value>
<value type="qlonglong" key="ProjectExplorer.Target.BuildConfigurationCount">5</value>
<valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
<value type="qlonglong" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
Expand Down Expand Up @@ -308,7 +352,7 @@
<value type="bool" key="RunConfiguration.UseLibrarySearchPath">true</value>
<value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
<value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
<value type="QString" key="RunConfiguration.WorkingDirectory.default">D:/repository/WarThunder-Sound-Mod-Tool/build-WTSMT-Desktop_Qt_6_3_1_MinGW_64_bit-MinSizeRel</value>
<value type="QString" key="RunConfiguration.WorkingDirectory.default">D:/Repository/WarThunder-Sound-Mod-Tool/build-WTSMT-Desktop_Qt_6_3_1_MinGW_64_bit-Release</value>
</valuemap>
<value type="qlonglong" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
</valuemap>
Expand Down
Binary file modified WTSMT/WTSMT_zh_CN.qm
Binary file not shown.
64 changes: 48 additions & 16 deletions WTSMT/WTSMT_zh_CN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,37 +137,58 @@
<translation>主窗体</translation>
</message>
<message>
<location filename="mainwidget.cpp" line="10"/>
<location filename="mainwidget.cpp" line="11"/>
<source>WarThunder Sound Mod Builder</source>
<translation>战争雷霆音频包工具</translation>
</message>
<message>
<location filename="mainwidget.cpp" line="17"/>
<source>import</source>
<location filename="mainwidget.cpp" line="18"/>
<source>Import</source>
<translation>导入</translation>
</message>
<message>
<location filename="mainwidget.cpp" line="19"/>
<source>delete</source>
<location filename="mainwidget.cpp" line="20"/>
<source>Delete</source>
<translation>删除</translation>
</message>
<message>
<location filename="mainwidget.cpp" line="21"/>
<source>clear</source>
<location filename="mainwidget.cpp" line="22"/>
<source>Clear</source>
<translation>清空</translation>
</message>
<message>
<location filename="mainwidget.cpp" line="71"/>
<location filename="mainwidget.cpp" line="85"/>
<source>Update &amp;&amp; GitHub</source>
<translation>更新 &amp;&amp; Github</translation>
</message>
<message>
<location filename="mainwidget.cpp" line="88"/>
<source>Usage</source>
<translation>使用方法</translation>
</message>
<message>
<source>import</source>
<translation type="vanished">导入</translation>
</message>
<message>
<source>delete</source>
<translation type="vanished">删除</translation>
</message>
<message>
<source>clear</source>
<translation type="vanished">清空</translation>
</message>
<message>
<location filename="mainwidget.cpp" line="77"/>
<source>No model files</source>
<translation>无模型文件</translation>
</message>
<message>
<location filename="mainwidget.cpp" line="78"/>
<source>Check for Update</source>
<translation>检查更新</translation>
<translation type="vanished">检查更新</translation>
</message>
<message>
<location filename="mainwidget.cpp" line="94"/>
<location filename="mainwidget.cpp" line="107"/>
<source>Select sound files</source>
<translation>选择音频文件</translation>
</message>
Expand All @@ -180,19 +201,30 @@
<translation>窗体</translation>
</message>
<message>
<location filename="model.cpp" line="28"/>
<location filename="model.cpp" line="33"/>
<source>Build</source>
<translation>构建</translation>
</message>
<message>
<location filename="model.cpp" line="40"/>
<location filename="model.cpp" line="100"/>
<location filename="model.cpp" line="144"/>
<location filename="model.cpp" line="45"/>
<location filename="model.cpp" line="52"/>
<location filename="model.cpp" line="59"/>
<location filename="model.cpp" line="81"/>
<location filename="model.cpp" line="84"/>
<location filename="model.cpp" line="123"/>
<location filename="model.cpp" line="174"/>
<source>Model:</source>
<translation>模型:</translation>
</message>
<message>
<location filename="model.cpp" line="100"/>
<location filename="model.cpp" line="52"/>
<location filename="model.cpp" line="59"/>
<location filename="model.cpp" line="81"/>
<source>Progress:</source>
<translation>进度:</translation>
</message>
<message>
<location filename="model.cpp" line="123"/>
<source>Checking Files...</source>
<translation>检查文件中...</translation>
</message>
Expand Down
Loading

0 comments on commit 16bc316

Please sign in to comment.