Warning, /plasma/kwin/src/plugins/overview/qml/DesktopView.qml is written in an unsupported language. File is not indexed.

0001 /*
0002     SPDX-FileCopyrightText: 2021 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 import QtQuick
0008 import org.kde.kwin as KWinComponents
0009 
0010 Item {
0011     id: desktopView
0012 
0013     required property QtObject windowModel
0014     required property QtObject desktop
0015 
0016     Repeater {
0017         model: KWinComponents.WindowFilterModel {
0018             activity: KWinComponents.Workspace.currentActivity
0019             desktop: desktopView.desktop
0020             screenName: targetScreen.name
0021             windowModel: desktopView.windowModel
0022         }
0023 
0024         KWinComponents.WindowThumbnail {
0025             wId: model.window.internalId
0026             x: model.window.x - targetScreen.geometry.x
0027             y: model.window.y - targetScreen.geometry.y
0028             width: model.window.width
0029             height: model.window.height
0030             z: model.window.stackingOrder
0031             visible: !model.window.minimized
0032         }
0033     }
0034 }