feat: 添加终端
This commit is contained in:
@@ -47,7 +47,7 @@ set_target_properties(cbh PROPERTIES
|
|||||||
MACOSX_BUNDLE_BUNDLE_VERSION ${PROJECT_VERSION}
|
MACOSX_BUNDLE_BUNDLE_VERSION ${PROJECT_VERSION}
|
||||||
MACOSX_BUNDLE_SHORT_VERSION_STRING ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}
|
MACOSX_BUNDLE_SHORT_VERSION_STRING ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}
|
||||||
MACOSX_BUNDLE TRUE
|
MACOSX_BUNDLE TRUE
|
||||||
WIN32_EXECUTABLE TRUE
|
WIN32_EXECUTABLE FALSE
|
||||||
)
|
)
|
||||||
|
|
||||||
include(GNUInstallDirs)
|
include(GNUInstallDirs)
|
||||||
|
|||||||
@@ -18,17 +18,19 @@
|
|||||||
#include "ElaToolBar.h"
|
#include "ElaToolBar.h"
|
||||||
#include "ElaToolButton.h"
|
#include "ElaToolButton.h"
|
||||||
|
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
#include "ElaApplication.h"
|
#include "ElaApplication.h"
|
||||||
// #include "ExamplePage/T_ElaScreen.h"
|
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
MainWindow::MainWindow(QWidget *parent) : ElaWindow(parent) {}
|
MainWindow::MainWindow(QWidget *parent) : ElaWindow(parent) { initWindow(); }
|
||||||
|
|
||||||
MainWindow::~MainWindow() {}
|
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!");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user