Qt 6.11 is out! See what's new in the release
blog
Impromptu MessageDialog
-
You can declare one MessageDialog and then change the text/title properties for different messages.
-
Add to the MessageDialog:
property var onYesFunc property var onNoFunc onYes: onYesFunc() onNo: onNoFunc()then you can set onYesFunc/onNoFunc just as you set the text.
-
Add to the MessageDialog:
property var onYesFunc property var onNoFunc onYes: onYesFunc() onNo: onNoFunc()then you can set onYesFunc/onNoFunc just as you set the text.
-
Add to the MessageDialog:
property var onYesFunc property var onNoFunc onYes: onYesFunc() onNo: onNoFunc()then you can set onYesFunc/onNoFunc just as you set the text.
-