2023-08-24 15:50:37 +08:00
|
|
|
pragma Singleton
|
|
|
|
|
|
|
|
import QtQuick
|
|
|
|
import FluentUI
|
2023-10-10 15:06:44 +08:00
|
|
|
import "qrc:///example/qml/global"
|
2023-08-24 15:50:37 +08:00
|
|
|
|
|
|
|
FluObject{
|
|
|
|
|
|
|
|
property var navigationView
|
|
|
|
|
|
|
|
id:footer_items
|
|
|
|
|
|
|
|
FluPaneItemSeparator{}
|
|
|
|
|
|
|
|
FluPaneItem{
|
2023-10-10 15:06:44 +08:00
|
|
|
title:Lang.about
|
2023-08-24 15:50:37 +08:00
|
|
|
icon:FluentIcons.Contact
|
2023-08-26 17:20:30 +08:00
|
|
|
onDropped: { FluApp.navigate("/about") }
|
|
|
|
onTapListener:function(){
|
2023-08-24 15:50:37 +08:00
|
|
|
FluApp.navigate("/about")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
FluPaneItem{
|
2023-10-10 15:06:44 +08:00
|
|
|
title:Lang.settings
|
2023-08-24 15:50:37 +08:00
|
|
|
icon:FluentIcons.Settings
|
2023-08-26 17:20:30 +08:00
|
|
|
url:"qrc:/example/qml/page/T_Settings.qml"
|
|
|
|
onDropped:{ FluApp.navigate("/pageWindow",{title:title,url:url}) }
|
2023-08-24 15:50:37 +08:00
|
|
|
onTap:{
|
2023-08-26 17:20:30 +08:00
|
|
|
navigationView.push(url)
|
2023-08-24 15:50:37 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|