• 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
  • ApplicationHeader
Properties | List of all members
org::kde::kirigami::ApplicationHeader Class Reference
Inheritance diagram for org::kde::kirigami::ApplicationHeader:
Inheritance graph
[legend]

Properties

int headerStyle
 
alias pageDelegate
 
- Properties inherited from org::kde::kirigami::AbstractApplicationHeader
QtObject __appWindow
 
Item background
 
alias contentItem
 
int maximumHeight
 
int minimumHeight
 
int preferredHeight
 

Detailed Description

An item that can be used as a title for the application.

Scrolling the main page will make it taller or shorter (trough the point of going away) It's a behavior similar to the typical mobile web browser adressbar the minimum, preferred and maximum heights of the item can be controlled with

  • minimumHeight: default is 0, i.e. hidden
  • preferredHeight: default is Units.gridUnit * 1.6
  • maximumHeight: default is Units.gridUnit * 3

To achieve a titlebar that stays completely fixed just set the 3 sizes as the same

Definition at line 32 of file ApplicationHeader.qml.

Property Documentation

int org::kde::kirigami::ApplicationHeader::headerStyle

headerStyle: string The way the separator between pages should be drawn in the header.

Allowed values are:

  • Breadcrumb: the pages are hyerarchical and the separator will look like a >
  • TabBar: the pages are intended to behave like tabbar pages and the separator will look limke a dot.

When the heaer is in wide screen mode, no separator will be drawn.

Definition at line 47 of file templates/ApplicationHeader.qml.


The documentation for this class was generated from the following file:
  • ApplicationHeader.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