diff --git a/CMakeLists.txt b/CMakeLists.txt index 9571285..b01579a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,7 +47,7 @@ set_target_properties(cbh PROPERTIES MACOSX_BUNDLE_BUNDLE_VERSION ${PROJECT_VERSION} MACOSX_BUNDLE_SHORT_VERSION_STRING ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR} MACOSX_BUNDLE TRUE - WIN32_EXECUTABLE TRUE + WIN32_EXECUTABLE FALSE ) include(GNUInstallDirs) diff --git a/src/window.cpp b/src/window.cpp index fe8b409..c3d0ab8 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -18,17 +18,19 @@ #include "ElaToolBar.h" #include "ElaToolButton.h" - #ifdef Q_OS_WIN #include "ElaApplication.h" - // #include "ExamplePage/T_ElaScreen.h" #include #endif -MainWindow::MainWindow(QWidget *parent) : ElaWindow(parent) {} +MainWindow::MainWindow(QWidget *parent) : ElaWindow(parent) { initWindow(); } MainWindow::~MainWindow() {} -void MainWindow::initWindow(){ - +void MainWindow::initWindow() { + qDebug() << "Window: Init the window."; + qDebug() << "Window: Set to fixed size"; + setIsFixedSize(true); + // TODO: Set the subtitle of user info card + setUserInfoCardSubTitle("Nothing!"); }