From ac1a62b2a76e4d15e412b9579b80da2dafbc6d6a Mon Sep 17 00:00:00 2001
From: SineStriker <55847490+SineStriker@users.noreply.github.com>
Date: 周一, 19 5月 2025 15:38:12 +0800
Subject: [PATCH] Update qmsetup

---
 examples/qml/main.qml |   20 +++++++++++++++-----
 1 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/examples/qml/main.qml b/examples/qml/main.qml
index b319421..7f203c4 100644
--- a/examples/qml/main.qml
+++ b/examples/qml/main.qml
@@ -1,9 +1,19 @@
 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
+    }
 }
\ No newline at end of file

--
Gitblit v1.9.1