[Interest] Qml modal dialog

Rutledge Shawn Shawn.Rutledge at digia.com
Mon Dec 23 07:58:38 CET 2013

On 20 Dec 2013, at 12:41 PM, Sadika Sumanapala wrote:

> Is it possible to create modal dialog in qml which use qtquick controls?

Yes you can set modality: Qt.ApplicationModal or Qt.WindowModal on any QWindow and on any of the QtQuick.Dialogs.  However of course there are no blocking show-dialog-and-wait-for-response methods available to Javascript; you just have to show the dialog and have onAccepted/onRejected or onVisibleChanged handlers to deal with the user response.

More information about the Interest mailing list