summaryrefslogtreecommitdiffstats
path: root/app/qml/DateAndTime.qml
diff options
context:
space:
mode:
Diffstat (limited to 'app/qml/DateAndTime.qml')
-rw-r--r--app/qml/DateAndTime.qml37
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();
- }
- }
-}