diff options
author | zheng_wenlong <wenlong_zheng@nexty-ele.com> | 2018-11-30 16:09:41 +0900 |
---|---|---|
committer | zheng_wenlong <wenlong_zheng@nexty-ele.com> | 2018-11-30 16:09:41 +0900 |
commit | 1b09dfb921e37018a0dec3512e24af1d71df0ddc (patch) | |
tree | c8d5d7c59bcc31c3e8f3370fd1dad412580b84c3 /app/qml/DateAndTime.qml | |
parent | 7d642f7dae7362a96939e412e358b6d1faad87b9 (diff) |
get gps position from navigation
Diffstat (limited to 'app/qml/DateAndTime.qml')
-rw-r--r-- | app/qml/DateAndTime.qml | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/app/qml/DateAndTime.qml b/app/qml/DateAndTime.qml deleted file mode 100644 index c9e2af7..0000000 --- a/app/qml/DateAndTime.qml +++ /dev/null @@ -1,37 +0,0 @@ -import QtQuick 2.0 -import QtQuick.Controls 2.2 -import QtQuick.Layouts 1.0 - -Item { - id: dateAndTime - - width: 53 * hspan - height: 33 * vspan - - property int hspan: 4 - property int vspan: 1 - property var currentDate: new Date(); - - RowLayout { - anchors.top: parent.top - anchors.horizontalCenter: parent.horizontalCenter - spacing: 10 - - CustomLabel { - font.capitalization: Font.AllUppercase - text: Qt.formatDateTime(dateAndTime.currentDate, "HH:mm") - font.pixelSize: 38 - color: "#000000" - } - } - - Timer { - interval: 60000 - running: true - repeat: true - - onTriggered: { - dateAndTime.currentDate = new Date(); - } - } -} |