From 49aa99c873e2c4f2bb293a6b7fcb90bf1cdead03 Mon Sep 17 00:00:00 2001 From: mypointer Date: Wed, 15 Jul 2020 22:53:59 +0800 Subject: [PATCH] Add project files. --- Nosub.cpp | 7 +++ Nosub.h | 15 ++++++ Nosub.qrc | 4 ++ Nosub.sln | 25 ++++++++++ Nosub.ui | 28 +++++++++++ Nosub.vcxproj | 106 ++++++++++++++++++++++++++++++++++++++++++ Nosub.vcxproj.filters | 49 +++++++++++++++++++ main.cpp | 10 ++++ 8 files changed, 244 insertions(+) create mode 100644 Nosub.cpp create mode 100644 Nosub.h create mode 100644 Nosub.qrc create mode 100644 Nosub.sln create mode 100644 Nosub.ui create mode 100644 Nosub.vcxproj create mode 100644 Nosub.vcxproj.filters create mode 100644 main.cpp diff --git a/Nosub.cpp b/Nosub.cpp new file mode 100644 index 0000000..5ae547f --- /dev/null +++ b/Nosub.cpp @@ -0,0 +1,7 @@ +#include "Nosub.h" + +Nosub::Nosub(QWidget *parent) + : QMainWindow(parent) +{ + ui.setupUi(this); +} diff --git a/Nosub.h b/Nosub.h new file mode 100644 index 0000000..40f3ef7 --- /dev/null +++ b/Nosub.h @@ -0,0 +1,15 @@ +#pragma once + +#include +#include "ui_Nosub.h" + +class Nosub : public QMainWindow +{ + Q_OBJECT + +public: + Nosub(QWidget *parent = Q_NULLPTR); + +private: + Ui::NosubClass ui; +}; diff --git a/Nosub.qrc b/Nosub.qrc new file mode 100644 index 0000000..9991604 --- /dev/null +++ b/Nosub.qrc @@ -0,0 +1,4 @@ + + + + diff --git a/Nosub.sln b/Nosub.sln new file mode 100644 index 0000000..be99873 --- /dev/null +++ b/Nosub.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30225.117 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Nosub", "Nosub.vcxproj", "{7C0645B0-5FA0-4A3A-80BC-6762EE344E68}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x64 = Debug|x64 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {7C0645B0-5FA0-4A3A-80BC-6762EE344E68}.Debug|x64.ActiveCfg = Debug|x64 + {7C0645B0-5FA0-4A3A-80BC-6762EE344E68}.Debug|x64.Build.0 = Debug|x64 + {7C0645B0-5FA0-4A3A-80BC-6762EE344E68}.Release|x64.ActiveCfg = Release|x64 + {7C0645B0-5FA0-4A3A-80BC-6762EE344E68}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {08831A8A-17F0-4E10-B0C5-009F36A72499} + EndGlobalSection +EndGlobal diff --git a/Nosub.ui b/Nosub.ui new file mode 100644 index 0000000..13e6632 --- /dev/null +++ b/Nosub.ui @@ -0,0 +1,28 @@ + + NosubClass + + + NosubClass + + + + 0 + 0 + 600 + 400 + + + + Nosub + + + + + + + + + + + + diff --git a/Nosub.vcxproj b/Nosub.vcxproj new file mode 100644 index 0000000..6eecd1d --- /dev/null +++ b/Nosub.vcxproj @@ -0,0 +1,106 @@ + + + + + Debug + x64 + + + Release + x64 + + + + {7C0645B0-5FA0-4A3A-80BC-6762EE344E68} + QtVS_v303 + 10.0.18362.0 + 10.0.18362.0 + $(MSBuildProjectDirectory)\QtMsBuild + + + + Application + v141 + + + Application + v141 + + + + + + + + + + + + + + + + + + + + + + + msvc2017_64_new + core;gui;widgets + debug + + + msvc2017_64_new + core;gui;widgets + release + + + + + + + true + true + ProgramDatabase + Disabled + MultiThreadedDebugDLL + + + Windows + true + + + + + true + true + None + MaxSpeed + MultiThreadedDLL + + + Windows + false + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Nosub.vcxproj.filters b/Nosub.vcxproj.filters new file mode 100644 index 0000000..c214e24 --- /dev/null +++ b/Nosub.vcxproj.filters @@ -0,0 +1,49 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + 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} + 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 + + + {D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E} + qrc;* + false + + + + + Resource Files + + + Resource Files + + + Header Files + + + Source Files + + + + + Resource Files + + + Resource Files + + + + diff --git a/main.cpp b/main.cpp new file mode 100644 index 0000000..73ab6ae --- /dev/null +++ b/main.cpp @@ -0,0 +1,10 @@ +#include "Nosub.h" +#include + +int main(int argc, char *argv[]) +{ + QApplication a(argc, argv); + Nosub w; + w.show(); + return a.exec(); +}