import QtQuick
import QtQuick.Layouts
import QtQuick.Window
import QtQuick.Controls
import FluentUI
FluScrollablePage{
title:"Menu"
leftPadding:10
rightPadding:10
bottomPadding:20
FluButton{
text:"左击菜单"
Layout.topMargin: 20
onClicked:{
menu.popup()
}
text:"右击菜单"
onClicked: {
showSuccess("请按鼠标右击")
MouseArea{
anchors.fill: parent
acceptedButtons: Qt.RightButton
FluMenu{
id:menu
FluMenuItem{
text:"删除"
showError("删除")
text:"修改"
showError("修改")