-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
276 changed files
with
111,960 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"files": ["main.py","main.ui"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,168 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE QtCreatorProject> | ||
<!-- Written by QtCreator 8.0.1, 2023-07-17T23:03:54. --> | ||
<qtcreator> | ||
<data> | ||
<variable>EnvironmentId</variable> | ||
<value type="QByteArray">{1d6c2ec8-293b-4991-992e-7173745a6b04}</value> | ||
</data> | ||
<data> | ||
<variable>ProjectExplorer.Project.ActiveTarget</variable> | ||
<value type="qlonglong">0</value> | ||
</data> | ||
<data> | ||
<variable>ProjectExplorer.Project.EditorSettings</variable> | ||
<valuemap type="QVariantMap"> | ||
<value type="bool" key="EditorConfiguration.AutoIndent">true</value> | ||
<value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value> | ||
<value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value> | ||
<valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0"> | ||
<value type="QString" key="language">Cpp</value> | ||
<valuemap type="QVariantMap" key="value"> | ||
<value type="QByteArray" key="CurrentPreferences">CppGlobal</value> | ||
</valuemap> | ||
</valuemap> | ||
<valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1"> | ||
<value type="QString" key="language">QmlJS</value> | ||
<valuemap type="QVariantMap" key="value"> | ||
<value type="QByteArray" key="CurrentPreferences">QmlJSGlobal</value> | ||
</valuemap> | ||
</valuemap> | ||
<value type="qlonglong" key="EditorConfiguration.CodeStyle.Count">2</value> | ||
<value type="QByteArray" key="EditorConfiguration.Codec">UTF-8</value> | ||
<value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value> | ||
<value type="int" key="EditorConfiguration.IndentSize">4</value> | ||
<value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value> | ||
<value type="int" key="EditorConfiguration.MarginColumn">80</value> | ||
<value type="bool" key="EditorConfiguration.MouseHiding">true</value> | ||
<value type="bool" key="EditorConfiguration.MouseNavigation">true</value> | ||
<value type="int" key="EditorConfiguration.PaddingMode">1</value> | ||
<value type="bool" key="EditorConfiguration.PreferSingleLineComments">false</value> | ||
<value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value> | ||
<value type="bool" key="EditorConfiguration.ShowMargin">false</value> | ||
<value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value> | ||
<value type="bool" key="EditorConfiguration.SmartSelectionChanging">true</value> | ||
<value type="bool" key="EditorConfiguration.SpacesForTabs">true</value> | ||
<value type="int" key="EditorConfiguration.TabKeyBehavior">0</value> | ||
<value type="int" key="EditorConfiguration.TabSize">8</value> | ||
<value type="bool" key="EditorConfiguration.UseGlobal">true</value> | ||
<value type="bool" key="EditorConfiguration.UseIndenter">false</value> | ||
<value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value> | ||
<value type="bool" key="EditorConfiguration.addFinalNewLine">true</value> | ||
<value type="bool" key="EditorConfiguration.cleanIndentation">true</value> | ||
<value type="bool" key="EditorConfiguration.cleanWhitespace">true</value> | ||
<value type="QString" key="EditorConfiguration.ignoreFileTypes">*.md, *.MD, Makefile</value> | ||
<value type="bool" key="EditorConfiguration.inEntireDocument">false</value> | ||
<value type="bool" key="EditorConfiguration.skipTrailingWhitespace">true</value> | ||
</valuemap> | ||
</data> | ||
<data> | ||
<variable>ProjectExplorer.Project.PluginSettings</variable> | ||
<valuemap type="QVariantMap"> | ||
<valuemap type="QVariantMap" key="AutoTest.ActiveFrameworks"> | ||
<value type="bool" key="AutoTest.Framework.Boost">true</value> | ||
<value type="bool" key="AutoTest.Framework.CTest">false</value> | ||
<value type="bool" key="AutoTest.Framework.Catch">true</value> | ||
<value type="bool" key="AutoTest.Framework.GTest">true</value> | ||
<value type="bool" key="AutoTest.Framework.QtQuickTest">true</value> | ||
<value type="bool" key="AutoTest.Framework.QtTest">true</value> | ||
</valuemap> | ||
<valuemap type="QVariantMap" key="AutoTest.CheckStates"/> | ||
<value type="int" key="AutoTest.RunAfterBuild">0</value> | ||
<value type="bool" key="AutoTest.UseGlobal">true</value> | ||
<valuemap type="QVariantMap" key="ClangTools"> | ||
<value type="bool" key="ClangTools.AnalyzeOpenFiles">true</value> | ||
<value type="bool" key="ClangTools.BuildBeforeAnalysis">true</value> | ||
<value type="QString" key="ClangTools.DiagnosticConfig">Builtin.DefaultTidyAndClazy</value> | ||
<value type="int" key="ClangTools.ParallelJobs">6</value> | ||
<valuelist type="QVariantList" key="ClangTools.SelectedDirs"/> | ||
<valuelist type="QVariantList" key="ClangTools.SelectedFiles"/> | ||
<valuelist type="QVariantList" key="ClangTools.SuppressedDiagnostics"/> | ||
<value type="bool" key="ClangTools.UseGlobalSettings">true</value> | ||
</valuemap> | ||
</valuemap> | ||
</data> | ||
<data> | ||
<variable>ProjectExplorer.Project.Target.0</variable> | ||
<valuemap type="QVariantMap"> | ||
<value type="QString" key="DeviceType">Desktop</value> | ||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop Qt 5.15.2 MinGW 64-bit</value> | ||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop Qt 5.15.2 MinGW 64-bit</value> | ||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">qt.qt5.5152.win64_mingw81_kit</value> | ||
<value type="qlonglong" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</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"> | ||
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">E:\DesktopSpace\Development\C\QtProject\BilibiliCacheVideoMergePython</value> | ||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | ||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | ||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | ||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Python.PysideBuildStep</value> | ||
<value type="QString" key="Python.PySideProjectTool">C:\Users\moli\AppData\Roaming\Python\Python38\Scripts\pyside6-project.exe</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"> | ||
<value type="qlonglong" key="ProjectExplorer.BuildStepList.StepsCount">0</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">build</value> | ||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Python.PySideBuildConfiguration</value> | ||
</valuemap> | ||
<value type="qlonglong" key="ProjectExplorer.Target.BuildConfigurationCount">1</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> | ||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value> | ||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Deploy</value> | ||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value> | ||
</valuemap> | ||
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value> | ||
<valuemap type="QVariantMap" key="ProjectExplorer.DeployConfiguration.CustomData"/> | ||
<value type="bool" key="ProjectExplorer.DeployConfiguration.CustomDataEnabled">false</value> | ||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value> | ||
</valuemap> | ||
<value type="qlonglong" key="ProjectExplorer.Target.DeployConfigurationCount">1</value> | ||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0"> | ||
<value type="bool" key="Analyzer.Perf.Settings.UseGlobalSettings">true</value> | ||
<value type="bool" key="Analyzer.QmlProfiler.Settings.UseGlobalSettings">true</value> | ||
<value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value> | ||
<valuelist type="QVariantList" key="CustomOutputParsers"/> | ||
<value type="int" key="PE.EnvironmentAspect.Base">2</value> | ||
<valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/> | ||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">main.py</value> | ||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">PythonEditor.RunConfiguration.E:/DesktopSpace/Development/C/QtProject/BilibiliCacheVideoMergePython/main.py</value> | ||
<value type="QString" key="ProjectExplorer.RunConfiguration.BuildKey">E:/DesktopSpace/Development/C/QtProject/BilibiliCacheVideoMergePython/main.py</value> | ||
<value type="QString" key="PythonEditor.RunConfiguation.Script">E:\DesktopSpace\Development\C\QtProject\BilibiliCacheVideoMergePython\main.py</value> | ||
<value type="bool" key="RunConfiguration.UseCppDebugger">false</value> | ||
<value type="bool" key="RunConfiguration.UseCppDebuggerAuto">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">E:/DesktopSpace/Development/C/QtProject/BilibiliCacheVideoMergePython</value> | ||
</valuemap> | ||
<value type="qlonglong" key="ProjectExplorer.Target.RunConfigurationCount">1</value> | ||
</valuemap> | ||
</data> | ||
<data> | ||
<variable>ProjectExplorer.Project.TargetCount</variable> | ||
<value type="qlonglong">1</value> | ||
</data> | ||
<data> | ||
<variable>ProjectExplorer.Project.Updater.FileVersion</variable> | ||
<value type="int">22</value> | ||
</data> | ||
<data> | ||
<variable>Version</variable> | ||
<value type="int">22</value> | ||
</data> | ||
</qtcreator> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
开发环境 | ||
|
||
python3.8.6 | ||
|
||
qt5.15.1 | ||
|
||
``` | ||
pip install nuitka | ||
pip install pyinstaller | ||
pip install pyside6 -i https://pypi.tuna.tsinghua.edu.cn/simple | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
class CacheInfo(): | ||
__danmakuPath: str | ||
__jsonPath: str | ||
__audioPath: str | ||
__videoPath: str | ||
__blvPath: str | ||
|
||
__checked: bool | ||
__title: str | ||
__path: str | ||
__parentPath: str | ||
|
||
__index: int | ||
|
||
__dirName: str | ||
|
||
def __init__(self, danmakuPath=None, jsonPath=None, audioPath=None, videoPath=None, blvPath=None): | ||
self.__danmakuPath = str(danmakuPath) if danmakuPath is not None else None | ||
self.__jsonPath = str(jsonPath) if jsonPath is not None else None | ||
self.__audioPath = str(audioPath) if audioPath is not None else None | ||
self.__videoPath = str(videoPath) if videoPath is not None else None | ||
self.__blvPath = str(blvPath) if blvPath is not None else None | ||
self.__checked = None | ||
self.__title = None | ||
self.__path = None | ||
self.__parentPath = None | ||
self.__index = -1 | ||
self.__dirName = '' | ||
|
||
def setDanmakuPath(self, values): | ||
self.__danmakuPath = values | ||
return self | ||
|
||
def getDanmakuPath(self): | ||
return self.__danmakuPath | ||
|
||
def setJsonPath(self, values): | ||
self.__jsonPath = values | ||
return self | ||
|
||
def getJsonPath(self): | ||
return self.__jsonPath | ||
|
||
def setAudioPath(self, values): | ||
self.__audioPath = values | ||
return self | ||
|
||
def getAudioPath(self): | ||
return self.__audioPath | ||
|
||
def setVideoPath(self, values): | ||
self.__videoPath = values | ||
return self | ||
|
||
def getVideoPath(self): | ||
return self.__videoPath | ||
|
||
def setBlvPath(self, values): | ||
self.__blvPath = values | ||
return self | ||
|
||
def getBlvPath(self): | ||
return self.__blvPath | ||
|
||
def setChecked(self, value): | ||
self.__checked = value | ||
return self | ||
|
||
def isChecked(self): | ||
return self.__checked | ||
|
||
def setTitle(self, value): | ||
self.__title = value | ||
return self | ||
|
||
def getTitle(self): | ||
return self.__title | ||
|
||
def setPath(self, value): | ||
self.__path = value | ||
return self | ||
|
||
def getPath(self): | ||
return self.__path | ||
|
||
def setParentPath(self, value): | ||
self.__parentPath = value | ||
return self | ||
|
||
def getParentPath(self): | ||
return self.__parentPath | ||
|
||
def setIndex(self, value): | ||
self.__index = value | ||
return self | ||
|
||
def getIndex(self): | ||
return self.__index | ||
|
||
def setDirName(self, value): | ||
self.__dirName = value | ||
return self | ||
|
||
def getDirName(self): | ||
return self.__dirName | ||
|
||
def __str__(self): | ||
fields = [] | ||
for field_name in dir(self): | ||
if not field_name.startswith("__"): | ||
field_value = getattr(self, field_name) | ||
if field_value is not None: | ||
fields.append(f"{field_name}={field_value}") | ||
return f"CacheInfo({', '.join(fields)})" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
class JsonInfo: | ||
__title: str | ||
__subTitle: str | ||
|
||
__cover: str | ||
__avid: str | ||
__cid: str | ||
__bvid: str | ||
|
||
def __init__(self, title=None, subTitle=None, bvid=None, avid=None, cid=None, cover=None): | ||
self.__title = str(title) | ||
self.__subTitle = str(subTitle) | ||
self.__bvid = str(bvid) | ||
self.__avid = str(avid) | ||
|
||
self.__cid = str(cid) | ||
self.__cover = str(cover) | ||
|
||
def get_title(self): | ||
return self.__title | ||
|
||
def set_title(self, title): | ||
self.__title = str(title) | ||
return self | ||
|
||
def get_cover(self): | ||
return self.__cover | ||
|
||
def set_cover(self, cover): | ||
self.__cover = str(cover) | ||
return self | ||
|
||
def get_avid(self): | ||
return self.__avid | ||
|
||
def set_avid(self, avid): | ||
self.__avid = str(avid) | ||
return self | ||
|
||
def get_cid(self): | ||
return self.__cid | ||
|
||
def set_cid(self, cid): | ||
self.__cid = str(cid) | ||
return self | ||
|
||
def get_bvid(self): | ||
return self.__bvid | ||
|
||
def set_bvid(self, bvid): | ||
self.__bvid = str(bvid) | ||
return self | ||
|
||
def get_subTitle(self): | ||
return self.__subTitle | ||
|
||
def set_subTitle(self, subTitle): | ||
self.__subTitle = str(subTitle) | ||
return self | ||
|
||
def __str__(self): | ||
fields = [] | ||
if self.__title is not None: | ||
fields.append(f"__title: {self.__title}") | ||
if self.__cover is not None: | ||
fields.append(f"__cover: {self.__cover}") | ||
if self.__avid is not None: | ||
fields.append(f"__avid: {self.__avid}") | ||
if self.__cid is not None: | ||
fields.append(f"__cid: {self.__cid}") | ||
if self.__part is not None: | ||
fields.append(f"__part: {self.__part}") | ||
if self.__bvid is not None: | ||
fields.append(f"__bvid: {self.__bvid}") | ||
if self.__subTitle is not None: | ||
fields.append(f"__subTitle: {self.__subTitle}") | ||
return f"JsonInfo({', '.join(fields)})" |
Oops, something went wrong.