diff options
| -rw-r--r-- | Attorney_Online_remake.pro | 18 | ||||
| -rw-r--r-- | lobby.cpp | 11 | ||||
| -rw-r--r-- | lobby.h | 15 | ||||
| -rw-r--r-- | main.cpp | 12 |
4 files changed, 56 insertions, 0 deletions
diff --git a/Attorney_Online_remake.pro b/Attorney_Online_remake.pro new file mode 100644 index 0000000..a88a051 --- /dev/null +++ b/Attorney_Online_remake.pro @@ -0,0 +1,18 @@ +#------------------------------------------------- +# +# Project created by QtCreator 2016-12-29T01:14:46 +# +#------------------------------------------------- + +QT += core gui multimedia network + +greaterThan(QT_MAJOR_VERSION, 4): QT += widgets + +TARGET = Attorney_Online_remake +TEMPLATE = app + + +SOURCES += main.cpp\ + lobby.cpp + +HEADERS += lobby.h diff --git a/lobby.cpp b/lobby.cpp new file mode 100644 index 0000000..8fa6501 --- /dev/null +++ b/lobby.cpp @@ -0,0 +1,11 @@ +#include "lobby.h" + +Lobby::Lobby(QWidget *parent) : QMainWindow(parent) +{ + //this->resize(); +} + +Lobby::~Lobby() +{ + +} @@ -0,0 +1,15 @@ +#ifndef LOBBY_H +#define LOBBY_H + +#include <QMainWindow> + +class Lobby : public QMainWindow +{ + Q_OBJECT + +public: + Lobby(QWidget *parent = nullptr); + ~Lobby(); +}; + +#endif // LOBBY_H diff --git a/main.cpp b/main.cpp new file mode 100644 index 0000000..9a058dc --- /dev/null +++ b/main.cpp @@ -0,0 +1,12 @@ +#include <QApplication> + +#include "lobby.h" + +int main(int argc, char *argv[]) +{ + QApplication a(argc, argv); + Lobby w; + w.show(); + + return a.exec(); +} |
