2023-06-18 00:06:24 +08:00
|
|
|
import QtQuick
|
|
|
|
import QtQuick.Window
|
|
|
|
import QtQuick.Controls
|
|
|
|
import QtQuick.Layouts
|
|
|
|
import FluentUI
|
|
|
|
|
|
|
|
Window {
|
|
|
|
id: app
|
|
|
|
Component.onCompleted: {
|
|
|
|
FluApp.init(app);
|
|
|
|
FluTheme.darkMode = FluDarkMode.System;
|
|
|
|
FluApp.routes = {
|
2023-06-21 21:33:52 +08:00
|
|
|
"/login": "qrc:/AicsKnowledgeBase/qml/LoginWindow.qml",
|
2023-06-18 00:06:24 +08:00
|
|
|
"/": "qrc:/AicsKnowledgeBase/qml/MainWindow.qml"
|
|
|
|
};
|
2023-06-21 21:33:52 +08:00
|
|
|
FluApp.initialRoute = "/login";
|
2023-06-18 00:06:24 +08:00
|
|
|
FluApp.run();
|
|
|
|
}
|
|
|
|
}
|