AbstractApplicationHeader

Search for usage in LXR

AbstractApplicationHeader Class Reference
Inheritance diagram for AbstractApplicationHeader:

Additional Inherited Members

- Properties inherited from org::kde::kirigami::templates::AbstractApplicationHeader
Item background
 
int bottomPadding
 
alias contentItem
 
bool hideWhenTouchScrolling
 
int leftPadding
 
int maximumHeight
 
int minimumHeight
 
KirigamiPage page
 
KirigamiPageRow pageRow
 
int paintedHeight
 
int position
 
int preferredHeight
 
int rightPadding
 
bool separatorVisible
 
int topPadding
 
- Public Member Functions inherited from QtQuick.Item
 childAt (x, real y)
 
bool contains (point)
 
 forceActiveFocus ()
 
 forceActiveFocus (reason)
 
bool grabToImage (callback, targetSize)
 
object mapFromGlobal (x, real y)
 
object mapFromItem (item, point p)
 
object mapFromItem (item, real x, real y)
 
object mapFromItem (item, real x, real y, real width, real height)
 
object mapFromItem (item, rect r)
 
object mapToGlobal (x, real y)
 
object mapToItem (item, point p)
 
object mapToItem (item, real x, real y)
 
object mapToItem (item, real x, real y, real width, real height)
 
object mapToItem (item, rect r)
 
 nextItemInFocusChain (forward)
 

Detailed Description

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

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

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

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

Definition at line 23 of file controls/AbstractApplicationHeader.qml.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sun Feb 25 2024 18:45:17 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.