1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
| import QtQuick 2.15
| import QtQuick.Window 2.15
| import QtQuick.Controls 2.15
|
| FramelessWindow {
| property FramelessWindow childWindow: FramelessWindow {
| showWhenReady: false
| }
|
| Button {
| anchors {
| horizontalCenter: parent.horizontalCenter
| bottom: parent.bottom
| bottomMargin: 20
| }
| text: qsTr("Open Child Window")
| onClicked: childWindow.visible = true
| }
| }
|
|