I have a problem with CommonDialog component:
CommonDialog {
id: reklam
platformContentMaximumHeight: 400
buttonTexts: ["Exit", "Cancel"]
onButtonClicked: ------------------------------> I want to set 2 action for button (Exit & Cancel)
privateCloseIcon: true
platformInverted: true
titleText: "Counter is closing..."
}
CommonDialog {
id: reklam
platformContentMaximumHeight: 400
buttonTexts: ["Exit", "Cancel"]
onButtonClicked: ------------------------------> I want to set 2 action for button (Exit & Cancel)
privateCloseIcon: true
platformInverted: true
titleText: "Counter is closing..."
}
To copy to clipboard, switch view to plain text mode
When I clicked the Exit button app will close
or when i clicked cancel dialog will close.
But I can't set this... Please help me for this issue.
Added after 25 minutes:
OK. I solved using buttons propert instead of buttonTexts
Bookmarks