diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..567609b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+build/
diff --git a/.qmake.stash b/.qmake.stash
new file mode 100644
index 0000000..3d2472c
--- /dev/null
+++ b/.qmake.stash
@@ -0,0 +1,23 @@
+QMAKE_CXX.QT_COMPILER_STDCXX = 199711L
+QMAKE_CXX.QMAKE_MSC_VER = 1941
+QMAKE_CXX.QMAKE_MSC_FULL_VER = 194134120
+QMAKE_CXX.COMPILER_MACROS = \
+ QT_COMPILER_STDCXX \
+ QMAKE_MSC_VER \
+ QMAKE_MSC_FULL_VER
+QMAKE_CXX.INCDIRS = \
+ "D:\\Program Files\\Microsoft Visual Studio\\2022\\Professional\\VC\\Tools\\MSVC\\14.41.34120\\include" \
+ "D:\\Program Files\\Microsoft Visual Studio\\2022\\Professional\\VC\\Tools\\MSVC\\14.41.34120\\ATLMFC\\include" \
+ "D:\\Program Files\\Microsoft Visual Studio\\2022\\Professional\\VC\\Auxiliary\\VS\\include" \
+ "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.22621.0\\ucrt" \
+ "C:\\Program Files (x86)\\Windows Kits\\10\\\\include\\10.0.22621.0\\\\um" \
+ "C:\\Program Files (x86)\\Windows Kits\\10\\\\include\\10.0.22621.0\\\\shared" \
+ "C:\\Program Files (x86)\\Windows Kits\\10\\\\include\\10.0.22621.0\\\\winrt" \
+ "C:\\Program Files (x86)\\Windows Kits\\10\\\\include\\10.0.22621.0\\\\cppwinrt" \
+ "C:\\Program Files (x86)\\Windows Kits\\NETFXSDK\\4.8\\include\\um"
+QMAKE_CXX.LIBDIRS = \
+ "D:\\Program Files\\Microsoft Visual Studio\\2022\\Professional\\VC\\Tools\\MSVC\\14.41.34120\\ATLMFC\\lib\\x64" \
+ "D:\\Program Files\\Microsoft Visual Studio\\2022\\Professional\\VC\\Tools\\MSVC\\14.41.34120\\lib\\x64" \
+ "C:\\Program Files (x86)\\Windows Kits\\NETFXSDK\\4.8\\lib\\um\\x64" \
+ "C:\\Program Files (x86)\\Windows Kits\\10\\lib\\10.0.22621.0\\ucrt\\x64" \
+ "C:\\Program Files (x86)\\Windows Kits\\10\\\\lib\\10.0.22621.0\\\\um\\x64"
diff --git a/.vs/ModifyDatTime/FileContentIndex/4e77a340-542e-47db-a416-7ca77f64f995.vsidx b/.vs/ModifyDatTime/FileContentIndex/4e77a340-542e-47db-a416-7ca77f64f995.vsidx
new file mode 100644
index 0000000..549e688
Binary files /dev/null and b/.vs/ModifyDatTime/FileContentIndex/4e77a340-542e-47db-a416-7ca77f64f995.vsidx differ
diff --git a/.vs/ModifyDatTime/v17/.suo b/.vs/ModifyDatTime/v17/.suo
new file mode 100644
index 0000000..f61a524
Binary files /dev/null and b/.vs/ModifyDatTime/v17/.suo differ
diff --git a/.vs/ModifyDatTime/v17/Browse.VC.db b/.vs/ModifyDatTime/v17/Browse.VC.db
new file mode 100644
index 0000000..868a86d
Binary files /dev/null and b/.vs/ModifyDatTime/v17/Browse.VC.db differ
diff --git a/.vs/ModifyDatTime/v17/Solution.VC.db b/.vs/ModifyDatTime/v17/Solution.VC.db
new file mode 100644
index 0000000..2515440
Binary files /dev/null and b/.vs/ModifyDatTime/v17/Solution.VC.db differ
diff --git a/ModifyDatTime.pro.user b/ModifyDatTime.pro.user
index 1db82cc..fc76848 100644
--- a/ModifyDatTime.pro.user
+++ b/ModifyDatTime.pro.user
@@ -1,267 +1,228 @@
-
-
-
-
-
- EnvironmentId
- {8cfa9d78-659c-4111-ba1f-cc573f4fb26a}
-
-
- ProjectExplorer.Project.ActiveTarget
- 0
-
-
- ProjectExplorer.Project.EditorSettings
-
- true
- false
- true
-
- Cpp
-
- CppGlobal
-
-
-
- QmlJS
-
- QmlJSGlobal
-
-
- 2
- UTF-8
- false
- 4
- false
- 80
- true
- true
- 1
- 0
- false
- true
- false
- 0
- true
- true
- 0
- 8
- true
- false
- 1
- true
- true
- true
- *.md, *.MD, Makefile
- false
- true
- true
-
-
-
- ProjectExplorer.Project.PluginSettings
-
-
- true
- false
- true
- true
- true
- true
-
-
- 0
- true
-
- true
- true
- Builtin.DefaultTidyAndClazy
- 8
- true
-
-
-
- true
-
-
-
-
- ProjectExplorer.Project.Target.0
-
- Desktop
- Desktop Qt 5.15.2 MSVC2019 64bit
- Desktop Qt 5.15.2 MSVC2019 64bit
- qt.qt5.5152.win64_msvc2019_64_kit
- 1
- 0
- 0
-
- 0
- E:\MyCode\Qt\build-ModifyDatTime-Desktop_Qt_5_15_2_MSVC2019_64bit-Debug
- E:/MyCode/Qt/build-ModifyDatTime-Desktop_Qt_5_15_2_MSVC2019_64bit-Debug
-
-
- true
- QtProjectManager.QMakeBuildStep
- false
-
-
-
- true
- Qt4ProjectManager.MakeStep
-
- 2
- Build
- Build
- ProjectExplorer.BuildSteps.Build
-
-
-
- true
- Qt4ProjectManager.MakeStep
- clean
-
- 1
- Clean
- Clean
- ProjectExplorer.BuildSteps.Clean
-
- 2
- false
-
- false
-
- Debug
- Qt4ProjectManager.Qt4BuildConfiguration
- 2
-
-
- E:\MyCode\Qt\build-ModifyDatTime-Desktop_Qt_5_15_2_MSVC2019_64bit-Release
- E:/MyCode/Qt/build-ModifyDatTime-Desktop_Qt_5_15_2_MSVC2019_64bit-Release
-
-
- true
- QtProjectManager.QMakeBuildStep
- false
-
-
-
- true
- Qt4ProjectManager.MakeStep
-
- 2
- Build
- Build
- ProjectExplorer.BuildSteps.Build
-
-
-
- true
- Qt4ProjectManager.MakeStep
- clean
-
- 1
- Clean
- Clean
- ProjectExplorer.BuildSteps.Clean
-
- 2
- false
-
- false
-
- Release
- Qt4ProjectManager.Qt4BuildConfiguration
- 0
- 0
-
-
- 0
- E:\MyCode\Qt\build-ModifyDatTime-Desktop_Qt_5_15_2_MSVC2019_64bit-Profile
- E:/MyCode/Qt/build-ModifyDatTime-Desktop_Qt_5_15_2_MSVC2019_64bit-Profile
-
-
- true
- QtProjectManager.QMakeBuildStep
- false
-
-
-
- true
- Qt4ProjectManager.MakeStep
-
- 2
- Build
- Build
- ProjectExplorer.BuildSteps.Build
-
-
-
- true
- Qt4ProjectManager.MakeStep
- clean
-
- 1
- Clean
- Clean
- ProjectExplorer.BuildSteps.Clean
-
- 2
- false
-
- false
-
- Profile
- Qt4ProjectManager.Qt4BuildConfiguration
- 0
- 0
- 0
-
- 3
-
-
- 0
- Deploy
- Deploy
- ProjectExplorer.BuildSteps.Deploy
-
- 1
-
- false
- ProjectExplorer.DefaultDeployConfiguration
-
- 1
-
- true
- true
- 0
- true
-
- 2
-
- false
-
- Qt4ProjectManager.Qt4RunConfiguration:E:/MyCode/Qt/ModifyDatTime/ModifyDatTime.pro
- E:/MyCode/Qt/ModifyDatTime/ModifyDatTime.pro
- false
- true
- true
- true
- E:/MyCode/Qt/build-ModifyDatTime-Desktop_Qt_5_15_2_MSVC2019_64bit-Release
-
- 1
-
-
-
- ProjectExplorer.Project.TargetCount
- 1
-
-
- ProjectExplorer.Project.Updater.FileVersion
- 22
-
-
- Version
- 22
-
-
+
+
+
+
+
+ EnvironmentId
+ {662fef76-68a1-43e8-a542-8c1ed6fdbc67}
+
+
+ ProjectExplorer.Project.ActiveTarget
+ 0
+
+
+ ProjectExplorer.Project.EditorSettings
+
+ true
+ false
+ true
+
+ Cpp
+
+ CppGlobal
+
+
+
+ QmlJS
+
+ QmlJSGlobal
+
+
+ 2
+ UTF-8
+ false
+ 4
+ false
+ 80
+ true
+ true
+ 1
+ 0
+ false
+ true
+ false
+ 2
+ true
+ true
+ 0
+ 8
+ true
+ false
+ 1
+ true
+ true
+ true
+ *.md, *.MD, Makefile
+ false
+ true
+ true
+
+
+
+ ProjectExplorer.Project.PluginSettings
+
+
+ true
+ false
+ true
+ true
+ true
+ true
+
+ false
+
+
+ 0
+ true
+
+ true
+ true
+ Builtin.DefaultTidyAndClazy
+ 8
+ true
+
+
+
+ true
+
+
+
+
+ ProjectExplorer.Project.Target.0
+
+ Desktop
+ Desktop Qt 5.15.2 MSVC2019 64bit
+ Desktop Qt 5.15.2 MSVC2019 64bit
+ qt.qt5.5152.win64_msvc2019_64_kit
+ 0
+ 0
+ 0
+
+ 0
+ E:\MyCode\Qt\ModifyDatTime\build\Desktop_Qt_5_15_2_MSVC2019_64bit-Debug
+ E:/MyCode/Qt/ModifyDatTime/build/Desktop_Qt_5_15_2_MSVC2019_64bit-Debug
+
+
+ true
+ QtProjectManager.QMakeBuildStep
+ false
+
+
+
+ true
+ Qt4ProjectManager.MakeStep
+
+ 2
+ Build
+ Build
+ ProjectExplorer.BuildSteps.Build
+
+
+
+ true
+ Qt4ProjectManager.MakeStep
+ clean
+
+ 1
+ Clean
+ Clean
+ ProjectExplorer.BuildSteps.Clean
+
+ 2
+ false
+
+ false
+
+ Debug
+ Qt4ProjectManager.Qt4BuildConfiguration
+ 2
+
+
+ E:\MyCode\Qt\ModifyDatTime\build\Desktop_Qt_5_15_2_MSVC2019_64bit-Release
+ E:/MyCode/Qt/ModifyDatTime/build/Desktop_Qt_5_15_2_MSVC2019_64bit-Release
+
+
+ true
+ QtProjectManager.QMakeBuildStep
+ false
+
+
+
+ true
+ Qt4ProjectManager.MakeStep
+
+ 2
+ Build
+ Build
+ ProjectExplorer.BuildSteps.Build
+
+
+
+ true
+ Qt4ProjectManager.MakeStep
+ clean
+
+ 1
+ Clean
+ Clean
+ ProjectExplorer.BuildSteps.Clean
+
+ 2
+ false
+
+ false
+
+ Release
+ Qt4ProjectManager.Qt4BuildConfiguration
+ 0
+ 0
+
+ 2
+
+
+ 0
+ Deploy
+ Deploy
+ ProjectExplorer.BuildSteps.Deploy
+
+ 1
+
+ false
+ ProjectExplorer.DefaultDeployConfiguration
+
+ 1
+
+ true
+ true
+ 0
+ true
+
+ 2
+
+ false
+ -e cpu-cycles --call-graph "dwarf,4096" -F 250
+
+ Qt4ProjectManager.Qt4RunConfiguration:E:/MyCode/Qt/ModifyDatTime/ModifyDatTime.pro
+ E:/MyCode/Qt/ModifyDatTime/ModifyDatTime.pro
+ false
+ true
+ true
+ true
+ E:/MyCode/Qt/ModifyDatTime/build/Desktop_Qt_5_15_2_MSVC2019_64bit-Debug
+
+ 1
+
+
+
+ ProjectExplorer.Project.TargetCount
+ 1
+
+
+ ProjectExplorer.Project.Updater.FileVersion
+ 22
+
+
+ Version
+ 22
+
+
diff --git a/ModifyDatTime.qtvscr b/ModifyDatTime.qtvscr
new file mode 100644
index 0000000..2be839d
--- /dev/null
+++ b/ModifyDatTime.qtvscr
@@ -0,0 +1,2300 @@
+
+
+
+
+
+ Qt Visual Studio Tools
+
+
+ Project Format Conversion
+
+
+ Report generated on 2024-08-31 13:56:52
+
+
+
+
+ Files
+
+
+
+
+ [Before]
+ [After]
+
+ [Diff before/after]
+
+
+ [Diff before/current]
+
+
+ [Diff after/current]
+
+
+
+
+
+
+ [Before]
+ [After]
+
+ [Diff before/after]
+
+
+ [Diff before/current]
+
+
+ [Diff after/current]
+
+
+
+
+
+
+ [Before]
+ [After]
+
+ [Diff before/after]
+
+
+ [Diff before/current]
+
+
+ [Diff after/current]
+
+
+
+
+
+
+ Changes
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ .;]]>]]>
+
+
+
+
+ .;]]>]]>
+
+
+
+
+
+
+
+
+
+ D:\Qt\5.15.2\msvc2019_64\lib\Qt5Widgets]]>]]>
+
+
+
+
+ $(QTDIR)\lib\Qt5Widgets]]>]]>
+
+
+
+
+
+
+
+
+
+ .;]]>]]>
+
+
+
+
+ .;]]>]]>
+
+
+
+
+
+
+
+
+
+ D:\Qt\5.15.2\msvc2019_64\lib\Qt5Widgetsd]]>]]>
+
+
+
+
+ $(QTDIR)\lib\Qt5Widgetsd]]>]]>
+
+
+
+
+
+
+
+
+
+ mainwindow.h;release\moc_predefs.h;]]>]]>
+
+
+
+
+ mainwindow.h;release\moc_predefs.h;]]>]]>
+
+
+
+
+
+
+ D:\Qt\5.15]]>]]>
+
+
+
+
+ $(QTDIR)\bin\moc]]>]]>
+
+
+
+
+
+
+
+
+
+ mainwindow.h;debug\moc_predefs.h;]]>]]>
+
+
+
+
+ mainwindow.h;debug\moc_predefs.h;]]>]]>
+
+
+
+
+
+
+ D:\Qt\5.15]]>]]>
+
+
+
+
+ $(QTDIR)\bin\moc]]>]]>
+
+
+
+
+
+
+
+
+
+ D:\Qt\5.15.2\msvc2019_64\mkspecs\features\data\dummy]]>]]>
+
+
+
+
+ $(QTDIR)\mkspecs\features\data\dummy]]>]]>
+
+
+
+
+
+
+ cl -Bx"$(QTDIR)\bin\qmake.exe" -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus /utf-8 -Zi -MDd -std:c++17 -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -E ]]>]]>
+
+
+
+
+ cl -Bx"$(QTDIR)\bin\qmake.exe" -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus /utf-8 -Zi -MDd -std:c++17 -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -E ]]>]]>
+
+
+
+
+
+
+
+
+
+ D:\Qt\5.15.2\msvc2019_64\mkspecs\features\data\dummy]]>]]>
+
+
+
+
+ $(QTDIR)\mkspecs\features\data\dummy]]>]]>
+
+
+
+
+
+
+ cl -Bx"$(QTDIR)\bin\qmake.exe" -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus /utf-8 -O2 -MD -std:c++17 -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -E ]]>]]>
+
+
+
+
+ cl -Bx"$(QTDIR)\bin\qmake.exe" -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus /utf-8 -O2 -MD -std:c++17 -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -E ]]>]]>
+
+
+
+
+
+
+
+
+
+ mainwindow.ui;]]>]]>
+
+
+
+
+ mainwindow.ui;]]>]]>
+
+
+
+
+
+
+ D:\Qt\5.15.2\msvc2019_64\bin\uic]]>]]>
+
+
+
+
+ $(QTDIR)\bin\uic]]>]]>
+
+
+
+
+
+
+
+
+
+ mainwindow.ui;]]>]]>
+
+
+
+
+ mainwindow.ui;]]>]]>
+
+
+
+
+
+
+ D:\Qt\5.15.2\msvc2019_64\bin\uic]]>]]>
+
+
+
+
+ $(QTDIR)\bin\uic]]>]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $(QTDIR)\bin\moc.exe -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DNDEBUG -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --compiler-flavor=msvc --include]]>]]>
+
+
+
+
+ $(QTDIR)\bin\moc.exe -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DNDEBUG -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --compiler-flavor=msvc --include]]>]]>
+
+
+
+
+
+
+
+
+
+ $(QTDIR)\bin\moc.exe -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --compiler-flavor=msvc --include]]>]]>
+
+
+
+
+ $(QTDIR)\bin\moc.exe -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --compiler-flavor=msvc --include]]>]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ .;]]>]]>
+
+
+
+
+ GeneratedFiles\$(ConfigurationName);GeneratedFiles;.;]]>]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ $(QTDIR)]]>
+
+
+
+
+
+
+
+
+
+ %(FullPath)]]>
+
+
+
+
+
+
+
+
+
+ $(Configuration)\moc_%(Filename).cpp]]>
+
+
+
+
+
+
+
+
+
+ GeneratedFiles\$(ConfigurationName);GeneratedFiles;$(QTDIR)/mkspecs/win32-msvc;.;$(QTDIR)/include;$(QTDIR)/include/QtWidgets;$(QTDIR)/include/QtGui;$(QTDIR)/include/QtANGLE;$(QTDIR)/include/QtCore;D:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\include;D:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\ATLMFC\include;D:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\VS\include;C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt;C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\um;C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\shared;C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\winrt;C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\cppwinrt;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um]]>
+
+
+
+
+
+
+
+
+
+ UNICODE;_UNICODE;WIN32;_ENABLE_EXTENDED_ALIGNED_STORAGE;WIN64;NDEBUG;QT_NO_DEBUG;QT_WIDGETS_LIB;QT_GUI_LIB;QT_CORE_LIB]]>
+
+
+
+
+
+
+
+
+
+ msvc]]>
+
+
+
+
+
+
+
+
+
+ ./$(Configuration)/moc_predefs.h]]>
+
+
+
+
+
+
+
+
+
+ Moc'ing %(Identity)...]]>
+
+
+
+
+
+
+
+
+
+ output]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ $(QTDIR)]]>
+
+
+
+
+
+
+
+
+
+ %(FullPath)]]>
+
+
+
+
+
+
+
+
+
+ $(ProjectDir)\ui_%(Filename).h]]>
+
+
+
+
+
+
+
+
+
+ Uic'ing %(Identity)...]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ .;]]>]]>
+
+
+
+
+ GeneratedFiles\$(ConfigurationName);GeneratedFiles;.;]]>]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ $(QTDIR)]]>
+
+
+
+
+
+
+
+
+
+ %(FullPath)]]>
+
+
+
+
+
+
+
+
+
+ $(Configuration)\moc_%(Filename).cpp]]>
+
+
+
+
+
+
+
+
+
+ GeneratedFiles\$(ConfigurationName);GeneratedFiles;$(QTDIR)/mkspecs/win32-msvc;.;$(QTDIR)/include;$(QTDIR)/include/QtWidgets;$(QTDIR)/include/QtGui;$(QTDIR)/include/QtANGLE;$(QTDIR)/include/QtCore;D:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\include;D:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\ATLMFC\include;D:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\VS\include;C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt;C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\um;C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\shared;C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\winrt;C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\cppwinrt;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um]]>
+
+
+
+
+
+
+
+
+
+ UNICODE;_UNICODE;WIN32;_ENABLE_EXTENDED_ALIGNED_STORAGE;WIN64;QT_WIDGETS_LIB;QT_GUI_LIB;QT_CORE_LIB]]>
+
+
+
+
+
+
+
+
+
+ msvc]]>
+
+
+
+
+
+
+
+
+
+ ./$(Configuration)/moc_predefs.h]]>
+
+
+
+
+
+
+
+
+
+ Moc'ing %(Identity)...]]>
+
+
+
+
+
+
+
+
+
+ output]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ $(QTDIR)]]>
+
+
+
+
+
+
+
+
+
+ %(FullPath)]]>
+
+
+
+
+
+
+
+
+
+ $(ProjectDir)\ui_%(Filename).h]]>
+
+
+
+
+
+
+
+
+
+ Uic'ing %(Identity)...]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+ ]]>
+
+
+
+
+
+
+ mainwindow.h;release\moc_predefs.h;$(QTDIR)\bin\moc.exe;%(AdditionalInputs)]]>
+
+
+
+
+
+
+
+
+
+ $(QTDIR)\bin\moc.exe -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DNDEBUG -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --compiler-flavor=msvc --include ./release/moc_predefs.h -I$(QTDIR)/mkspecs/win32-msvc -I. -I$(QTDIR)/include -I$(QTDIR)/include/QtWidgets -I$(QTDIR)/include/QtGui -I$(QTDIR)/include/QtANGLE -I$(QTDIR)/include/QtCore -I"D:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\include" -I"D:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\ATLMFC\include" -I"D:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\VS\include" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" -I"C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\um" -I"C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\shared" -I"C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\winrt" -I"C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\cppwinrt" -I"C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" mainwindow.h -o release\moc_mainwindow.cpp]]>
+
+
+
+
+
+
+
+
+
+ MOC mainwindow.h]]>
+
+
+
+
+
+
+
+
+
+ release\moc_mainwindow.cpp;%(Outputs)]]>
+
+
+
+
+
+
+
+
+
+ mainwindow.h;debug\moc_predefs.h;$(QTDIR)\bin\moc.exe;%(AdditionalInputs)]]>
+
+
+
+
+
+
+
+
+
+ $(QTDIR)\bin\moc.exe -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --compiler-flavor=msvc --include ./debug/moc_predefs.h -I$(QTDIR)/mkspecs/win32-msvc -I. -I$(QTDIR)/include -I$(QTDIR)/include/QtWidgets -I$(QTDIR)/include/QtGui -I$(QTDIR)/include/QtANGLE -I$(QTDIR)/include/QtCore -I"D:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\include" -I"D:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\ATLMFC\include" -I"D:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\VS\include" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" -I"C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\um" -I"C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\shared" -I"C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\winrt" -I"C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\cppwinrt" -I"C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" mainwindow.h -o debug\moc_mainwindow.cpp]]>
+
+
+
+
+
+
+
+
+
+ MOC mainwindow.h]]>
+
+
+
+
+
+
+
+
+
+ debug\moc_mainwindow.cpp;%(Outputs)]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ true]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ true]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ true]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ cl -Bx"$(QTDIR)\bin\qmake.exe" -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus /utf-8 -Zi -MDd -std:c++17 -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -E $(QTDIR)\mkspecs\features\data\dummy.cpp 2>NUL >]]>]]>
+
+
+
+
+ cl -Bx"$(QTDIR)\bin\qmake.exe" -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus /utf-8 -Zi -MDd -std:c++17 -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -E $(QTDIR)\mkspecs\features\data\dummy.cpp 2>NUL >]]>]]>
+
+
+
+
+
+
+
+
+
+ debug\moc_predefs]]>]]>
+
+
+
+
+ $(IntDir)\moc_predefs]]>]]>
+
+
+
+
+
+
+
+
+
+ cl -Bx"$(QTDIR)\bin\qmake.exe" -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus /utf-8 -O2 -MD -std:c++17 -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -E $(QTDIR)\mkspecs\features\data\dummy.cpp 2>NUL >]]>]]>
+
+
+
+
+ cl -Bx"$(QTDIR)\bin\qmake.exe" -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus /utf-8 -O2 -MD -std:c++17 -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -E $(QTDIR)\mkspecs\features\data\dummy.cpp 2>NUL >]]>]]>
+
+
+
+
+
+
+
+
+
+ release\moc_predefs]]>]]>
+
+
+
+
+ $(IntDir)\moc_predefs]]>]]>
+
+
+
+
+
+
+ true]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+ ]]>
+
+
+
+
+
+
+ Document]]>
+
+
+
+
+
+
+
+
+
+ mainwindow.ui;$(QTDIR)\bin\uic.exe;%(AdditionalInputs)]]>
+
+
+
+
+
+
+
+
+
+ $(QTDIR)\bin\uic.exe mainwindow.ui -o ui_mainwindow.h]]>
+
+
+
+
+
+
+
+
+
+ UIC mainwindow.ui]]>
+
+
+
+
+
+
+
+
+
+ ui_mainwindow.h;%(Outputs)]]>
+
+
+
+
+
+
+
+
+
+ mainwindow.ui;$(QTDIR)\bin\uic.exe;%(AdditionalInputs)]]>
+
+
+
+
+
+
+
+
+
+ $(QTDIR)\bin\uic.exe mainwindow.ui -o ui_mainwindow.h]]>
+
+
+
+
+
+
+
+
+
+ UIC mainwindow.ui]]>
+
+
+
+
+
+
+
+
+
+ ui_mainwindow.h;%(Outputs)]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+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+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+ ]]>
+
+
+
+
+
+
+ ]]>
+
+
+
+
+ Qt5.15.2]]>]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+ Qt5.15.2 msvc2019_64]]>
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ _WINDOWS;UNICODE;_UNICODE;WIN32;_ENABLE_EXTENDED_ALIGNED_STORAGE;WIN64;NDEBUG;QT_NO_DEBUG;]]>]]>
+
+
+
+
+ _WINDOWS;UNICODE;_UNICODE;WIN32;_ENABLE_EXTENDED_ALIGNED_STORAGE;WIN64;NDEBUG;QT_NO_DEBUG;]]>]]>
+
+
+
+
+
+
+
+
+
+ _WINDOWS;UNICODE;_UNICODE;WIN32;_ENABLE_EXTENDED_ALIGNED_STORAGE;WIN64;]]>]]>
+
+
+
+
+ _WINDOWS;UNICODE;_UNICODE;WIN32;_ENABLE_EXTENDED_ALIGNED_STORAGE;WIN64;]]>]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ GeneratedFiles\$(ConfigurationName);GeneratedFiles;.;]]>]]>
+
+
+
+
+ GeneratedFiles\$(ConfigurationName);GeneratedFiles;.;]]>]]>
+
+
+
+
+
+
+
+
+
+ GeneratedFiles\$(ConfigurationName);GeneratedFiles;.;]]>]]>
+
+
+
+
+ GeneratedFiles\$(ConfigurationName);GeneratedFiles;.;]]>]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $(QTDIR)\lib\Qt5Widgets.lib;$(QTDIR)\lib\Qt5Gui.lib;$(QTDIR)\lib\Qt5Core.lib;$(QTDIR)\lib\qtmain.lib;shell32]]>]]>
+
+
+
+
+ shell32]]>]]>
+
+
+
+
+
+
+
+
+
+ $(QTDIR)\lib\Qt5Widgetsd.lib;$(QTDIR)\lib\Qt5Guid.lib;$(QTDIR)\lib\Qt5Cored.lib;$(QTDIR)\lib\qtmaind.lib;shell32]]>]]>
+
+
+
+
+ shell32]]>]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $(QTDIR)\lib;C:\openssl\lib]]>]]>
+
+
+
+
+ C:\openssl\lib]]>]]>
+
+
+
+
+
+
+
+
+
+ $(QTDIR)\lib;C:\openssl\lib]]>]]>
+
+
+
+
+ C:\openssl\lib]]>]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ _WINDOWS;UNICODE;_UNICODE;WIN32;_ENABLE_EXTENDED_ALIGNED_STORAGE;WIN64;NDEBUG;QT_NO_DEBUG;]]>]]>
+
+
+
+
+ _WINDOWS;UNICODE;_UNICODE;WIN32;_ENABLE_EXTENDED_ALIGNED_STORAGE;WIN64;NDEBUG;QT_NO_DEBUG;]]>]]>
+
+
+
+
+
+
+
+
+
+ _WINDOWS;UNICODE;_UNICODE;WIN32;_ENABLE_EXTENDED_ALIGNED_STORAGE;WIN64;]]>]]>
+
+
+
+
+ _WINDOWS;UNICODE;_UNICODE;WIN32;_ENABLE_EXTENDED_ALIGNED_STORAGE;WIN64;]]>]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ core;gui;widgets]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ core;gui;widgets]]>
+
+
+
+
+
+
+ Dir and FileName]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $(Configuration)]]>
+
+
+
+
+
+
+
+
+
+ moc_%(Filename).cpp]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ $(ProjectDir)]]>
+
+
+
+
+
+
+
+
+
+ ui_%(Filename).h]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ $(Configuration)]]>
+
+
+
+
+
+
+
+
+
+ moc_%(Filename).cpp]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ $(ProjectDir)]]>
+
+
+
+
+
+
+
+
+
+ ui_%(Filename).h]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $(QTDIR)]]>
+
+
+
+
+
+
+
+
+
+ %(FullPath)]]>
+
+
+
+
+
+
+
+
+
+ $(Configuration)\moc_%(Filename).cpp]]>
+
+
+
+
+
+
+
+
+
+ GeneratedFiles\$(ConfigurationName);GeneratedFiles;$(QTDIR)/mkspecs/win32-msvc;.;$(QTDIR)/include;$(QTDIR)/include/QtWidgets;$(QTDIR)/include/QtGui;$(QTDIR)/include/QtANGLE;$(QTDIR)/include/QtCore;D:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\include;D:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\ATLMFC\include;D:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\VS\include;C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt;C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\um;C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\shared;C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\winrt;C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\cppwinrt;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um]]>
+
+
+
+
+
+
+
+
+
+ UNICODE;_UNICODE;WIN32;_ENABLE_EXTENDED_ALIGNED_STORAGE;WIN64;NDEBUG;QT_NO_DEBUG;QT_WIDGETS_LIB;QT_GUI_LIB;QT_CORE_LIB]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ $(QTDIR)]]>
+
+
+
+
+
+
+
+
+
+ %(FullPath)]]>
+
+
+
+
+
+
+
+
+
+ $(ProjectDir)\ui_%(Filename).h]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ $(QTDIR)]]>
+
+
+
+
+
+
+
+
+
+ %(FullPath)]]>
+
+
+
+
+
+
+
+
+
+ $(Configuration)\moc_%(Filename).cpp]]>
+
+
+
+
+
+
+
+
+
+ GeneratedFiles\$(ConfigurationName);GeneratedFiles;$(QTDIR)/mkspecs/win32-msvc;.;$(QTDIR)/include;$(QTDIR)/include/QtWidgets;$(QTDIR)/include/QtGui;$(QTDIR)/include/QtANGLE;$(QTDIR)/include/QtCore;D:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\include;D:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.41.34120\ATLMFC\include;D:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\VS\include;C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt;C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\um;C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\shared;C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\winrt;C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\cppwinrt;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um]]>
+
+
+
+
+
+
+
+
+
+ UNICODE;_UNICODE;WIN32;_ENABLE_EXTENDED_ALIGNED_STORAGE;WIN64;QT_WIDGETS_LIB;QT_GUI_LIB;QT_CORE_LIB]]>
+
+
+
+
+
+
+
+
+
+
+
+
+ $(QTDIR)]]>
+
+
+
+
+
+
+
+
+
+ %(FullPath)]]>
+
+
+
+
+
+
+
+
+
+ $(ProjectDir)\ui_%(Filename).h]]>
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ModifyDatTime.vcxproj b/ModifyDatTime.vcxproj
new file mode 100644
index 0000000..cefe172
--- /dev/null
+++ b/ModifyDatTime.vcxproj
@@ -0,0 +1,214 @@
+
+
+
+
+ Release
+ x64
+
+
+ Debug
+ x64
+
+
+
+ {48591395-E0D9-30EA-8A6D-AB2FBD9DD467}
+ ModifyDatTime
+ QtVS_v304
+ 10.0.22621.0
+ 10.0.22621.0
+ $(MSBuildProjectDirectory)\QtMsBuild
+
+
+
+ v142
+ release\
+ false
+ NotSet
+ Application
+ release\
+ ModifyDatTime
+
+
+ v142
+ debug\
+ false
+ NotSet
+ Application
+ debug\
+ ModifyDatTime
+
+
+
+
+ Qt5.15.2 msvc2019_64
+ core;gui;widgets
+
+
+ Qt5.15.2 msvc2019_64
+ core;gui;widgets
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ release\
+ release\
+ ModifyDatTime
+ true
+ false
+ debug\
+ debug\
+ ModifyDatTime
+ true
+
+
+
+ GeneratedFiles\$(ConfigurationName);GeneratedFiles;.;release;/include;%(AdditionalIncludeDirectories)
+ -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus /utf-8 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 %(AdditionalOptions)
+ release\
+ false
+ None
+ 4577;4467;%(DisableSpecificWarnings)
+ Sync
+ stdcpp17
+ release\
+ MaxSpeed
+ _WINDOWS;UNICODE;_UNICODE;WIN32;_ENABLE_EXTENDED_ALIGNED_STORAGE;WIN64;NDEBUG;QT_NO_DEBUG;%(PreprocessorDefinitions)
+ false
+
+ MultiThreadedDLL
+ true
+ true
+ Level3
+ true
+
+
+ shell32.lib;%(AdditionalDependencies)
+ C:\openssl\lib;C:\Utils\my_sql\mysql-5.7.25-winx64\lib;C:\Utils\postgresql\pgsql\lib;%(AdditionalLibraryDirectories)
+ "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" %(AdditionalOptions)
+ true
+ false
+ true
+ false
+ true
+ $(OutDir)\ModifyDatTime.exe
+ true
+ Windows
+ true
+
+
+ Unsigned
+ None
+ 0
+
+
+ _WINDOWS;UNICODE;_UNICODE;WIN32;_ENABLE_EXTENDED_ALIGNED_STORAGE;WIN64;NDEBUG;QT_NO_DEBUG;%(PreprocessorDefinitions)
+
+
+ msvc
+ ./$(Configuration)/moc_predefs.h
+ Moc'ing %(Identity)...
+ output
+ $(Configuration)
+ moc_%(Filename).cpp
+
+
+ Uic'ing %(Identity)...
+ $(ProjectDir)
+ ui_%(Filename).h
+
+
+
+
+ GeneratedFiles\$(ConfigurationName);GeneratedFiles;.;debug;/include;%(AdditionalIncludeDirectories)
+ -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus /utf-8 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 %(AdditionalOptions)
+ debug\
+ false
+ ProgramDatabase
+ 4577;4467;%(DisableSpecificWarnings)
+ Sync
+ stdcpp17
+ debug\
+ Disabled
+ _WINDOWS;UNICODE;_UNICODE;WIN32;_ENABLE_EXTENDED_ALIGNED_STORAGE;WIN64;%(PreprocessorDefinitions)
+ false
+ MultiThreadedDebugDLL
+ true
+ true
+ Level3
+ true
+
+
+ shell32.lib;%(AdditionalDependencies)
+ C:\openssl\lib;C:\Utils\my_sql\mysql-5.7.25-winx64\lib;C:\Utils\postgresql\pgsql\lib;%(AdditionalLibraryDirectories)
+ "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" %(AdditionalOptions)
+ true
+ true
+ true
+ $(OutDir)\ModifyDatTime.exe
+ true
+ Windows
+ true
+
+
+ Unsigned
+ None
+ 0
+
+
+ _WINDOWS;UNICODE;_UNICODE;WIN32;_ENABLE_EXTENDED_ALIGNED_STORAGE;WIN64;_DEBUG;%(PreprocessorDefinitions)
+
+
+ msvc
+ ./$(Configuration)/moc_predefs.h
+ Moc'ing %(Identity)...
+ output
+ $(Configuration)
+ moc_%(Filename).cpp
+
+
+ Uic'ing %(Identity)...
+ $(ProjectDir)
+ ui_%(Filename).h
+
+
+
+
+
+
+
+
+
+
+
+ Document
+ $(QTDIR)\mkspecs\features\data\dummy.cpp;%(AdditionalInputs)
+ cl -Bx"$(QTDIR)\bin\qmake.exe" -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus /utf-8 -Zi -MDd -std:c++17 -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -E $(QTDIR)\mkspecs\features\data\dummy.cpp 2>NUL >$(IntDir)\moc_predefs.h
+ Generate moc_predefs.h
+ $(IntDir)\moc_predefs.h;%(Outputs)
+
+
+ Document
+ $(QTDIR)\mkspecs\features\data\dummy.cpp;%(AdditionalInputs)
+ cl -Bx"$(QTDIR)\bin\qmake.exe" -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus /utf-8 -O2 -MD -std:c++17 -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -E $(QTDIR)\mkspecs\features\data\dummy.cpp 2>NUL >$(IntDir)\moc_predefs.h
+ Generate moc_predefs.h
+ $(IntDir)\moc_predefs.h;%(Outputs)
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ModifyDatTime.vcxproj.filters b/ModifyDatTime.vcxproj.filters
new file mode 100644
index 0000000..4afac48
--- /dev/null
+++ b/ModifyDatTime.vcxproj.filters
@@ -0,0 +1,65 @@
+
+
+
+
+ {99349809-55BA-4b9d-BF79-8FDBB0286EB3}
+ ui
+ false
+
+
+ {99349809-55BA-4b9d-BF79-8FDBB0286EB3}
+ ui
+ false
+
+
+ {71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11}
+ cpp;c;cxx;moc;h;def;odl;idl;res;
+
+
+ {71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11}
+ cpp;c;cxx;moc;h;def;odl;idl;res;
+
+
+ {93995380-89BD-4b04-88EB-625FBE52EBFB}
+ h;hpp;hxx;hm;inl;inc;xsd
+
+
+ {93995380-89BD-4b04-88EB-625FBE52EBFB}
+ h;hpp;hxx;hm;inl;inc;xsd
+
+
+ {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
+ cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx
+
+
+ {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
+ cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx
+
+
+
+
+ Source Files
+
+
+ Source Files
+
+
+
+
+ Header Files
+
+
+
+
+ Generated Files
+
+
+ Generated Files
+
+
+
+
+ Form Files
+
+
+
\ No newline at end of file
diff --git a/ModifyDatTime.vcxproj.user b/ModifyDatTime.vcxproj.user
new file mode 100644
index 0000000..5a4d7e1
--- /dev/null
+++ b/ModifyDatTime.vcxproj.user
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/mainwindow.cpp b/mainwindow.cpp
index 5831735..4ab5fed 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -1,362 +1,371 @@
-#include "mainwindow.h"
-#include "ui_mainwindow.h"
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-
-MainWindow::MainWindow(QWidget *parent)
- : QMainWindow(parent)
- , ui(new Ui::MainWindow)
-{
- ui->setupUi(this);
- folderPath = "";
-
-}
-
-MainWindow::~MainWindow()
-{
- delete ui;
-}
-
-void MainWindow::ReadDat(QString fileName)
-{
- int year = ui->yearSpinBox->value();
- int month = ui->monthSpinBox->value();
- int day = ui->daySpinBox->value();
- //转化为16进制
- uint8_t hexYear = IntToHex(year);
- uint8_t hexMonth = IntToHex(month);
- uint8_t hexDay = IntToHex(day);
-
- //QString filename = outputDir+"/"+fileName;
- // // 一个示例日期,年月日分别为2023年、12月、3日
- // QDate date(year+2000, month, day);
- // // 将日期格式化为yymmdd
- // QString formattedDate = date.toString("yyyyMMdd");
-
- // //修改文件名的时间信息
- // QString f1 = fileName;
- // f1.remove(11,f1.length()-11);
- // QString f2 = fileName;
- // f2.remove(0,11+8);
- // QString str = f1+formattedDate+f2;
-
- QString outputFileName = GetOutputFileName(fileName,year,month,day);
- //创建修改后的dat文件
- QFile writeFile(outputDir+"/"+outputFileName);
- QDataStream outStream;
- if (writeFile.open(QIODevice::WriteOnly)) {
- // 创建数据流,用于写入二进制数据
- // outStream = QDataStream(&writeFile);
- outStream.setDevice(&writeFile);
- outStream.setByteOrder(QDataStream::LittleEndian);
- }
-
- int len = 265;
- quint8 *data = new quint8[len];
- QFile file1 = QFile(folderPath+"/"+fileName);
- //QFile file1 = QFile("E:\\dat\\output\\下行遥测_0_1_0_20230619230109.dat");
- file1.open(QIODevice::ReadOnly);
- QDataStream readStream = QDataStream(&file1);
- readStream.setVersion(QDataStream::Qt_5_15); //设置数据流的版本
- readStream.setByteOrder(QDataStream::LittleEndian);
- int i =0;
- quint8* content = new quint8[28]; //创建一个28字节的数据缓冲区
- // int sub1 = 0;
- // int sub2 = 0;
- while(!readStream.atEnd())
- {
- readStream.readRawData((char *)data, len); //读取一帧
- // i++;
- //四个子帧解析
- // int id1 = 16;
- // int id2 = id1+32;
- // int id3 = id2+32;
- // int id4 = id3+32;
- int startID = 16;
- for (int var = 0; var < 4; ++var) {
- startID = 16 + 32*var;
- // if(data[startID]!=0x23)
- // qDebug()<<"************Zhen1:"<0)
- data[startID+18] = hexDay;
- if(hexMonth>0)
- data[startID+19] = hexMonth;
- if(hexYear>0)
- data[startID+20] = hexYear;
- //计算CRC16校验位
- for(int i=0;i<28;i++)//提取数据帧内容
- {
- content[i] = data[startID+2+i];
- }
- quint16 crc = GetCrcSum(content,28);//计算校验码
- // 提取高位和低位
- quint8 highByte = static_cast((crc >> 8) & 0xFF);
- quint8 lowByte = static_cast(crc & 0xFF);
- //修改CRC校验位
- data[startID+30] = lowByte;
- data[startID+31] = highByte;
- }
- }
- }
- // bool b = data[16]==0x23;
- // bool b1 = data[17]==0x23;
- // bool b2 = data[18]==0x85;
- //修改系统时间戳
- if(hexYear>0)
- data[2] = hexYear;
- if(hexMonth>0)
- data[3] = hexMonth;
- if(hexDay>0)
- data[4] = hexDay;
-
- //修改最后校验位
- data[len-1] = GetDataCheckCRC(data,len);
-
- //写入文件
- outStream.writeRawData((char *)data,len);
- }
- file1.close();
- writeFile.close();
-
- qDebug()<<"*********************i:"<= 1 && day <= 29) {
- return true;
- }
- } else {
- if (day >= 1 && day <= 28) {
- return true;
- }
- }
- } else if (month == 4 || month == 6 || month == 9 || month == 11) {
- if (day >= 1 && day <= 30) {
- return true;
- }
- } else {
- if (day >= 1 && day <= 31) {
- return true;
- }
- }
- return false;
-}
-
-
-QString MainWindow::GetOutputFileName(QString fileName,int year, int month, int day)
-{
- //QString str = "下行遥测_0_17_0_20221114024453.dat";
- QStringList strList = fileName.split("_");
- QString endstr = strList.constLast();
- QString lastStr = endstr.mid(8,-1);
- if(year==0)
- year = endstr.mid(0,4).toInt()-2000;
- //QString year0 = endstr.mid(0,4);
- if(month==0)
- month = endstr.mid(4,2).toInt();
- if(day==0)
- day = endstr.mid(6,2).toInt();
- // QString month = endstr.mid(4,2);
- // QString day = endstr.mid(6,2);
-
- // 一个示例日期,年月日分别为2023年、12月、3日
- QDate date(year+2000, month, day);
- // 将日期格式化为yymmdd
- QString formattedDate = date.toString("yyyyMMdd");
-
- QString outputFileName = "";
- strList.removeLast();
- strList.append(formattedDate);
- outputFileName = strList.join("_") + lastStr;
- // for (int var = 0; var < strList.length()-2; ++var) {
- // outputFileName += strList.at(var);
- // }
- return outputFileName;
-}
-
-void MainWindow::on_openDirBtn_clicked()
-{
- // 创建一个QFileDialog对象
- QFileDialog dialog;
-
- // 设置对话框的标题
- dialog.setWindowTitle("Select Folder");
-
- // 设置对话框模式为选择文件夹
- dialog.setFileMode(QFileDialog::Directory);
- // 打开对话框
- if (dialog.exec()) {
- // 获取用户选择的文件夹路径
- folderPath = dialog.selectedFiles().at(0);
- qDebug() << "Selected Folder: " << folderPath;
- } else {
- qDebug() << "User canceled the operation.";
- }
-
-}
-
-void MainWindow::CreateDir()
-{
- // 创建一个QDir对象
- QDir dir;
- outputDir = folderPath+"/output";
- // 设置目录路径
- dir.setPath(outputDir);
-
- // 创建文件夹
- if (dir.mkpath(outputDir)) {
- qDebug() << "Folder created successfully.";
- } else {
- qDebug() << "Failed to create folder.";
- }
- //QDir directory(folderPath+"/output");
-}
-
-
-void MainWindow::on_startModifyBtn_clicked()
-{
- int year = ui->yearSpinBox->value();
- int month = ui->monthSpinBox->value();
- int day = ui->daySpinBox->value();
-
- if(year<=0&&month<=0&&day<=0)
- {
- QMessageBox::information(NULL,"提示","请设置要修改的年月日!!!");
- return;
- }
- if(folderPath=="")
- {
- QMessageBox::information(NULL,"提示","请先设置文件夹!!!");
- return;
- }
-
- // 检查Day是否正确
- if(day>0 && !isValidDay(year+2000,month,day))
- {
- QMessageBox::information(NULL,"提示","日期有误,请重新设置!!!");
- return;
- }
-
- // 创建一个 QDir 对象
- QDir directory(folderPath);
- // 获取文件夹中的所有文件
- QStringList files = directory.entryList(QDir::Files);
- int numFiles = files.length();
- if(numFiles==0)
- {
- QMessageBox::information(NULL,"提示","该文件夹没有dat文件!!!");
- return;
- }
-
- //新建output文件夹
- CreateDir();
- //开始处理
- for (int n = 0; n < numFiles; ++n)
- {
- ReadDat(files.at(n));
- }
-
- QMessageBox::information(NULL,"提示","处理结束!!!");
-}
-
+#include "mainwindow.h"
+#include "ui_mainwindow.h"
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+MainWindow::MainWindow(QWidget *parent)
+ : QMainWindow(parent), ui(new Ui::MainWindow) {
+ ui->setupUi(this);
+ ui->hourSpinBox->setMaximum(23);
+ ui->minuteSpinBox->setMaximum(59);
+ ui->secondSpinBox->setMaximum(59);
+ folderPath = "";
+}
+
+MainWindow::~MainWindow() { delete ui; }
+
+void MainWindow::ReadDat(QString fileName) {
+ int year = ui->yearSpinBox->value();
+ int month = ui->monthSpinBox->value();
+ int day = ui->daySpinBox->value();
+ int hour = ui->hourSpinBox->value();
+ int minute = ui->minuteSpinBox->value();
+ int second = ui->secondSpinBox->value();
+
+ QTime time(hour, minute, second);
+ QDate date(year + 2000, month, day);
+ QDateTime targetTime(date, time);
+ // 转化为16进制
+ uint8_t hexYear = IntToHex(year);
+ uint8_t hexMonth = IntToHex(month);
+ uint8_t hexDay = IntToHex(day);
+ uint8_t hexHour = IntToHex(hour);
+ uint8_t hexMinute = IntToHex(minute);
+ uint8_t hexSecond = IntToHex(second);
+
+ // QString filename = outputDir+"/"+fileName;
+ // // 一个示例日期,年月日分别为2023年、12月、3日
+ // QDate date(year+2000, month, day);
+ // // 将日期格式化为yymmdd
+ // QString formattedDate = date.toString("yyyyMMdd");
+
+ // //修改文件名的时间信息
+ // QString f1 = fileName;
+ // f1.remove(11,f1.length()-11);
+ // QString f2 = fileName;
+ // f2.remove(0,11+8);
+ // QString str = f1+formattedDate+f2;
+
+ QString outputFileName =
+ GetOutputFileName(fileName, year, month, day, hour, minute, second);
+ // 创建修改后的dat文件
+ QFile writeFile(outputDir + "/" + outputFileName);
+ QDataStream outStream;
+ if (writeFile.open(QIODevice::WriteOnly)) {
+ // 创建数据流,用于写入二进制数据
+ // outStream = QDataStream(&writeFile);
+ outStream.setDevice(&writeFile);
+ outStream.setByteOrder(QDataStream::LittleEndian);
+ }
+
+ int len = 265;
+ quint8 *data = new quint8[len];
+ QFile file1 = QFile(folderPath + "/" + fileName);
+ // QFile file1 = QFile("E:\\dat\\output\\下行遥测_0_1_0_20230619230109.dat");
+ file1.open(QIODevice::ReadOnly);
+ QDataStream readStream = QDataStream(&file1);
+ readStream.setVersion(QDataStream::Qt_5_15); // 设置数据流的版本
+ readStream.setByteOrder(QDataStream::LittleEndian);
+ int i = 0;
+ quint8 *content = new quint8[28]; // 创建一个28字节的数据缓冲区
+ // int sub1 = 0;
+ // int sub2 = 0;
+ bool bFirstTime = true;
+ qint64 offsetTime = 0;
+ while (!readStream.atEnd()) {
+ readStream.readRawData((char *)data, len); // 读取一帧
+ QTime time(data[5], data[6], data[7]);
+ QDate date(int(data[2]) + 2000, data[3], data[4]);
+ QDateTime curTime(date, time);
+ if (bFirstTime) {
+ offsetTime = curTime.secsTo(targetTime);
+ bFirstTime = false;
+ }
+ QTime tmp0 = curTime.time();
+ curTime = curTime.addSecs(offsetTime);
+ QTime tmp1 = curTime.time();
+ // i++;
+ // 四个子帧解析
+ // int id1 = 16;
+ // int id2 = id1+32;
+ // int id3 = id2+32;
+ // int id4 = id3+32;
+ int startID = 16;
+ for (int var = 0; var < 4; ++var) {
+ startID = 16 + 32 * var;
+
+ quint8 zhenID = data[startID + 4];
+ if (zhenID == 0x87 || zhenID == 0x89 || zhenID == 0x8A) {
+ if (data[startID + 17] == 0x02) // 子帧2
+ {
+ // QTime time(data[startID + 21], data[startID + 22],
+ // data[startID + 23]);
+ // QDate date(int(data[startID + 20]) + 2000, data[startID + 19],
+ // data[startID + 18]);
+ // QDateTime tmpTime(date, time);
+ // tmpTime = tmpTime.addSecs(offsetTime);
+ // 修改UTC年月日数据
+ if (hexDay > 0)
+ data[startID + 18] = hexDay;
+ if (hexMonth > 0)
+ data[startID + 19] = hexMonth;
+ if (hexYear > 0)
+ data[startID + 20] = hexYear;
+ // // 修改UTC时分秒数据
+ // if (hexHour > 0)
+ // data[startID + 21] = IntToHex(tmpTime.time().hour());
+ // if (hexMinute > 0)
+ // data[startID + 22] = IntToHex(tmpTime.time().minute());
+ // if (hexSecond > 0)
+ // data[startID + 23] = IntToHex(tmpTime.time().second());
+ // 计算CRC16校验位
+ for (int i = 0; i < 28; i++) // 提取数据帧内容
+ {
+ content[i] = data[startID + 2 + i];
+ }
+ quint16 crc = GetCrcSum(content, 28); // 计算校验码
+ // 提取高位和低位
+ quint8 highByte = static_cast((crc >> 8) & 0xFF);
+ quint8 lowByte = static_cast(crc & 0xFF);
+ // 修改CRC校验位
+ data[startID + 30] = lowByte;
+ data[startID + 31] = highByte;
+ }
+ }
+ }
+
+ // 修改系统时间戳
+ if (hexYear > 0)
+ data[2] = hexYear;
+ if (hexMonth > 0)
+ data[3] = hexMonth;
+ if (hexDay > 0)
+ data[4] = hexDay;
+ if (hexHour > 0)
+ data[5] = IntToHex(curTime.time().hour());
+ if (hexMinute > 0)
+ data[6] = IntToHex(curTime.time().minute());
+ if (hexSecond > 0)
+ data[7] = IntToHex(curTime.time().second());
+
+ // 修改最后校验位
+ data[len - 1] = GetDataCheckCRC(data, len);
+
+ // 写入文件
+ outStream.writeRawData((char *)data, len);
+ }
+ file1.close();
+ writeFile.close();
+
+ // qDebug()<<"*********************i:"<= 1 && day <= 29) {
+ return true;
+ }
+ } else {
+ if (day >= 1 && day <= 28) {
+ return true;
+ }
+ }
+ } else if (month == 4 || month == 6 || month == 9 || month == 11) {
+ if (day >= 1 && day <= 30) {
+ return true;
+ }
+ } else {
+ if (day >= 1 && day <= 31) {
+ return true;
+ }
+ }
+ return false;
+}
+
+QString MainWindow::GetOutputFileName(QString fileName, int year, int month,
+ int day, int hour, int minute,
+ int second) {
+ // QString str = "下行遥测_0_17_0_20221114024453.dat";
+ QStringList strList = fileName.split("_");
+ QString endstr = strList.constLast();
+ QString lastStr = endstr.mid(14, -1);
+ if (year == 0)
+ year = endstr.mid(0, 4).toInt() - 2000;
+ // QString year0 = endstr.mid(0,4);
+ if (month == 0)
+ month = endstr.mid(4, 2).toInt();
+ if (day == 0)
+ day = endstr.mid(6, 2).toInt();
+ // QString month = endstr.mid(4,2);
+ // QString day = endstr.mid(6,2);
+ if (hour == 0)
+ hour = endstr.mid(8, 2).toInt();
+ if (minute == 0)
+ minute = endstr.mid(10, 2).toInt();
+ if (second == 0)
+ second = endstr.mid(12, 2).toInt();
+
+ // 一个示例日期,年月日分别为2023年、12月、3日
+ QDate date(year + 2000, month, day);
+ // 将日期格式化为yymmdd
+ QString formattedDate = date.toString("yyyyMMdd");
+
+ QTime time(hour, minute, second);
+ QString formattedTime = time.toString("hhmmss");
+
+ QString outputFileName = "";
+ strList.removeLast();
+ strList.append(formattedDate + formattedTime);
+ outputFileName = strList.join("_") + lastStr;
+ // for (int var = 0; var < strList.length()-2; ++var) {
+ // outputFileName += strList.at(var);
+ // }
+ return outputFileName;
+}
+
+void MainWindow::on_openDirBtn_clicked() {
+ // 创建一个QFileDialog对象
+ QFileDialog dialog;
+
+ // 设置对话框的标题
+ dialog.setWindowTitle("Select Folder");
+
+ // 设置对话框模式为选择文件夹
+ dialog.setFileMode(QFileDialog::Directory);
+ // 打开对话框
+ if (dialog.exec()) {
+ // 获取用户选择的文件夹路径
+ folderPath = dialog.selectedFiles().at(0);
+ qDebug() << "Selected Folder: " << folderPath;
+ } else {
+ qDebug() << "User canceled the operation.";
+ }
+}
+
+void MainWindow::CreateDir() {
+ // 创建一个QDir对象
+ QDir dir;
+ outputDir = folderPath + "/output";
+ // 设置目录路径
+ dir.setPath(outputDir);
+
+ // 创建文件夹
+ if (dir.mkpath(outputDir)) {
+ qDebug() << "Folder created successfully.";
+ } else {
+ qDebug() << "Failed to create folder.";
+ }
+ // QDir directory(folderPath+"/output");
+}
+
+void MainWindow::on_startModifyBtn_clicked() {
+ int year = ui->yearSpinBox->value();
+ int month = ui->monthSpinBox->value();
+ int day = ui->daySpinBox->value();
+
+ if (year <= 0 && month <= 0 && day <= 0) {
+ QMessageBox::information(NULL, "提示", "请设置要修改的年月日!!!");
+ return;
+ }
+ if (folderPath == "") {
+ QMessageBox::information(NULL, "提示", "请先设置文件夹!!!");
+ return;
+ }
+
+ // 检查Day是否正确
+ if (day > 0 && !isValidDay(year + 2000, month, day)) {
+ QMessageBox::information(NULL, "提示", "日期有误,请重新设置!!!");
+ return;
+ }
+
+ // 创建一个 QDir 对象
+ QDir directory(folderPath);
+ // 获取文件夹中的所有文件
+ QStringList files = directory.entryList(QDir::Files);
+ int numFiles = files.length();
+ if (numFiles == 0) {
+ QMessageBox::information(NULL, "提示", "该文件夹没有dat文件!!!");
+ return;
+ }
+
+ // 新建output文件夹
+ CreateDir();
+ // 开始处理
+ for (int n = 0; n < numFiles; ++n) {
+ ReadDat(files.at(n));
+ }
+
+ QMessageBox::information(NULL, "提示", "处理结束!!!");
+}
diff --git a/mainwindow.h b/mainwindow.h
index ede94b1..8ff6614 100644
--- a/mainwindow.h
+++ b/mainwindow.h
@@ -1,78 +1,87 @@
-#ifndef MAINWINDOW_H
-#define MAINWINDOW_H
-
-#include
-#include
-
-QT_BEGIN_NAMESPACE
-namespace Ui {
-class MainWindow;
-}
-QT_END_NAMESPACE
-
-class MainWindow : public QMainWindow
-{
- Q_OBJECT
-
-public:
- MainWindow(QWidget *parent = nullptr);
- ~MainWindow();
-
-private slots:
- void on_openDirBtn_clicked();
-
- void on_startModifyBtn_clicked();
-
-private:
- void CreateDir();
- void ReadDat(QString fileName);
- uint8_t IntToHex(int data);
- quint16 GetCrcSum(quint8 *dataptr, quint16 len);
- quint8 GetDataCheckCRC(quint8 *dataptr, quint16 len);
-
- bool isLeapYear(int year);
- bool isValidDay(int year, int month, int day);
-
- QString GetOutputFileName(QString fileName,int year,int month,int day);
-
-private:
- Ui::MainWindow *ui;
- QString folderPath;
- QString outputDir;
- const quint8 CRCLIST[512]=
- {
- 0x0,0x0,0x89,0x11,0x12,0x23,0x9b,0x32,0x24,0x46,0xad,0x57,0x36,0x65,0xbf,0x74,
- 0x48,0x8c,0xc1,0x9d,0x5a,0xaf,0xd3,0xbe,0x6c,0xca,0xe5,0xdb,0x7e,0xe9,0xf7,0xf8,
- 0x81,0x10,0x8,0x1,0x93,0x33,0x1a,0x22,0xa5,0x56,0x2c,0x47,0xb7,0x75,0x3e,0x64,
- 0xc9,0x9c,0x40,0x8d,0xdb,0xbf,0x52,0xae,0xed,0xda,0x64,0xcb,0xff,0xf9,0x76,0xe8,
- 0x2,0x21,0x8b,0x30,0x10,0x2,0x99,0x13,0x26,0x67,0xaf,0x76,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2c,0xf1,0x1e,0x78,0xf
- };
-};
-#endif // MAINWINDOW_H
+#ifndef MAINWINDOW_H
+#define MAINWINDOW_H
+
+#include
+#include
+
+QT_BEGIN_NAMESPACE
+namespace Ui {
+class MainWindow;
+}
+QT_END_NAMESPACE
+
+class MainWindow : public QMainWindow {
+ Q_OBJECT
+
+public:
+ MainWindow(QWidget *parent = nullptr);
+ ~MainWindow();
+
+private slots:
+ void on_openDirBtn_clicked();
+
+ void on_startModifyBtn_clicked();
+
+private:
+ void CreateDir();
+ void ReadDat(QString fileName);
+ uint8_t IntToHex(int data);
+ quint16 GetCrcSum(quint8 *dataptr, quint16 len);
+ quint8 GetDataCheckCRC(quint8 *dataptr, quint16 len);
+
+ bool isLeapYear(int year);
+ bool isValidDay(int year, int month, int day);
+
+ QString GetOutputFileName(QString fileName, int year, int month, int day,
+ int hour, int minute, int second);
+
+private:
+ Ui::MainWindow *ui;
+ QString folderPath;
+ QString outputDir;
+ const quint8 CRCLIST[512] = {
+ 0x0, 0x0, 0x89, 0x11, 0x12, 0x23, 0x9b, 0x32, 0x24, 0x46, 0xad, 0x57,
+ 0x36, 0x65, 0xbf, 0x74, 0x48, 0x8c, 0xc1, 0x9d, 0x5a, 0xaf, 0xd3, 0xbe,
+ 0x6c, 0xca, 0xe5, 0xdb, 0x7e, 0xe9, 0xf7, 0xf8, 0x81, 0x10, 0x8, 0x1,
+ 0x93, 0x33, 0x1a, 0x22, 0xa5, 0x56, 0x2c, 0x47, 0xb7, 0x75, 0x3e, 0x64,
+ 0xc9, 0x9c, 0x40, 0x8d, 0xdb, 0xbf, 0x52, 0xae, 0xed, 0xda, 0x64, 0xcb,
+ 0xff, 0xf9, 0x76, 0xe8, 0x2, 0x21, 0x8b, 0x30, 0x10, 0x2, 0x99, 0x13,
+ 0x26, 0x67, 0xaf, 0x76, 0x34, 0x44, 0xbd, 0x55, 0x4a, 0xad, 0xc3, 0xbc,
+ 0x58, 0x8e, 0xd1, 0x9f, 0x6e, 0xeb, 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+ 0xf3, 0x3f, 0x7a, 0x2e, 0xe, 0xe7, 0x87, 0xf6, 0x1c, 0xc4, 0x95, 0xd5,
+ 0x2a, 0xa1, 0xa3, 0xb0, 0x38, 0x82, 0xb1, 0x93, 0x46, 0x6b, 0xcf, 0x7a,
+ 0x54, 0x48, 0xdd, 0x59, 0x62, 0x2d, 0xeb, 0x3c, 0x70, 0xe, 0xf9, 0x1f,
+ 0x8f, 0xf7, 0x6, 0xe6, 0x9d, 0xd4, 0x14, 0xc5, 0xab, 0xb1, 0x22, 0xa0,
+ 0xb9, 0x92, 0x30, 0x83, 0xc7, 0x7b, 0x4e, 0x6a, 0xd5, 0x58, 0x5c, 0x49,
+ 0xe3, 0x3d, 0x6a, 0x2c, 0xf1, 0x1e, 0x78, 0xf};
+};
+#endif // MAINWINDOW_H
diff --git a/mainwindow.ui b/mainwindow.ui
index c5ee6b9..ab228b0 100644
--- a/mainwindow.ui
+++ b/mainwindow.ui
@@ -1,131 +1,218 @@
-
-
- MainWindow
-
-
-
- 0
- 0
- 404
- 181
-
-
-
- MainWindow
-
-
-
-
-
- 80
- 20
- 92
- 28
-
-
-
- 打开文件夹
-
-
-
-
-
- 20
- 70
- 31
- 31
-
-
-
- 年:
-
-
-
-
-
- 50
- 70
- 50
- 28
-
-
-
- QAbstractSpinBox::NoButtons
-
-
-
-
-
- 120
- 70
- 31
- 31
-
-
-
- 月:
-
-
-
-
-
- 150
- 70
- 50
- 28
-
-
-
- QAbstractSpinBox::NoButtons
-
-
- 12
-
-
-
-
-
- 250
- 70
- 50
- 28
-
-
-
- QAbstractSpinBox::NoButtons
-
-
- 31
-
-
-
-
-
- 220
- 70
- 31
- 31
-
-
-
- 日:
-
-
-
-
-
- 200
- 20
- 92
- 28
-
-
-
- 开始处理
-
-
-
-
-
-
-
+
+
+ MainWindow
+
+
+
+ 0
+ 0
+ 404
+ 181
+
+
+
+ MainWindow
+
+
+
+
+
+ 80
+ 20
+ 92
+ 28
+
+
+
+ 打开文件夹
+
+
+
+
+
+ 20
+ 70
+ 31
+ 31
+
+
+
+ 年:
+
+
+
+
+
+ 50
+ 70
+ 50
+ 28
+
+
+
+ QAbstractSpinBox::ButtonSymbols::NoButtons
+
+
+
+
+
+ 120
+ 70
+ 31
+ 31
+
+
+
+ 月:
+
+
+
+
+
+ 150
+ 70
+ 50
+ 28
+
+
+
+ QAbstractSpinBox::ButtonSymbols::NoButtons
+
+
+ 12
+
+
+
+
+
+ 250
+ 70
+ 50
+ 28
+
+
+
+ QAbstractSpinBox::ButtonSymbols::NoButtons
+
+
+ 31
+
+
+
+
+
+ 220
+ 70
+ 31
+ 31
+
+
+
+ 日:
+
+
+
+
+
+ 200
+ 20
+ 92
+ 28
+
+
+
+ 开始处理
+
+
+
+
+
+ 220
+ 110
+ 31
+ 31
+
+
+
+ 秒:
+
+
+
+
+
+ 20
+ 110
+ 31
+ 31
+
+
+
+ 时:
+
+
+
+
+
+ 250
+ 110
+ 50
+ 28
+
+
+
+ QAbstractSpinBox::ButtonSymbols::NoButtons
+
+
+ 59
+
+
+
+
+
+ 50
+ 110
+ 50
+ 28
+
+
+
+ QAbstractSpinBox::ButtonSymbols::NoButtons
+
+
+ 23
+
+
+
+
+
+ 150
+ 110
+ 50
+ 28
+
+
+
+ QAbstractSpinBox::ButtonSymbols::NoButtons
+
+
+ 59
+
+
+
+
+
+ 120
+ 110
+ 31
+ 31
+
+
+
+ 分:
+
+
+
+
+
+
+
diff --git a/msvc_make.bat b/msvc_make.bat
new file mode 100644
index 0000000..22c54b5
--- /dev/null
+++ b/msvc_make.bat
@@ -0,0 +1,2 @@
+chcp 65001
+"nmake.exe" %*
\ No newline at end of file
diff --git a/ui_mainwindow.h b/ui_mainwindow.h
new file mode 100644
index 0000000..44f3b1d
--- /dev/null
+++ b/ui_mainwindow.h
@@ -0,0 +1,128 @@
+/********************************************************************************
+** Form generated from reading UI file 'mainwindow.ui'
+**
+** Created by: Qt User Interface Compiler version 5.15.2
+**
+** WARNING! All changes made in this file will be lost when recompiling UI file!
+********************************************************************************/
+
+#ifndef UI_MAINWINDOW_H
+#define UI_MAINWINDOW_H
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+QT_BEGIN_NAMESPACE
+
+class Ui_MainWindow
+{
+public:
+ QWidget *centralwidget;
+ QPushButton *openDirBtn;
+ QLabel *label;
+ QSpinBox *yearSpinBox;
+ QLabel *label_2;
+ QSpinBox *monthSpinBox;
+ QSpinBox *daySpinBox;
+ QLabel *label_3;
+ QPushButton *startModifyBtn;
+ QLabel *label_4;
+ QLabel *label_5;
+ QSpinBox *secondSpinBox;
+ QSpinBox *hourSpinBox;
+ QSpinBox *minuteSpinBox;
+ QLabel *label_6;
+
+ void setupUi(QMainWindow *MainWindow)
+ {
+ if (MainWindow->objectName().isEmpty())
+ MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
+ MainWindow->resize(404, 181);
+ centralwidget = new QWidget(MainWindow);
+ centralwidget->setObjectName(QString::fromUtf8("centralwidget"));
+ openDirBtn = new QPushButton(centralwidget);
+ openDirBtn->setObjectName(QString::fromUtf8("openDirBtn"));
+ openDirBtn->setGeometry(QRect(80, 20, 92, 28));
+ label = new QLabel(centralwidget);
+ label->setObjectName(QString::fromUtf8("label"));
+ label->setGeometry(QRect(20, 70, 31, 31));
+ yearSpinBox = new QSpinBox(centralwidget);
+ yearSpinBox->setObjectName(QString::fromUtf8("yearSpinBox"));
+ yearSpinBox->setGeometry(QRect(50, 70, 50, 28));
+ yearSpinBox->setButtonSymbols(QAbstractSpinBox::ButtonSymbols::NoButtons);
+ label_2 = new QLabel(centralwidget);
+ label_2->setObjectName(QString::fromUtf8("label_2"));
+ label_2->setGeometry(QRect(120, 70, 31, 31));
+ monthSpinBox = new QSpinBox(centralwidget);
+ monthSpinBox->setObjectName(QString::fromUtf8("monthSpinBox"));
+ monthSpinBox->setGeometry(QRect(150, 70, 50, 28));
+ monthSpinBox->setButtonSymbols(QAbstractSpinBox::ButtonSymbols::NoButtons);
+ monthSpinBox->setMaximum(12);
+ daySpinBox = new QSpinBox(centralwidget);
+ daySpinBox->setObjectName(QString::fromUtf8("daySpinBox"));
+ daySpinBox->setGeometry(QRect(250, 70, 50, 28));
+ daySpinBox->setButtonSymbols(QAbstractSpinBox::ButtonSymbols::NoButtons);
+ daySpinBox->setMaximum(31);
+ label_3 = new QLabel(centralwidget);
+ label_3->setObjectName(QString::fromUtf8("label_3"));
+ label_3->setGeometry(QRect(220, 70, 31, 31));
+ startModifyBtn = new QPushButton(centralwidget);
+ startModifyBtn->setObjectName(QString::fromUtf8("startModifyBtn"));
+ startModifyBtn->setGeometry(QRect(200, 20, 92, 28));
+ label_4 = new QLabel(centralwidget);
+ label_4->setObjectName(QString::fromUtf8("label_4"));
+ label_4->setGeometry(QRect(220, 110, 31, 31));
+ label_5 = new QLabel(centralwidget);
+ label_5->setObjectName(QString::fromUtf8("label_5"));
+ label_5->setGeometry(QRect(20, 110, 31, 31));
+ secondSpinBox = new QSpinBox(centralwidget);
+ secondSpinBox->setObjectName(QString::fromUtf8("secondSpinBox"));
+ secondSpinBox->setGeometry(QRect(250, 110, 50, 28));
+ secondSpinBox->setButtonSymbols(QAbstractSpinBox::ButtonSymbols::NoButtons);
+ secondSpinBox->setMaximum(31);
+ hourSpinBox = new QSpinBox(centralwidget);
+ hourSpinBox->setObjectName(QString::fromUtf8("hourSpinBox"));
+ hourSpinBox->setGeometry(QRect(50, 110, 50, 28));
+ hourSpinBox->setButtonSymbols(QAbstractSpinBox::ButtonSymbols::NoButtons);
+ minuteSpinBox = new QSpinBox(centralwidget);
+ minuteSpinBox->setObjectName(QString::fromUtf8("minuteSpinBox"));
+ minuteSpinBox->setGeometry(QRect(150, 110, 50, 28));
+ minuteSpinBox->setButtonSymbols(QAbstractSpinBox::ButtonSymbols::NoButtons);
+ minuteSpinBox->setMaximum(12);
+ label_6 = new QLabel(centralwidget);
+ label_6->setObjectName(QString::fromUtf8("label_6"));
+ label_6->setGeometry(QRect(120, 110, 31, 31));
+ MainWindow->setCentralWidget(centralwidget);
+
+ retranslateUi(MainWindow);
+
+ QMetaObject::connectSlotsByName(MainWindow);
+ } // setupUi
+
+ void retranslateUi(QMainWindow *MainWindow)
+ {
+ MainWindow->setWindowTitle(QCoreApplication::translate("MainWindow", "MainWindow", nullptr));
+ openDirBtn->setText(QCoreApplication::translate("MainWindow", "\346\211\223\345\274\200\346\226\207\344\273\266\345\244\271", nullptr));
+ label->setText(QCoreApplication::translate("MainWindow", "\345\271\264\357\274\232", nullptr));
+ label_2->setText(QCoreApplication::translate("MainWindow", "\346\234\210\357\274\232", nullptr));
+ label_3->setText(QCoreApplication::translate("MainWindow", "\346\227\245\357\274\232", nullptr));
+ startModifyBtn->setText(QCoreApplication::translate("MainWindow", "\345\274\200\345\247\213\345\244\204\347\220\206", nullptr));
+ label_4->setText(QCoreApplication::translate("MainWindow", "\347\247\222\357\274\232", nullptr));
+ label_5->setText(QCoreApplication::translate("MainWindow", "\346\227\266\357\274\232", nullptr));
+ label_6->setText(QCoreApplication::translate("MainWindow", "\345\210\206\357\274\232", nullptr));
+ } // retranslateUi
+
+};
+
+namespace Ui {
+ class MainWindow: public Ui_MainWindow {};
+} // namespace Ui
+
+QT_END_NAMESPACE
+
+#endif // UI_MAINWINDOW_H