16,212
社区成员
发帖
与我相关
我的任务
分享
import QtQuick 2.0
import QtQuick.Window 2.0
import QtQuick.Controls 2.0
Window {
width: 600; height: 400
visible: true
Button{
anchors.centerIn: parent
onClicked: popUp.open()
}
Popup{
id: popUp
width: 200; height: 200
modal: true
Button{
anchors.centerIn: parent
id: btn
onClicked: console.log(1)
}
}
}