feat: 添加新页面
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include <QMouseEvent>
|
||||
|
||||
#include "ElaContentDialog.h"
|
||||
#include "ElaDef.h"
|
||||
#include "ElaDockWidget.h"
|
||||
#include "ElaEventBus.h"
|
||||
#include "ElaLog.h"
|
||||
@@ -17,6 +18,7 @@
|
||||
#include "ElaTheme.h"
|
||||
#include "ElaToolBar.h"
|
||||
#include "ElaToolButton.h"
|
||||
#include "UI/CBTable.h"
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
#include "ElaApplication.h"
|
||||
@@ -29,9 +31,13 @@ MainWindow::~MainWindow() {}
|
||||
|
||||
void MainWindow::initWindow() {
|
||||
qDebug() << "Window: Init the window.";
|
||||
qDebug() << "Window: Set to fixed size";
|
||||
// setIsFixedSize(true);
|
||||
setNavigationBarDisplayMode(ElaNavigationType::NavigationDisplayMode::Minimal);
|
||||
resize(480, 640);
|
||||
setIsFixedSize(true);
|
||||
// TODO: Set the subtitle of user info card
|
||||
setUserInfoCardSubTitle("Nothing!");
|
||||
// resize(600,480);
|
||||
|
||||
_tablePage = new CBTable(this);
|
||||
|
||||
addPageNode("剪贴板历史", _tablePage, ElaIconType::TableTree);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user