This commit is contained in:
zxj 2024-11-29 17:59:00 +08:00
parent 4ce8544582
commit fa195e72ce

View File

@ -7,6 +7,9 @@ Popup {
y:80 y:80
function show() {
popup.visible = true;
}
width: bgRect.width width: bgRect.width
height: bgRect.height height: bgRect.height
@ -15,6 +18,7 @@ Popup {
implicitHeight: bgRect.height implicitHeight: bgRect.height
} }
modal: true modal: true
focus: true focus: true
closePolicy: /*Popup.CloseOnEscape | */Popup.CloseOnPressOutsideParent closePolicy: /*Popup.CloseOnEscape | */Popup.CloseOnPressOutsideParent