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

35 lines
669 B
QML

pragma Singleton
import QtQuick
import FluentUI
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)
}
}
}