8import org.kde.kirigami as Kirigami
12 property int style: Kirigami.ApplicationHeaderStyle.None
14 readonly property int actualStyle: {
15 if (style === Kirigami.ApplicationHeaderStyle.Auto) {
16 if (!Kirigami.Settings.isMobile) {
17 return Kirigami.ApplicationHeaderStyle.ToolBar
18 } else if (root.wideMode) {
19 return Kirigami.ApplicationHeaderStyle.Titles
21 return Kirigami.ApplicationHeaderStyle.Breadcrumb
28 property int showNavigationButtons: (!Kirigami.Settings.isMobile ||
Qt.platform.os ===
"ios")
29 ? (Kirigami.ApplicationHeaderStyle.ShowBackButton | Kirigami.ApplicationHeaderStyle.ShowForwardButton)
30 : Kirigami.ApplicationHeaderStyle.NoNavigationButtons
31 property bool separatorVisible:
true
33 property int colorSet: Kirigami.Theme.Header
37 property bool hideWhenTouchScrolling:
false
41 property bool canContainHandles:
true
42 property int toolbarActionAlignment:
Qt.AlignRight
43 property int toolbarActionHeightMode: Kirigami.ToolBarLayout.ConstrainIfLarger
45 property int minimumHeight: 0
47 property int preferredHeight: (actualStyle === Kirigami.ApplicationHeaderStyle.ToolBar
48 ? Kirigami.Units.iconSizes.medium
49 : Kirigami.Units.gridUnit * 1.8) + Kirigami.Units.smallSpacing * 2
50 property
int maximumHeight: preferredHeight
53 property int titleLeftPadding: Kirigami.
Units.gridUnit
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:51:31 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.