org::kde::kirigami::templates::AbstractApplicationHeader

org::kde::kirigami::templates::AbstractApplicationHeader Class Reference
Inheritance diagram for org::kde::kirigami::templates::AbstractApplicationHeader:

Properties

QtObject __appWindow
 
Item background
 
int bottomPadding
 
alias contentItem
 
int leftPadding
 
int maximumHeight
 
int minimumHeight
 
Page page
 
PageRow pageRow
 
int paintedHeight
 
int position
 
int preferredHeight
 
int rightPadding
 
bool separatorVisible
 
int topPadding
 

Additional Inherited Members

- 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, rect r)
 
object mapFromItem (item, real x, real y)
 
object mapFromItem (item, real x, real y, real width, real height)
 
object mapToGlobal (x, real y)
 
object mapToItem (item, rect r)
 
object mapToItem (item, real x, real y)
 
object mapToItem (item, point p)
 
object mapToItem (item, real x, real y, real width, real height)
 
 nextItemInFocusChain (forward)
 

Detailed Description

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

Since
2.2 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 addressbar the minimum, preferred and maximum heights of the item can be controlled with

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

Definition at line 24 of file controls/templates/AbstractApplicationHeader.qml.

Property Documentation

Item org::kde::kirigami::templates::AbstractApplicationHeader::background

background: Item This property holds the background item.

Note: the background will be automatically sized as the whole control

Definition at line 61 of file controls/templates/AbstractApplicationHeader.qml.

alias org::kde::kirigami::templates::AbstractApplicationHeader::contentItem
Remarks
This is the default property

Definition at line 40 of file controls/templates/AbstractApplicationHeader.qml.

int org::kde::kirigami::templates::AbstractApplicationHeader::paintedHeight
Remarks
This property is read-only

Definition at line 43 of file controls/templates/AbstractApplicationHeader.qml.


The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sun Jul 5 2020 22:37:52 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.