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

Search for usage in LXR

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 33 of file Paragraph.qml.


The documentation for this class was generated from the following file:
QStringView level(QStringView ifopt)
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

KDE's Doxygen guidelines are available online.