From d894e06c6e6a335ea672ca2aaf30066b0a9d077a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Mon, 17 Aug 2020 14:57:07 +0200 Subject: add given files --- labb3/tiles/tilemain.cpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 labb3/tiles/tilemain.cpp (limited to 'labb3/tiles/tilemain.cpp') diff --git a/labb3/tiles/tilemain.cpp b/labb3/tiles/tilemain.cpp new file mode 100644 index 0000000..f93a787 --- /dev/null +++ b/labb3/tiles/tilemain.cpp @@ -0,0 +1,18 @@ +/* + * TDDD86 Tiles + * This client program uses your TileList class and contains the 'main' + * function to set up the overall program's graphical user interface. + * Your code should work properly with an unmodified version of this file. + */ + +#include +#include "mainwindow.h" + +int main(int argc, char *argv[]) { + QApplication a(argc, argv); + + MainWindow view; + view.show(); + + return a.exec(); // start Qt event loop +} -- cgit v1.2.1