Libplasma
9import QtQuick.Templates as T
10import org.kde.ksvg as KSvg
12import org.kde.plasma.core as PlasmaCore
13import org.kde.plasma.components as PlasmaComponents3
18 implicitWidth: contentWidth + leftPadding + rightPadding
19 implicitHeight: contentHeight + topPadding + bottomPadding
21 contentWidth: contentItem.implicitWidth || (contentChildren.length === 1 ? contentChildren[0].implicitWidth : 0)
22 contentHeight: contentItem.implicitHeight || (contentChildren.length === 1 ? contentChildren[0].implicitHeight : 0)
25 topPadding: padding + (label && label.implicitWidth > 0 ? label.implicitHeight + spacing : 0)
27 label: PlasmaComponents3.Label {
28 x: control.leftPadding
29 width: control.availableWidth
33 enabled: control.enabled
34 elide: Text.ElideRight
35 horizontalAlignment: Text.AlignLeft
36 verticalAlignment: Text.AlignVCenter
39 background: KSvg.FrameSvgItem {
40 imagePath: "widgets/frame"
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Apr 25 2025 11:51:31 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.