FluentUI/example/App.qml

26 lines
604 B
QML
Raw Normal View History

2023-02-26 23:47:07 +08:00
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
2023-02-27 18:46:39 +08:00
color: "#00000000"
2023-02-26 23:47:07 +08:00
Component.onCompleted: {
2023-03-01 11:58:30 +08:00
FluApp.isFps = true
2023-03-01 22:06:48 +08:00
FluApp.isDark = false
2023-02-26 23:47:07 +08:00
FluApp.setAppWindow(app)
FluApp.routes = {
"/":"qrc:/MainPage.qml",
2023-02-28 18:29:00 +08:00
"/Setting":"qrc:/SettingPage.qml",
2023-03-01 22:06:48 +08:00
"/About":"qrc:/AboutPage.qml",
"/Installer":"qrc:/Installer.qml"
2023-02-26 23:47:07 +08:00
}
2023-03-01 22:06:48 +08:00
FluApp.initialRoute = "/Installer"
2023-02-26 23:47:07 +08:00
FluApp.run()
}
}