From 6945a197490e7aa0113bca1f9a13019a27b5d8eb Mon Sep 17 00:00:00 2001 From: Joker <joker2387089590@gmail.com> Date: 周三, 18 6月 2025 23:10:25 +0800 Subject: [PATCH] change submodule url --- examples/qml/main.qml | 23 +++++++++++++++++------ 1 files changed, 17 insertions(+), 6 deletions(-) diff --git a/examples/qml/main.qml b/examples/qml/main.qml index e063bc5..7f203c4 100644 --- a/examples/qml/main.qml +++ b/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 + } } \ No newline at end of file -- Gitblit v1.9.1