diff options
Diffstat (limited to 'tests/manual/windowembedding/examples/video.qml')
-rw-r--r-- | tests/manual/windowembedding/examples/video.qml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/manual/windowembedding/examples/video.qml b/tests/manual/windowembedding/examples/video.qml new file mode 100644 index 0000000000..c9a8d289a3 --- /dev/null +++ b/tests/manual/windowembedding/examples/video.qml @@ -0,0 +1,27 @@ +// Copyright (C) 2023 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only + +import QtQuick +import ".." + +Rectangle { + id: rootItem + gradient: Gradient.TemptingAzure + width: 500; height: 500 + visible: true + + WindowContainer { + id: foreignWindowContainer + window: videoWindow + anchors.fill: parent + anchors.margins: 20 + + QtLogo { + anchors { + top: parent.top + left: parent.left + margins: 10 + } + } + } +} |