Changeset View
Changeset View
Standalone View
Standalone View
src/controls/ToolBarApplicationHeader.qml
Show All 26 Lines | |||||
27 | /** | 27 | /** | ||
28 | * This Application header represents a toolbar that | 28 | * This Application header represents a toolbar that | ||
29 | * will display the actions of the current page. | 29 | * will display the actions of the current page. | ||
30 | * Both Contextual actions and the main, left and right actions | 30 | * Both Contextual actions and the main, left and right actions | ||
31 | */ | 31 | */ | ||
32 | ApplicationHeader { | 32 | ApplicationHeader { | ||
33 | id: header | 33 | id: header | ||
34 | 34 | | |||
35 | preferredHeight: 38 | 35 | preferredHeight: 42 | ||
36 | maximumHeight: preferredHeight | 36 | maximumHeight: preferredHeight | ||
37 | headerStyle: ApplicationHeaderStyle.Titles | 37 | headerStyle: ApplicationHeaderStyle.Titles | ||
38 | 38 | | |||
39 | //FIXME: needs a property difinition to have its own type in qml | 39 | //FIXME: needs a property difinition to have its own type in qml | ||
40 | property string _internal: "" | 40 | property string _internal: "" | ||
41 | 41 | | |||
42 | pageDelegate: Item { | 42 | pageDelegate: Item { | ||
43 | id: delegateItem | 43 | id: delegateItem | ||
Show All 11 Lines | 51 | Row { | |||
55 | 55 | | |||
56 | Separator { | 56 | Separator { | ||
57 | anchors.verticalCenter: parent.verticalCenter | 57 | anchors.verticalCenter: parent.verticalCenter | ||
58 | height: parent.height * 0.6 | 58 | height: parent.height * 0.6 | ||
59 | visible: index > 0 | 59 | visible: index > 0 | ||
60 | } | 60 | } | ||
61 | PrivateActionToolButton { | 61 | PrivateActionToolButton { | ||
62 | anchors.verticalCenter: parent.verticalCenter | 62 | anchors.verticalCenter: parent.verticalCenter | ||
63 | anchors.leftMargin: 4 | ||||
63 | kirigamiAction: page && page.actions ? page.actions.left : null | 64 | kirigamiAction: page && page.actions ? page.actions.left : null | ||
64 | showText: false | 65 | showText: false | ||
65 | } | 66 | } | ||
66 | PrivateActionToolButton { | 67 | PrivateActionToolButton { | ||
67 | anchors.verticalCenter: parent.verticalCenter | 68 | anchors.verticalCenter: parent.verticalCenter | ||
68 | kirigamiAction: page && page.actions ? page.actions.main : null | 69 | kirigamiAction: page && page.actions ? page.actions.main : null | ||
69 | showText: false | 70 | showText: false | ||
70 | } | 71 | } | ||
▲ Show 20 Lines • Show All 103 Lines • Show Last 20 Lines |