
Properties | |
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
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
- preferredHeight: default is Units.gridUnit * 3
To achieve a titlebar that stays completely fixed just set the 3 sizes as the same
Definition at line 33 of file controls/AbstractApplicationHeader.qml.
Property Documentation
Item org::kde::kirigami::AbstractApplicationHeader::background |
background: Item This property holds the background item.
Note: the background will be automatically sized as the whole control
Definition at line 52 of file controls/templates/AbstractApplicationHeader.qml.
alias org::kde::kirigami::AbstractApplicationHeader::contentItem |
- Remarks
- This is the default property
Definition at line 44 of file controls/templates/AbstractApplicationHeader.qml.
The documentation for this class was generated from the following file:
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.