From 9f9d9da601c36fa045ca59f3637884b0b42d39f5 Mon Sep 17 00:00:00 2001 From: zhuzichu Date: Thu, 20 Apr 2023 20:22:56 +0800 Subject: [PATCH] update --- example/T_Dialog.qml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/example/T_Dialog.qml b/example/T_Dialog.qml index 65c3ffe..6665f97 100644 --- a/example/T_Dialog.qml +++ b/example/T_Dialog.qml @@ -84,18 +84,18 @@ FluScrollablePage{ title:"友情提示" message:"确定要退出程序么?" negativeText:"取消" - buttonFlags: FluContentDialog.NeutralButton | FluContentDialog.NegativeButton | FluContentDialog.PositiveButton - negativeText:"取消" - onNegativeClicked:{ - showSuccess("点击取消按钮") - } - positiveText:"确定" - onPositiveClicked:{ - showSuccess("点击确定按钮") - } - neutralText:"最小化" - onNeutralClicked:{ - showSuccess("点击最小化按钮") + buttonFlags: FluContentDialog.NeutralButton | FluContentDialog.NegativeButton | FluContentDialog.PositiveButton + negativeText:"取消" + onNegativeClicked:{ + showSuccess("点击取消按钮") + } + positiveText:"确定" + onPositiveClicked:{ + showSuccess("点击确定按钮") + } + neutralText:"最小化" + onNeutralClicked:{ + showSuccess("点击最小化按钮") } } dialog.open()'