• Skip to content
  • Skip to link menu
Brand

API Documentation

  1. KDE API Reference
  2. Kirigami
  • KDE Home
  • Contact Us

Quick Links

Skip menu "Kirigami"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • File List
  • Related Pages

Class Picker

About

QtQuick plugins to build user interfaces based on the KDE UX guidelines

Maintainer
Marco Martin
Supported platforms
Android, Linux
Community
IRC: #plasma on Freenode
Mailing list: plasma-devel
Use with CMake
find_package(KF5Kirigami)
target_link_libraries(yourapp KF5::Kirigami)
Clone
git clone git://anongit.kde.org/kirigami1.git
Browse source
Kirigami on cgit.kde.org

Kirigami

  • View on LXR
  • org
  • kde
  • kirigami
  • Heading
Properties | Public Member Functions | List of all members
org::kde::kirigami::Heading Class Reference
Inheritance diagram for org::kde::kirigami::Heading:
Inheritance graph
[legend]

Properties

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 plasma Theme. Use this components for section titles or headings in your UI, for example page or section titles.

Example usage:

import org.kde.kirigami 1.0 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 PlasmaComponents Label and primitive QML Text element API for additional properties, methods and signals.

Definition at line 47 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 54 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 59 of file Heading.qml.


The documentation for this class was generated from the following file:
  • Heading.qml
This file is part of the KDE documentation.
Documentation copyright © 1996-2017 The KDE developers.
Generated on Fri Feb 17 2017 11:09:23 by doxygen 1.8.6 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal