projection: begin the exact-path public epoch
The public tree and its history contain only the listed paths. Earlier projection history remains preserved internally. Source-Sha: 913fde029b935671833254797f0f20f1eb9fabba Policy-Sha: 913fde029b935671833254797f0f20f1eb9fabba Tree-Digest: 180ae530c1058a2a5c89837bdce2d323ae83e669e38590ca72e75b8d92b7262f
This commit is contained in:
commit
67e26be2d9
838 changed files with 157302 additions and 0 deletions
47
desktop/qml/PageHeader.qml
Normal file
47
desktop/qml/PageHeader.qml
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
import QtQuick
|
||||
import QtQuick.Layouts
|
||||
|
||||
GridLayout {
|
||||
id: root
|
||||
|
||||
property string title
|
||||
property string subtitle
|
||||
default property alias actions: actionsRow.data
|
||||
|
||||
columns: width < 850 ? 1 : 2
|
||||
columnSpacing: 20
|
||||
rowSpacing: 12
|
||||
|
||||
ColumnLayout {
|
||||
Layout.fillWidth: true
|
||||
Layout.minimumWidth: 0
|
||||
spacing: 6
|
||||
|
||||
Text {
|
||||
Layout.fillWidth: true
|
||||
text: root.title
|
||||
color: Theme.text
|
||||
font.pixelSize: Theme.fontTitle
|
||||
font.weight: Font.Bold
|
||||
wrapMode: Text.Wrap
|
||||
}
|
||||
|
||||
Text {
|
||||
Layout.fillWidth: true
|
||||
text: root.subtitle
|
||||
color: Theme.dim
|
||||
font.pixelSize: Theme.fontBody
|
||||
wrapMode: Text.Wrap
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
id: actionsRow
|
||||
|
||||
Layout.fillWidth: root.columns === 1
|
||||
Layout.maximumWidth: root.width
|
||||
spacing: 8
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Reference in a new issue