1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
window { id: inletSettingPanel title: "主窗口" minimumWidth: 270 minimumHeight: 660 property variant newWindow: Qt.createComponent("needShowWindow.qml").createObject() Button { x: parent.x y: parent.y width: 30 height: 15 activeFocusOnTab: false text: "打开新窗口" onClicked: { newWindow.show(); } } }
|