[Interest] QML Dialog -> onClosing
Igor Mironchik
igor.mironchik at gmail.com
Mon Aug 21 13:17:36 CEST 2017
Hi,
Let's say I have the next dialog in QML:
Dialog{
id:dlg
title:qsTr("Dialog...")
standardButtons:StandardButton.Ok
Text{
anchors.centerIn:parent
font.pixelSize:30
font.bold:true
text:qsTr("Text")
}
onAccepted:{doSomething()}
}
This is nice. But how can I handle closing dialog, i.e. when user clicks on X window button?
Thank you.
---
This email has been checked for viruses by AVG.
http://www.avg.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170821/6a918672/attachment.html>
More information about the Interest
mailing list