About DialogButtonBox delegate
Unsolved
QML and Qt Quick
-
Hey,guys
code:Dialog footer:DialogButtonBox { standardButtons: DialogButtonBox.Ignore| DialogButtonBox.Retry| DialogButtonBox.Abort onAccepted: console.log("Ok clicked") onRejected: console.log("Cancel clicked") delegate:Button{ text: DialogButtonBox.name } }
this code result is:button have no name.
How to get the name of relevant button?
Thank you for any advice! -