aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quickcontrols2/qquickpopup/data/closeOnEscapeWithVisiblePopup.qml
blob: b65e4ec0c03a2ab2c77b6c00e9d07f8bc33d2874 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import QtQuick
import QtQuick.Window
import QtQuick.Controls

Window {
    width: 400
    height: 400
    Popup {
        objectName: "popup"
        visible: true
        width: 200
        height: 200
        anchors.centerIn: parent
        closePolicy: Popup.CloseOnEscape
    }
}