Changeset View
Changeset View
Standalone View
Standalone View
src/declarativeimports/plasmaextracomponents/qml/Heading.qml
Show All 27 Lines | |||||
28 | * for example page or section titles. | 28 | * for example page or section titles. | ||
29 | * | 29 | * | ||
30 | * Example usage: | 30 | * Example usage: | ||
31 | * | 31 | * | ||
32 | * @code | 32 | * @code | ||
33 | * import org.kde.plasma.extras 2.0 as PlasmaExtras | 33 | * import org.kde.plasma.extras 2.0 as PlasmaExtras | ||
34 | * [...] | 34 | * [...] | ||
35 | * Column { | 35 | * Column { | ||
36 | * PlasmaExtras.Title { text: "Fruit sweetness on the rise" } | 36 | * PlasmaExtras.Heading { text: "Fruit sweetness on the rise"; level: 1 } | ||
37 | * PlasmaExtras.Heading { text: "Apples in the sunlight"; level: 2 } | 37 | * PlasmaExtras.Heading { text: "Apples in the sunlight"; level: 2 } | ||
38 | * PlasmaExtras.Paragraph { text: "Long text about fruit and apples [...]" } | 38 | * PlasmaExtras.Paragraph { text: "Long text about fruit and apples [...]" } | ||
39 | * [...] | 39 | * [...] | ||
40 | * } | 40 | * } | ||
41 | * @endcode | 41 | * @endcode | ||
42 | * | 42 | * | ||
43 | * The most important property is "text", which applies to the text property of | 43 | * The most important property is "text", which applies to the text property of | ||
44 | * Label. See PlasmaComponents Label and primitive QML Text element API for | 44 | * Label. See PlasmaComponents Label and primitive QML Text element API for | ||
Show All 39 Lines |