我想在键盘处于活动状态时移动弹出窗口,因为现在键盘覆盖了弹出窗口。我如何知道键盘的大小以正确移动弹出窗口?
Popup {
id: popupName
contentWidth: parent.width/2
contentHeight: parent.height/2
x: parent.width/2 - popupName.width/2
y: parent.height/2 - popupName.height/2
background: Rectangle {
color: "#424242"
}