From 209c547dcca9ba92d3e3c8ce14acb67a052ee3a1 Mon Sep 17 00:00:00 2001 From: codeboss <2422523675@qq.com> Date: Sun, 18 Feb 2024 21:45:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=A1=B9=E7=9B=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- QtNovels.sln | 25 ++++++++ QtNovels/QtNovels.vcxproj | 103 ++++++++++++++++++++++++++++++ QtNovels/QtNovels.vcxproj.filters | 48 ++++++++++++++ QtNovels/main.cpp | 10 +++ QtNovels/qtnovels.cpp | 10 +++ QtNovels/qtnovels.h | 16 +++++ QtNovels/qtnovels.qrc | 4 ++ QtNovels/qtnovels.ui | 28 ++++++++ 8 files changed, 244 insertions(+) create mode 100644 QtNovels.sln create mode 100644 QtNovels/QtNovels.vcxproj create mode 100644 QtNovels/QtNovels.vcxproj.filters create mode 100644 QtNovels/main.cpp create mode 100644 QtNovels/qtnovels.cpp create mode 100644 QtNovels/qtnovels.h create mode 100644 QtNovels/qtnovels.qrc create mode 100644 QtNovels/qtnovels.ui diff --git a/QtNovels.sln b/QtNovels.sln new file mode 100644 index 0000000..8dd2b2f --- /dev/null +++ b/QtNovels.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.34112.143 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "QtNovels", "QtNovels\QtNovels.vcxproj", "{ECED0F1E-01F4-4FBB-BFC0-6A43BA55A52B}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x64 = Debug|x64 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {ECED0F1E-01F4-4FBB-BFC0-6A43BA55A52B}.Debug|x64.ActiveCfg = Debug|x64 + {ECED0F1E-01F4-4FBB-BFC0-6A43BA55A52B}.Debug|x64.Build.0 = Debug|x64 + {ECED0F1E-01F4-4FBB-BFC0-6A43BA55A52B}.Release|x64.ActiveCfg = Release|x64 + {ECED0F1E-01F4-4FBB-BFC0-6A43BA55A52B}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {A6E4A8DD-C01E-479B-BEE0-33971D676C2C} + EndGlobalSection +EndGlobal diff --git a/QtNovels/QtNovels.vcxproj b/QtNovels/QtNovels.vcxproj new file mode 100644 index 0000000..5307bc1 --- /dev/null +++ b/QtNovels/QtNovels.vcxproj @@ -0,0 +1,103 @@ + + + + + Debug + x64 + + + Release + x64 + + + + {ECED0F1E-01F4-4FBB-BFC0-6A43BA55A52B} + QtVS_v304 + 10.0.22621.0 + 10.0.22621.0 + $(MSBuildProjectDirectory)\QtMsBuild + + + + Application + v141 + + + Application + v141 + + + + + + + 5.12.11_msvc2017_64 + core;gui;widgets + debug + + + 5.12.11_msvc2017_64 + core;gui;widgets + release + + + + + + + + + + + + + + + + + + + + + + true + true + ProgramDatabase + Disabled + + + Windows + true + + + + + true + true + None + MaxSpeed + + + Windows + false + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/QtNovels/QtNovels.vcxproj.filters b/QtNovels/QtNovels.vcxproj.filters new file mode 100644 index 0000000..e61a814 --- /dev/null +++ b/QtNovels/QtNovels.vcxproj.filters @@ -0,0 +1,48 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + qml;cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + qrc;rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + {99349809-55BA-4b9d-BF79-8FDBB0286EB3} + ui + + + {639EADAA-A684-42e4-A9AD-28FC9BCB8F7C} + ts + + + + + Resource Files + + + Form Files + + + Header Files + + + Source Files + + + + + Resource Files + + + Resource Files + + + + diff --git a/QtNovels/main.cpp b/QtNovels/main.cpp new file mode 100644 index 0000000..6d79bfe --- /dev/null +++ b/QtNovels/main.cpp @@ -0,0 +1,10 @@ +#include "qtnovels.h" +#include + +int main(int argc, char *argv[]) +{ + QApplication a(argc, argv); + QtNovels w; + w.show(); + return a.exec(); +} diff --git a/QtNovels/qtnovels.cpp b/QtNovels/qtnovels.cpp new file mode 100644 index 0000000..bddb63e --- /dev/null +++ b/QtNovels/qtnovels.cpp @@ -0,0 +1,10 @@ +#include "qtnovels.h" + +QtNovels::QtNovels(QWidget *parent) + : QMainWindow(parent) +{ + ui.setupUi(this); +} + +QtNovels::~QtNovels() +{} diff --git a/QtNovels/qtnovels.h b/QtNovels/qtnovels.h new file mode 100644 index 0000000..0d3bf95 --- /dev/null +++ b/QtNovels/qtnovels.h @@ -0,0 +1,16 @@ +#pragma once + +#include +#include "ui_qtnovels.h" + +class QtNovels : public QMainWindow +{ + Q_OBJECT + +public: + QtNovels(QWidget *parent = nullptr); + ~QtNovels(); + +private: + Ui::QtNovelsClass ui; +}; diff --git a/QtNovels/qtnovels.qrc b/QtNovels/qtnovels.qrc new file mode 100644 index 0000000..a5f6d8d --- /dev/null +++ b/QtNovels/qtnovels.qrc @@ -0,0 +1,4 @@ + + + + diff --git a/QtNovels/qtnovels.ui b/QtNovels/qtnovels.ui new file mode 100644 index 0000000..f0ebf75 --- /dev/null +++ b/QtNovels/qtnovels.ui @@ -0,0 +1,28 @@ + + QtNovelsClass + + + QtNovelsClass + + + + 0 + 0 + 600 + 400 + + + + QtNovels + + + + + + + + + + + +