org::kde::plasma::extras::Title
org::kde::plasma::extras::Title Class Reference
Inheritance diagram for org::kde::plasma::extras::Title:

Additional Inherited Members | |
![]() | |
enum | Type { Normal, Primary, Secondary } |
![]() | |
int | level |
int | step |
int | type |
![]() | |
void | __headerPointSize (level) |
void | headerPointSize (l) |
![]() | |
doLayout () | |
forceLayout () | |
lineLaidOut (line) | |
linkActivated (link) | |
linkAt (x, real y) | |
linkHovered (link) | |
Detailed Description
This is a title label which uses the plasma theme.
- Since
- 2.0 The characteristics of the text will be automatically set according to the plasma theme. Use this components for titles in your UI, for example page or section titles.
Example usage:
import org.kde.plasma.extras 2.0 as PlasmaExtras
[...]
Column {
PlasmaExtras.Title { text: "Fruit sweetness on the rise" }
PlasmaExtras.Heading { text: "Apples in the sunlight"; level: 2 }
PlasmaExtras.Paragraph { text: "Long text about fruit and apples [...]" }
[...]
}
See PlasmaComponents Label and primitive QML Text element API for additional properties, methods and signals.
- Deprecated:
- use org.kde.Kirigami.Heading instead
The documentation for this class was generated from the following file:
int level
The level determines how big the section header is display, values between 1 (big) and 5 (small) are ...
Definition: Heading.qml:41
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Mar 23 2023 04:18:17 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Mar 23 2023 04:18:17 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.