10import org.kde.kirigami.platform as Platform
11import org.kde.kirigami.primitives as Primitives
12import org.kde.kirigami.templates.private as KTP
66 required property string title
70 property alias subtitle: titleSubtitle.subtitle
74 property alias color: titleSubtitle.color
78 property alias subtitleColor: titleSubtitle.subtitleColor
82 property alias font: titleSubtitle.font
86 property alias subtitleFont: titleSubtitle.subtitleFont
90 property alias reserveSpaceForSubtitle: titleSubtitle.reserveSpaceForSubtitle
94 property alias selected: titleSubtitle.selected
98 property alias elide: titleSubtitle.elide
102 property alias wrapMode: titleSubtitle.wrapMode
106 property alias truncated: titleSubtitle.truncated
114 property KTP.IconPropertiesGroup icon: KTP.IconPropertiesGroup {
115 width: titleSubtitle.subtitleVisible ? Platform.Units.iconSizes.medium : Platform.Units.iconSizes.smallMedium
122 signal linkActivated(string link)
127 signal linkHovered(string link)
129 implicitWidth: iconItem.implicitWidth + titleSubtitle.anchors.leftMargin + titleSubtitle.implicitWidth
130 implicitHeight: Math.max(iconItem.implicitHeight, titleSubtitle.implicitHeight)
138 bottom: parent.bottom
141 source: root.icon.name.length > 0 ? root.icon.name : root.icon.source
142 implicitWidth: root.icon.width
143 implicitHeight: root.icon.height
144 selected: root.selected
145 color: root.icon.color
153 leftMargin: root.icon.width > 0 ? Platform.Units.mediumSpacing : 0
155 bottom: parent.bottom
161 onLinkActivated: link => root.linkActivated(link)
162 onLinkHovered: link => root.linkHovered(link)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:20 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.