From 78a683e830c2f8219c80c331a470ba32bee761ef Mon Sep 17 00:00:00 2001 From: Ali Hatami Date: Mon, 27 May 2024 13:05:47 +0330 Subject: [PATCH] Move main window to view package --- gui/gui.pro | 6 +++--- gui/main.cpp | 2 +- gui/{viewmodel => view}/MainWindow.cpp | 0 gui/{viewmodel => view}/MainWindow.h | 0 gui/view/MainWindow.ui | 7 ++++++- 5 files changed, 10 insertions(+), 5 deletions(-) rename gui/{viewmodel => view}/MainWindow.cpp (100%) rename gui/{viewmodel => view}/MainWindow.h (100%) diff --git a/gui/gui.pro b/gui/gui.pro index b2f0b0a..28587e9 100644 --- a/gui/gui.pro +++ b/gui/gui.pro @@ -17,15 +17,15 @@ DEFINES += QT_DEPRECATED_WARNINGS SOURCES += \ main.cpp \ - viewmodel/MainWindow.cpp + view/MainWindow.cpp HEADERS += \ - viewmodel/MainWindow.h + view/MainWindow.h FORMS += \ view/MainWindow.ui -TARGET +INCLUDEPATH += $$PWD/../model/include RESOURCES += \ resources.qrc diff --git a/gui/main.cpp b/gui/main.cpp index fa19850..c396828 100644 --- a/gui/main.cpp +++ b/gui/main.cpp @@ -1,4 +1,4 @@ -#include "viewmodel/MainWindow.h" +#include "view/MainWindow.h" #include diff --git a/gui/viewmodel/MainWindow.cpp b/gui/view/MainWindow.cpp similarity index 100% rename from gui/viewmodel/MainWindow.cpp rename to gui/view/MainWindow.cpp diff --git a/gui/viewmodel/MainWindow.h b/gui/view/MainWindow.h similarity index 100% rename from gui/viewmodel/MainWindow.h rename to gui/view/MainWindow.h diff --git a/gui/view/MainWindow.ui b/gui/view/MainWindow.ui index 0c67491..f7ad84b 100644 --- a/gui/view/MainWindow.ui +++ b/gui/view/MainWindow.ui @@ -22,6 +22,11 @@ 1080 + + + Sans Serif + + MainWindow @@ -32,7 +37,7 @@ Qt::Vertical - +