mirror of
https://github.com/JulianGro/overte.git
synced 2025-08-09 20:53:17 +02:00
adding glyph and text
This commit is contained in:
parent
13dff29bd5
commit
33b89c9d32
1 changed files with 52 additions and 3 deletions
|
@ -24,6 +24,8 @@ Rectangle {
|
||||||
|
|
||||||
signal canceled()
|
signal canceled()
|
||||||
signal restart()
|
signal restart()
|
||||||
|
|
||||||
|
property int count: 3
|
||||||
|
|
||||||
HifiConstants { id: hifi }
|
HifiConstants { id: hifi }
|
||||||
visible: true
|
visible: true
|
||||||
|
@ -42,6 +44,47 @@ Rectangle {
|
||||||
running: true
|
running: true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
HiFiGlyphs {
|
||||||
|
id: image
|
||||||
|
text: hifi.glyphs.avatar1
|
||||||
|
size: 190
|
||||||
|
color: hifi.colors.white
|
||||||
|
|
||||||
|
anchors {
|
||||||
|
top: busyIndicator.top
|
||||||
|
topMargin: 40
|
||||||
|
horizontalCenter: busyIndicator.horizontalCenter
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
RalewayBold {
|
||||||
|
id: statusText
|
||||||
|
text: "CALIBRATION STARTING IN"
|
||||||
|
size: 16
|
||||||
|
color: hifi.colors.blueHighlight
|
||||||
|
|
||||||
|
anchors {
|
||||||
|
top: image.bottom
|
||||||
|
topMargin: 15
|
||||||
|
horizontalCenter: image.horizontalCenter
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
RalewayBold {
|
||||||
|
id: countDown
|
||||||
|
text: info.count
|
||||||
|
color: hifi.colors.blueHighlight
|
||||||
|
|
||||||
|
anchors {
|
||||||
|
top: statusText.bottom
|
||||||
|
topMargin: 12
|
||||||
|
horizontalCenter: statusText.horizontalCenter
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
RalewayBold {
|
RalewayBold {
|
||||||
id: directions
|
id: directions
|
||||||
|
|
||||||
|
@ -56,6 +99,13 @@ Rectangle {
|
||||||
text: "please stand in a T-Pose during calibration"
|
text: "please stand in a T-Pose during calibration"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NumberAnimation {
|
||||||
|
id: numberAnimation
|
||||||
|
target: info
|
||||||
|
property: count
|
||||||
|
to: 0
|
||||||
|
}
|
||||||
|
|
||||||
Row {
|
Row {
|
||||||
|
|
||||||
spacing: 20
|
spacing: 20
|
||||||
|
@ -89,10 +139,9 @@ Rectangle {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
function start() {
|
||||||
|
}
|
||||||
function callingFunction() {
|
function callingFunction() {
|
||||||
console.log("---------> calling function from parent <----------------");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue