Kirigami2
8 import org.kde.kirigami 2.4 as Kirigami
13 height: Kirigami.Units.iconSizes.smallMedium
14 property Kirigami.OverlayDrawer drawer
15 property color color: Kirigami.Theme.textColor
19 LayoutMirroring.enabled:
false
20 LayoutMirroring.childrenInherit:
true
26 margins: Kirigami.Units.smallSpacing
28 property int thickness: 2
31 horizontalCenter: parent.horizontalCenter
34 topMargin: (parent.height/2 - iconRoot.thickness/2) * drawer.position
36 antialiasing: drawer.position !== 0
37 transformOrigin: Item.Center
38 width: (1 - drawer.position) * height + drawer.position * (Math.sqrt(2*(parent.width*parent.width)))
39 height: iconRoot.thickness
41 rotation: 45 * drawer.position
45 anchors.centerIn: parent
47 height: iconRoot.thickness
54 horizontalCenter: parent.horizontalCenter
57 bottomMargin: (parent.height/2 - iconRoot.thickness/2) * drawer.position
59 antialiasing: drawer.position !== 0
60 transformOrigin: Item.Center
61 width: (1 - drawer.position) * height + drawer.position * (Math.sqrt(2*(parent.width*parent.width)))
62 height: iconRoot.thickness
64 rotation: -45 * drawer.position
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.