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
62 lines
1.4 KiB
QML
62 lines
1.4 KiB
QML
import QtQuick
|
|
|
|
Rectangle {
|
|
required property string label
|
|
required property string value
|
|
property string detail: ""
|
|
property color accent: Theme.text
|
|
|
|
implicitWidth: 180
|
|
implicitHeight: 108
|
|
radius: Theme.radius
|
|
color: Theme.surface
|
|
border.width: 1
|
|
border.color: Theme.divider
|
|
|
|
Rectangle {
|
|
width: 3
|
|
height: 28
|
|
radius: 2
|
|
color: parent.accent
|
|
anchors.left: parent.left
|
|
anchors.leftMargin: 13
|
|
anchors.top: parent.top
|
|
anchors.topMargin: 16
|
|
}
|
|
|
|
Text {
|
|
text: parent.label.toUpperCase()
|
|
color: Theme.faint
|
|
font.pixelSize: Theme.fontMeta
|
|
font.letterSpacing: 1.1
|
|
anchors.left: parent.left
|
|
anchors.leftMargin: 26
|
|
anchors.top: parent.top
|
|
anchors.topMargin: 14
|
|
}
|
|
|
|
Text {
|
|
text: parent.value
|
|
color: parent.accent
|
|
font.pixelSize: 22
|
|
font.weight: 650
|
|
anchors.left: parent.left
|
|
anchors.leftMargin: 26
|
|
anchors.top: parent.top
|
|
anchors.topMargin: 36
|
|
}
|
|
|
|
Text {
|
|
text: parent.detail
|
|
color: Theme.dim
|
|
font.pixelSize: Theme.fontMeta
|
|
anchors.left: parent.left
|
|
anchors.leftMargin: 26
|
|
anchors.right: parent.right
|
|
anchors.rightMargin: 10
|
|
anchors.bottom: parent.bottom
|
|
anchors.bottomMargin: 11
|
|
elide: Text.ElideRight
|
|
}
|
|
|
|
}
|