Kirigami2
8 import QtGraphicalEffects 1.0 as GE
9 import org.kde.kirigami 2.4 as Kirigami
24 property int corner:
Qt.TopRightCorner
26 readonly
property real margin: -Math.floor(radius/3)
28 property int radius: Kirigami.Units.gridUnit
30 width: radius - margin
31 height: radius - margin
33 horizontalRadius: width
34 verticalRadius: height
37 case Qt.TopLeftCorner:
38 case Qt.BottomLeftCorner:
46 case Qt.TopLeftCorner:
47 case Qt.TopRightCorner:
57 color:
Qt.rgba(0, 0, 0, 0.25)
60 position: 1 - radius/(radius - margin)
61 color:
Qt.rgba(0, 0, 0, 0.25)
64 position: 1 - radius/(radius - margin) + radius/(radius - margin) * 0.2
65 color:
Qt.rgba(0, 0, 0, 0.1)
68 position: 1 - radius/(radius - margin) + radius/(radius - margin) * 0.35
69 color:
Qt.rgba(0, 0, 0, 0.02)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Jan 29 2023 04:11:03 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.