Changeset View
Changeset View
Standalone View
Standalone View
src/controls/private/globaltoolbar/ToolBarPageHeader.qml
Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Line(s) | 38 | RowLayout { | |||
---|---|---|---|---|---|
55 | } | 55 | } | ||
56 | 56 | | |||
57 | ActionToolBar { | 57 | ActionToolBar { | ||
58 | id: toolBar | 58 | id: toolBar | ||
59 | 59 | | |||
60 | Layout.alignment: Qt.AlignVCenter | 60 | Layout.alignment: Qt.AlignVCenter | ||
61 | Layout.fillWidth: true | 61 | Layout.fillWidth: true | ||
62 | 62 | | |||
63 | visible: width > 0 | 63 | visible: actions.length > 0 | ||
64 | alignment: pageRow.globalToolBar.toolbarActionAlignment | 64 | alignment: pageRow.globalToolBar.toolbarActionAlignment | ||
65 | display: buttonTextMetrics.toobig ? Controls.Button.IconOnly : Controls.Button.TextBesideIcon | 65 | display: buttonTextMetrics.toobig ? Controls.Button.IconOnly : Controls.Button.TextBesideIcon | ||
66 | 66 | | |||
67 | actions: { | 67 | actions: { | ||
68 | var result = [] | 68 | var result = [] | ||
69 | 69 | | |||
70 | if (page) { | 70 | if (page) { | ||
71 | if (page.actions.main) { | 71 | if (page.actions.main) { | ||
Show All 30 Lines |