diff --git a/GUI/GUI.pro b/GUI/GUI.pro new file mode 100644 index 0000000..4dede0a --- /dev/null +++ b/GUI/GUI.pro @@ -0,0 +1,38 @@ +#------------------------------------------------- +# +# Project created by QtCreator 2018-07-21T15:14:19 +# +#------------------------------------------------- + +QT += core gui widgets + +TARGET = GUI +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 + +CONFIG += c++11 + +SOURCES += \ + main.cpp \ + mainwindow.cpp + +HEADERS += \ + mainwindow.h + +FORMS += \ + mainwindow.ui + +# Default rules for deployment. +qnx: target.path = /tmp/$${TARGET}/bin +else: unix:!android: target.path = /opt/$${TARGET}/bin +!isEmpty(target.path): INSTALLS += target diff --git a/GUI/GUI.pro.user b/GUI/GUI.pro.user new file mode 100644 index 0000000..faa1193 --- /dev/null +++ b/GUI/GUI.pro.user @@ -0,0 +1,322 @@ + + + + + + EnvironmentId + {55d86bc4-98d6-4dfb-871d-bc86f1163818} + + + 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 + + + -fno-delayed-template-parsing + + true + + + + ProjectExplorer.Project.Target.0 + + Desktop Qt 5.11.0 MSVC2015 32bit + Desktop Qt 5.11.0 MSVC2015 32bit + qt.qt5.5110.win32_msvc2015_kit + 0 + 0 + 0 + + C:/Users/Akash/Documents/Storage/Code/NextHooker/Builds/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 + Debug + Qt4ProjectManager.Qt4BuildConfiguration + 2 + true + + + C:/Users/Akash/Documents/Storage/Code/NextHooker/Builds/Release + + + true + qmake + + QtProjectManager.QMakeBuildStep + false + + false + false + true + + + true + Make + + Qt4ProjectManager.MakeStep + + false + + + + 2 + Build + + ProjectExplorer.BuildSteps.Build + + + + true + Make + + Qt4ProjectManager.MakeStep + + true + clean + + + 1 + Clean + + ProjectExplorer.BuildSteps.Clean + + 2 + false + + Release + Release + Qt4ProjectManager.Qt4BuildConfiguration + 0 + true + + + C:/Users/Akash/Documents/Storage/Code/NextHooker/build-GUI-Desktop_Qt_5_11_0_MSVC2015_32bit-Profile + + + true + qmake + + QtProjectManager.QMakeBuildStep + true + + false + true + true + + + true + Make + + Qt4ProjectManager.MakeStep + + false + + + + 2 + Build + + ProjectExplorer.BuildSteps.Build + + + + true + Make + + Qt4ProjectManager.MakeStep + + true + clean + + + 1 + Clean + + ProjectExplorer.BuildSteps.Clean + + 2 + false + + Profile + Profile + Qt4ProjectManager.Qt4BuildConfiguration + 0 + true + + 3 + + + 0 + Deploy + + ProjectExplorer.BuildSteps.Deploy + + 1 + Deploy Configuration + + 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 + + GUI + + Qt4ProjectManager.Qt4RunConfiguration:C:/Users/Akash/Documents/Storage/Code/NextHooker/GUI/GUI.pro + true + + GUI.pro + + C:/Users/Akash/Documents/Storage/Code/NextHooker/Builds/Debug + 3768 + false + true + false + false + true + + 1 + + + + ProjectExplorer.Project.TargetCount + 1 + + + ProjectExplorer.Project.Updater.FileVersion + 18 + + + Version + 18 + + diff --git a/GUI/main.cpp b/GUI/main.cpp new file mode 100644 index 0000000..b48f94e --- /dev/null +++ b/GUI/main.cpp @@ -0,0 +1,11 @@ +#include "mainwindow.h" +#include + +int main(int argc, char *argv[]) +{ + QApplication a(argc, argv); + MainWindow w; + w.show(); + + return a.exec(); +} diff --git a/GUI/mainwindow.cpp b/GUI/mainwindow.cpp new file mode 100644 index 0000000..49d64fc --- /dev/null +++ b/GUI/mainwindow.cpp @@ -0,0 +1,14 @@ +#include "mainwindow.h" +#include "ui_mainwindow.h" + +MainWindow::MainWindow(QWidget *parent) : + QMainWindow(parent), + ui(new Ui::MainWindow) +{ + ui->setupUi(this); +} + +MainWindow::~MainWindow() +{ + delete ui; +} diff --git a/GUI/mainwindow.h b/GUI/mainwindow.h new file mode 100644 index 0000000..9353441 --- /dev/null +++ b/GUI/mainwindow.h @@ -0,0 +1,22 @@ +#ifndef MAINWINDOW_H +#define MAINWINDOW_H + +#include + +namespace Ui { +class MainWindow; +} + +class MainWindow : public QMainWindow +{ + Q_OBJECT + +public: + explicit MainWindow(QWidget *parent = nullptr); + ~MainWindow(); + +private: + Ui::MainWindow *ui; +}; + +#endif // MAINWINDOW_H diff --git a/GUI/mainwindow.ui b/GUI/mainwindow.ui new file mode 100644 index 0000000..50dc006 --- /dev/null +++ b/GUI/mainwindow.ui @@ -0,0 +1,49 @@ + + + MainWindow + + + + 0 + 0 + 496 + 376 + + + + NextHooker + + + + + + 0 + 0 + 496 + 21 + + + + + NextHooker + + + + + + + NextHooker + + + TopToolBarArea + + + false + + + + + + + + diff --git a/README.md b/README.md index 087ea17..49e60d9 100644 --- a/README.md +++ b/README.md @@ -47,8 +47,7 @@ GPL v3 ## Compiling -Before compiling *NextHooker*, you should get Visual Studio with CMake, ATL, and .NET 4.6.
-You should first compile all the CMake projects, then compile the *GUI* solution. +Before compiling *NextHooker*, you should get Visual Studio with CMake and ATL support, as well as Qt version 5.11
## Project Architecture