blob: 800a3d0c952285a08f75c47aa46fd819725f4a2c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
import QtQuick
import QtApplicationManager.SystemUI
Item {
width: 800
height: 600
IntentServerHandler {
intentIds: [ "inject-intent" ]
onRequestReceived: (request) => {
if (request.intentId === "inject-intent")
request.sendReply({ "status": "ok" })
}
}
Column {
anchors.fill: parent
Repeater {
model: WindowManager
WindowItem {
required property var model
width: 600
height: 200
window: model.window
}
}
}
}
|