10import org.kde.kirigami as Kirigami
11import org.kde.kirigami.templates as KT
17 padding: bgFillRect.anchors.margins + Kirigami.Units.smallSpacing
19 background: Kirigami.ShadowedRectangle {
22 color: switch (root.type) {
23 case Kirigami.MessageType.Positive: return Kirigami.Theme.positiveTextColor;
24 case Kirigami.MessageType.Warning:
return Kirigami.Theme.neutralTextColor;
25 case Kirigami.MessageType.Error:
return Kirigami.Theme.negativeTextColor;
26 default:
return Kirigami.Theme.activeTextColor;
29 radius: Kirigami.Units.cornerRadius
33 shadow.color:
Qt.rgba(0, 0, 0, 0.5)
41 color: Kirigami.Theme.backgroundColor
43 radius: bgBorderRect.radius
47 anchors.fill: bgFillRect
49 color: bgBorderRect.color
53 radius: bgFillRect.radius
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:51:32 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.