main
zhuzichu 2023-04-20 20:22:56 +08:00
parent 6d24cbf37c
commit 9f9d9da601
1 changed files with 12 additions and 12 deletions

View File

@ -84,18 +84,18 @@ FluScrollablePage{
title:"友情提示" title:"友情提示"
message:"确定要退出程序么?" message:"确定要退出程序么?"
negativeText:"取消" negativeText:"取消"
buttonFlags: FluContentDialog.NeutralButton | FluContentDialog.NegativeButton | FluContentDialog.PositiveButton buttonFlags: FluContentDialog.NeutralButton | FluContentDialog.NegativeButton | FluContentDialog.PositiveButton
negativeText:"取消" negativeText:"取消"
onNegativeClicked:{ onNegativeClicked:{
showSuccess("点击取消按钮") showSuccess("点击取消按钮")
} }
positiveText:"确定" positiveText:"确定"
onPositiveClicked:{ onPositiveClicked:{
showSuccess("点击确定按钮") showSuccess("点击确定按钮")
} }
neutralText:"最小化" neutralText:"最小化"
onNeutralClicked:{ onNeutralClicked:{
showSuccess("点击最小化按钮") showSuccess("点击最小化按钮")
} }
} }
dialog.open()' dialog.open()'