8import org.kde.kirigami as Kirigami
10Kirigami.AbstractApplicationHeader {
13 property Item container
16 minimumHeight: pageRow ? pageRow.globalToolBar.minimumHeight : Kirigami.Units.iconSizes.medium + Kirigami.Units.smallSpacing * 2
17 maximumHeight: pageRow ? pageRow.globalToolBar.maximumHeight : minimumHeight
18 preferredHeight: pageRow ? pageRow.globalToolBar.preferredHeight : minimumHeight
20 separatorVisible: pageRow ? pageRow.globalToolBar.separatorVisible : true
22 Kirigami.Theme.colorSet: pageRow ? pageRow.globalToolBar.colorSet : Kirigami.Theme.Header
28 (page.title.length > 0 ? pageRow.globalToolBar.titleLeftPadding : 0),
29 Qt.application.layoutDirection === Qt.LeftToRight
30 ? Math.min(pageRow.globalToolBar.leftReservedSpace,
31 pageRow.Kirigami.ScenePosition.x
32 - page.Kirigami.ScenePosition.x
33 + pageRow.globalToolBar.leftReservedSpace)
34 + Kirigami.Units.smallSpacing
35 : Math.min(pageRow.globalToolBar.leftReservedSpace,
37 + pageRow.Kirigami.ScenePosition.x
38 + page.Kirigami.ScenePosition.x
40 + pageRow.globalToolBar.leftReservedSpace)
41 + Kirigami.Units.smallSpacing))
42 : Kirigami.Units.smallSpacing
45 Qt.application.layoutDirection === Qt.LeftToRight
47 - pageRow.Kirigami.ScenePosition.x
49 + page.Kirigami.ScenePosition.x
50 + pageRow.globalToolBar.rightReservedSpace)
51 : (pageRow.Kirigami.ScenePosition.x
52 - page.Kirigami.ScenePosition.x
53 + pageRow.globalToolBar.rightReservedSpace))