Warning, /plasma/plasma-desktop/kcms/keyboard/tastenbrett/qml/ShapeDoodad.qml is written in an unsupported language. File is not indexed.

0001 /*
0002     SPDX-FileCopyrightText: 2019 Harald Sitter <sitter@kde.org>
0003 
0004     SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0005 */
0006 
0007 import QtQuick 2.12
0008 import QtQuick.Controls 2.5
0009 
0010 ShapeCanvas {
0011     property QtObject doodad
0012 
0013     shape: doodad.shape
0014 
0015     x: doodad.left
0016     y: doodad.top
0017     z: doodad.priority
0018     // Unlike sections we'll rotate doodads in whatever way desired.
0019     // They do not contain anything that could be up-side-down
0020     // "accidentally".
0021     rotation: doodad.angle
0022 
0023     strokeSyle: disabledPalette.shadow
0024     fillStyle: doodad.outlineOnly ? null : disabledPalette.button
0025 }