FluentUI/example/qml/global/ItemsFooter.qml
朱子楚\zhuzi 83f94630f1 update
2023-10-19 22:52:36 +08:00

34 lines
584 B
QML

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