feat: 添加终端
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -18,17 +18,19 @@
|
||||
#include "ElaToolBar.h"
|
||||
#include "ElaToolButton.h"
|
||||
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
#include "ElaApplication.h"
|
||||
// #include "ExamplePage/T_ElaScreen.h"
|
||||
#include <QTimer>
|
||||
#endif
|
||||
|
||||
MainWindow::MainWindow(QWidget *parent) : ElaWindow(parent) {}
|
||||
MainWindow::MainWindow(QWidget *parent) : ElaWindow(parent) { initWindow(); }
|
||||
|
||||
MainWindow::~MainWindow() {}
|
||||
|
||||
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