org::kde::plasma::extras::Title

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

Additional Inherited Members

- Public Member Functions inherited from QtQuick.Text
 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

Definition at line 44 of file Title.qml.


The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Aug 10 2020 22:44:07 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.