Menu{
id: powerMenu
style:MenuStyle{
itemDelegate.background: Rectangle{
height: 60
width: 40
color: "grey"
}
}
itemDelegate.label: Text{
height:30
width:40
text:styleData.text
font.pointSize:12
font.family:"微软雅黑"
}
MenuItem{
text:“关机”
onTriggered:{
}
MenuItem{
text: "重启"
onTriggered{
}
}
}