FluentUI/example/qml/global/ItemsFooter.qml

31 lines
491 B
QML
Raw Normal View History

2023-03-30 17:16:57 +08:00
pragma Singleton
2023-03-30 21:52:55 +08:00
import QtQuick
import FluentUI
2023-03-30 17:16:57 +08:00
FluObject{
2023-04-10 18:17:22 +08:00
property var navigationView
2023-05-09 19:58:41 +08:00
id:footer_items
2023-03-30 17:16:57 +08:00
FluPaneItemSeparator{}
2023-05-09 19:58:41 +08:00
2023-03-30 17:16:57 +08:00
FluPaneItem{
2023-04-14 17:07:54 +08:00
title:lang.about
2023-04-10 18:17:22 +08:00
icon:FluentIcons.Contact
tapFunc:function(){
FluApp.navigate("/about")
2023-03-30 17:16:57 +08:00
}
}
2023-05-09 19:58:41 +08:00
2023-03-30 17:16:57 +08:00
FluPaneItem{
2023-04-14 17:07:54 +08:00
title:lang.settings
2023-04-10 18:17:22 +08:00
icon:FluentIcons.Settings
2023-03-30 17:16:57 +08:00
onTap:{
2023-04-27 09:38:57 +08:00
navigationView.push("qrc:/example/qml/page/T_Settings.qml")
2023-03-30 17:16:57 +08:00
}
}
2023-05-09 19:58:41 +08:00
2023-03-30 17:16:57 +08:00
}