org::kde::plasma::extras::Paragraph

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

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 paragraph 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 paragraphs of text in your application. Use this component for blocks of text in your app.

Example usage:

import org.kde.plasma.extras 2.0 as PlasmaExtras
[...]
Column {
PlasmaExtras.Heading { text: "Fruit sweetness on the rise"; level: 1 }
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 QtQuickControls 2.0 Label instead

Definition at line 46 of file Paragraph.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.