Index: sources/gui/qml/components/TimeText.qml =================================================================== diff -u -rcd7de5f6d239a11615ba8c6c03339a10996486ca -r34471900489397f483e052870ddc46059cef49fb --- sources/gui/qml/components/TimeText.qml (.../TimeText.qml) (revision cd7de5f6d239a11615ba8c6c03339a10996486ca) +++ sources/gui/qml/components/TimeText.qml (.../TimeText.qml) (revision 34471900489397f483e052870ddc46059cef49fb) @@ -25,8 +25,10 @@ */ Item { id: _root property int seconds : 0 + property bool secondsVisible : true property color color : "white" property int textPixelSize : 90 + property int textWeight : Font.ExtraLight property int secsPixelSize : 16 width : _timeHour.contentWidth + _timeSeparator.contentWidth + _timeMinute.contentWidth @@ -42,15 +44,15 @@ text: ":" font.pixelSize: _root.textPixelSize - font.weight: Font.ExtraLight + font.weight: _root.textWeight color: _root.color anchors.centerIn: _root } Text { id: _timeHour property alias hour: _private.hour font.pixelSize: _root.textPixelSize - font.weight: Font.ExtraLight + font.weight: _root.textWeight color: _root.color horizontalAlignment: Text.AlignRight @@ -63,14 +65,15 @@ property alias minute: _private.minute text: (minute < 10 ? "0" + minute : minute) font.pixelSize: _root.textPixelSize - font.weight: Font.ExtraLight + font.weight: _root.textWeight color: _root.color horizontalAlignment: Text.AlignLeft anchors.left: _timeSeparator.right anchors.baseline: _timeSeparator.baseline } Text { id: _timeSecond property alias second: _private.second + visible: _root.secondsVisible text: (second < 10 ? "0" + second : second) font.pixelSize: _root.secsPixelSize color: _root.color