AbstractApplicationHeader QML Type
An item that can be used as a title for the application. More...
Import Statement: | import org.kde.kirigami |
Inherits: |
Properties
- background : Item
- bottomPadding : int
- hideWhenTouchScrolling : bool
- leftPadding : int
- maximumHeight : int
- minimumHeight : int
- page : Kirigami.Page
- pageRow : Kirigami.PageRow
- paintedHeight : int
- position : int
- preferredHeight : int
- rightPadding : int
- separatorVisible : bool
- topPadding : int
Detailed Description
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 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
Property Documentation
background : Item |
This property holds the background item.
Note: the background will be automatically sized to fill the whole control
bottomPadding : int |
hideWhenTouchScrolling : bool |
This property specifies whether the header should be pushed back when scrolling using the touch screen.
leftPadding : int |
maximumHeight : int |
minimumHeight : int |
page : Kirigami.Page |
pageRow : Kirigami.PageRow |
paintedHeight : int |
position : int |
preferredHeight : int |
rightPadding : int |
separatorVisible : bool |
topPadding : int |