2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
2022-12-21 10:12:09 +01:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
2016-02-26 17:28:30 +01:00
|
|
|
|
|
|
|
|
import QtQuick 2.4
|
2016-06-15 13:07:10 +02:00
|
|
|
import QtQuick.Dialogs 1.1
|
2016-02-26 17:28:30 +01:00
|
|
|
|
2016-06-15 13:07:10 +02:00
|
|
|
MessageDialog {
|
|
|
|
|
id: messageDialog
|
|
|
|
|
title: "May I have your attention please"
|
|
|
|
|
text: "It's so cool that you are using Qt Quick."
|
|
|
|
|
onAccepted: {
|
|
|
|
|
console.log("And of course you could only agree.")
|
|
|
|
|
Qt.quit()
|
|
|
|
|
}
|
2016-02-26 17:28:30 +01:00
|
|
|
}
|