FluentUI/example/qml/global/ItemsFooter.qml
2023-10-10 15:06:44 +08:00

35 lines
678 B
QML

pragma Singleton
import QtQuick 2.15
import FluentUI 1.0
import "qrc:///example/qml/global"
FluObject{
property var navigationView
id:footer_items
FluPaneItemSeparator{}
FluPaneItem{
title:Lang.about
icon:FluentIcons.Contact
onDropped: { FluApp.navigate("/about") }
onTapListener:function(){
FluApp.navigate("/about")
}
}
FluPaneItem{
title:Lang.settings
icon:FluentIcons.Settings
url:"qrc:/example/qml/page/T_Settings.qml"
onDropped:{ FluApp.navigate("/pageWindow",{title:title,url:url}) }
onTap:{
navigationView.push(url)
}
}
}