sola.lu
2025-06-06 9dcea027f16c4ce5852da3dfc8aca284c582bd7d
examples/qml/main.qml
@@ -1,8 +1,19 @@
import QtQuick
import QtQuick 2.15
import QtQuick.Window 2.15
import QtQuick.Controls 2.15
Window {
    id: window
    visible: true
    width: 640
    height: 480
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
    }
}