2023-04-22 16:02:52 +08:00
|
|
|
|
import QtQuick
|
|
|
|
|
import QtQuick.Window
|
|
|
|
|
import QtQuick.Controls
|
|
|
|
|
import QtQuick.Layouts
|
2023-05-17 22:26:16 +08:00
|
|
|
|
import QtMultimedia
|
2023-04-22 16:02:52 +08:00
|
|
|
|
import FluentUI
|
|
|
|
|
|
|
|
|
|
Window {
|
|
|
|
|
id:app
|
2023-05-17 22:26:16 +08:00
|
|
|
|
MediaPlayer{}
|
2023-04-22 16:02:52 +08:00
|
|
|
|
Component.onCompleted: {
|
|
|
|
|
FluApp.init(app)
|
|
|
|
|
FluTheme.darkMode = FluDarkMode.System
|
|
|
|
|
FluApp.routes = {
|
2023-04-27 09:38:57 +08:00
|
|
|
|
"/":"qrc:/example/qml/window/MainWindow.qml",
|
|
|
|
|
"/about":"qrc:/example/qml/window/AboutWindow.qml",
|
|
|
|
|
"/login":"qrc:/example/qml/window/LoginWindow.qml",
|
|
|
|
|
"/media":"qrc:/example/qml/window/MediaWindow.qml",
|
|
|
|
|
"/singleTaskWindow":"qrc:/example/qml/window/SingleTaskWindow.qml",
|
|
|
|
|
"/standardWindow":"qrc:/example/qml/window/StandardWindow.qml",
|
|
|
|
|
"/singleInstanceWindow":"qrc:/example/qml/window/SingleInstanceWindow.qml"
|
2023-04-22 16:02:52 +08:00
|
|
|
|
}
|
|
|
|
|
FluApp.initialRoute = "/"
|
|
|
|
|
FluApp.run()
|
|
|
|
|
}
|
|
|
|
|
}
|