mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-27 05:38:37 +08:00
24 lines
750 B
QML
24 lines
750 B
QML
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 = {
|
|
"/":"qrc:/example/qml/window/MainWindow.qml",
|
|
"/about":"qrc:/example/qml/window/AboutWindow.qml",
|
|
"/login":"qrc:/example/qml/window/LoginWindow.qml",
|
|
"/singleTaskWindow":"qrc:/example/qml/window/SingleTaskWindow.qml",
|
|
"/standardWindow":"qrc:/example/qml/window/StandardWindow.qml",
|
|
"/singleInstanceWindow":"qrc:/example/qml/window/SingleInstanceWindow.qml"
|
|
}
|
|
FluApp.initialRoute = "/"
|
|
FluApp.run()
|
|
}
|
|
}
|