From 69a43c9a11ec6c86b6cb920ff6eb6536db4bfc02 Mon Sep 17 00:00:00 2001 From: birkeh Date: Thu, 28 Dec 2017 09:30:25 +0100 Subject: [PATCH] First Commit --- cmainwindow.cpp | 14 ++ cmainwindow.h | 22 +++ cmainwindow.ui | 24 ++++ main.cpp | 11 ++ qtPartlist.pro | 34 +++++ qtPartlist.pro.user | 318 ++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 423 insertions(+) create mode 100644 cmainwindow.cpp create mode 100644 cmainwindow.h create mode 100644 cmainwindow.ui create mode 100644 main.cpp create mode 100644 qtPartlist.pro create mode 100644 qtPartlist.pro.user diff --git a/cmainwindow.cpp b/cmainwindow.cpp new file mode 100644 index 0000000..972b795 --- /dev/null +++ b/cmainwindow.cpp @@ -0,0 +1,14 @@ +#include "cmainwindow.h" +#include "ui_cmainwindow.h" + +cMainWindow::cMainWindow(QWidget *parent) : + QMainWindow(parent), + ui(new Ui::cMainWindow) +{ + ui->setupUi(this); +} + +cMainWindow::~cMainWindow() +{ + delete ui; +} diff --git a/cmainwindow.h b/cmainwindow.h new file mode 100644 index 0000000..367d526 --- /dev/null +++ b/cmainwindow.h @@ -0,0 +1,22 @@ +#ifndef CMAINWINDOW_H +#define CMAINWINDOW_H + +#include + +namespace Ui { +class cMainWindow; +} + +class cMainWindow : public QMainWindow +{ + Q_OBJECT + +public: + explicit cMainWindow(QWidget *parent = 0); + ~cMainWindow(); + +private: + Ui::cMainWindow *ui; +}; + +#endif // CMAINWINDOW_H diff --git a/cmainwindow.ui b/cmainwindow.ui new file mode 100644 index 0000000..2f025dc --- /dev/null +++ b/cmainwindow.ui @@ -0,0 +1,24 @@ + + cMainWindow + + + + 0 + 0 + 400 + 300 + + + + cMainWindow + + + + + + + + + + + diff --git a/main.cpp b/main.cpp new file mode 100644 index 0000000..a90eb7a --- /dev/null +++ b/main.cpp @@ -0,0 +1,11 @@ +#include "cmainwindow.h" +#include + +int main(int argc, char *argv[]) +{ + QApplication a(argc, argv); + cMainWindow w; + w.show(); + + return a.exec(); +} diff --git a/qtPartlist.pro b/qtPartlist.pro new file mode 100644 index 0000000..6befaf1 --- /dev/null +++ b/qtPartlist.pro @@ -0,0 +1,34 @@ +#------------------------------------------------- +# +# Project created by QtCreator 2017-12-28T09:29:37 +# +#------------------------------------------------- + +QT += core gui + +greaterThan(QT_MAJOR_VERSION, 4): QT += widgets + +TARGET = qtPartlist +TEMPLATE = app + +# The following define makes your compiler emit warnings if you use +# any feature of Qt which has been marked as deprecated (the exact warnings +# depend on your compiler). Please consult the documentation of the +# deprecated API in order to know how to port your code away from it. +DEFINES += QT_DEPRECATED_WARNINGS + +# You can also make your code fail to compile if you use deprecated APIs. +# In order to do so, uncomment the following line. +# You can also select to disable deprecated APIs only up to a certain version of Qt. +#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 + + +SOURCES += \ + main.cpp \ + cmainwindow.cpp + +HEADERS += \ + cmainwindow.h + +FORMS += \ + cmainwindow.ui diff --git a/qtPartlist.pro.user b/qtPartlist.pro.user new file mode 100644 index 0000000..f20d9ac --- /dev/null +++ b/qtPartlist.pro.user @@ -0,0 +1,318 @@ + + + + + + EnvironmentId + {bfe59401-82ec-419b-b187-ace4a5aa00ed} + + + ProjectExplorer.Project.ActiveTarget + 0 + + + ProjectExplorer.Project.EditorSettings + + true + false + true + + Cpp + + CppGlobal + + + + QmlJS + + QmlJSGlobal + + + 2 + UTF-8 + false + 4 + false + 80 + true + true + 1 + true + false + 0 + true + true + 0 + 8 + true + 1 + true + true + true + false + + + + ProjectExplorer.Project.PluginSettings + + + + ProjectExplorer.Project.Target.0 + + Desktop Qt 5.10.0 MinGW 32bit + Desktop Qt 5.10.0 MinGW 32bit + qt.qt5.5100.win32_mingw53_kit + 0 + 0 + 0 + + C:/Users/birkeh/Documents/GitHub/build-qtPartlist-Desktop_Qt_5_10_0_MinGW_32bit-Debug + + + true + qmake + + QtProjectManager.QMakeBuildStep + true + + false + false + false + + + true + Make + + Qt4ProjectManager.MakeStep + + false + + + + 2 + Build + + ProjectExplorer.BuildSteps.Build + + + + true + Make + + Qt4ProjectManager.MakeStep + + true + clean + + + 1 + Clean + + ProjectExplorer.BuildSteps.Clean + + 2 + false + + Debug + + Qt4ProjectManager.Qt4BuildConfiguration + 2 + true + + + C:/Users/birkeh/Documents/GitHub/build-qtPartlist-Desktop_Qt_5_10_0_MinGW_32bit-Release + + + true + qmake + + QtProjectManager.QMakeBuildStep + false + + false + false + false + + + true + Make + + Qt4ProjectManager.MakeStep + + false + + + + 2 + Build + + ProjectExplorer.BuildSteps.Build + + + + true + Make + + Qt4ProjectManager.MakeStep + + true + clean + + + 1 + Clean + + ProjectExplorer.BuildSteps.Clean + + 2 + false + + Release + + Qt4ProjectManager.Qt4BuildConfiguration + 0 + true + + + C:/Users/birkeh/Documents/GitHub/build-qtPartlist-Desktop_Qt_5_10_0_MinGW_32bit-Profile + + + true + qmake + + QtProjectManager.QMakeBuildStep + true + + false + true + false + + + true + Make + + Qt4ProjectManager.MakeStep + + false + + + + 2 + Build + + ProjectExplorer.BuildSteps.Build + + + + true + Make + + Qt4ProjectManager.MakeStep + + true + clean + + + 1 + Clean + + ProjectExplorer.BuildSteps.Clean + + 2 + false + + Profile + + Qt4ProjectManager.Qt4BuildConfiguration + 0 + true + + 3 + + + 0 + Deploy + + ProjectExplorer.BuildSteps.Deploy + + 1 + Deploy locally + + ProjectExplorer.DefaultDeployConfiguration + + 1 + + + false + false + 1000 + + true + + false + false + false + false + true + 0.01 + 10 + true + 1 + 25 + + 1 + true + false + true + valgrind + + 0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14 + + 2 + + qtPartlist + + Qt4ProjectManager.Qt4RunConfiguration:C:/Users/birkeh/Documents/GitHub/qtPartlist/qtPartlist.pro + true + + qtPartlist.pro + false + + C:/Users/birkeh/Documents/GitHub/build-qtPartlist-Desktop_Qt_5_10_0_MinGW_32bit-Debug + 3768 + false + true + false + false + true + + 1 + + + + ProjectExplorer.Project.TargetCount + 1 + + + ProjectExplorer.Project.Updater.FileVersion + 18 + + + Version + 18 + +