mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-01 00:27:32 +08:00
24 lines
537 B
QML
24 lines
537 B
QML
import QtQuick 2.15
|
|
import QtQuick.Window 2.15
|
|
import QtQuick.Controls 2.15
|
|
import QtQuick.Layouts 1.15
|
|
import QtGraphicalEffects 1.15
|
|
import FluentUI 1.0
|
|
|
|
Window {
|
|
id:app
|
|
color: "#00000000"
|
|
Component.onCompleted: {
|
|
FluApp.init(app,properties)
|
|
FluTheme.isDark = false
|
|
FluApp.routes = {
|
|
"/":"qrc:/page/MainPage.qml",
|
|
"/about":"qrc:/page/AboutPage.qml",
|
|
"/login":"qrc:/page/LoginPage.qml",
|
|
}
|
|
FluApp.initialRoute = "/"
|
|
FluApp.run()
|
|
}
|
|
|
|
}
|