Search for usage in LXR

org::kde::kirigami::Heading Class Reference
Inheritance diagram for org::kde::kirigami::Heading:


int level
int step

Public Member Functions

void headerPointSize (l)

Detailed Description

A heading label used for subsections of texts.

The characteristics of the text will be automatically set according to the Theme. Use this components for section titles or headings in your UI, for example page or section titles.

Example usage:

import org.kde.kirigami 2.4 as Kirigami
Column {
Kirigami.Heading {
text: "Apples in the sunlight"
level: 2

The most important property is "text", which applies to the text property of Label. See the Label component from QtQuick.Controls 2 and primitive QML Text element API for additional properties, methods and signals.

Definition at line 37 of file Heading.qml.

Property Documentation

int org::kde::kirigami::Heading::level

level: int The level determines how big the section header is display, values between 1 (big) and 5 (small) are accepted

Definition at line 44 of file Heading.qml.

int org::kde::kirigami::Heading::step

step: int adjust the point size in between a level and another.


Definition at line 50 of file Heading.qml.

The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Thu Apr 15 2021 22:38:00 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.