Minor changes
This commit is contained in:
parent
576132fa7e
commit
2510314d5a
4 changed files with 24 additions and 38 deletions
20
Calendar.qml
20
Calendar.qml
|
@ -75,24 +75,14 @@ Rectangle {
|
||||||
}
|
}
|
||||||
|
|
||||||
TableViewColumn {
|
TableViewColumn {
|
||||||
role: "number"
|
role: "time"
|
||||||
title: "No"
|
title: "Time"
|
||||||
width: tableView.width / 6
|
width: tableView.width / 6
|
||||||
}
|
}
|
||||||
TableViewColumn {
|
TableViewColumn {
|
||||||
role: "destination"
|
role: "heading"
|
||||||
title: "Destination"
|
title: "Entry"
|
||||||
width: (tableView.width / 6) * 3
|
width: (tableView.width / 6) * 5
|
||||||
}
|
|
||||||
TableViewColumn {
|
|
||||||
role: "arriving"
|
|
||||||
title: "Arriving"
|
|
||||||
width: tableView.width / 6
|
|
||||||
}
|
|
||||||
TableViewColumn {
|
|
||||||
role: "next"
|
|
||||||
title: "Next"
|
|
||||||
width: (tableView.width / 6)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
37
Clock.qml
37
Clock.qml
|
@ -12,8 +12,8 @@ import QtQuick.Controls 1.1
|
||||||
import QtQuick.Window 2.0
|
import QtQuick.Window 2.0
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
width: 480
|
width: 360
|
||||||
height: 200
|
height: 160
|
||||||
color: "#000000"
|
color: "#000000"
|
||||||
property date currDate: new Date()
|
property date currDate: new Date()
|
||||||
|
|
||||||
|
@ -26,24 +26,21 @@ Rectangle {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ColumnLayout {
|
Text {
|
||||||
id: layout
|
id: time
|
||||||
anchors.fill: parent
|
anchors.top: parent.top
|
||||||
|
font.pointSize: 48
|
||||||
|
font.family: "Helvetica"
|
||||||
|
color: "#ffffff"
|
||||||
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
|
|
||||||
Text {
|
}
|
||||||
id: time
|
Text {
|
||||||
font.pointSize: 48
|
id: datum
|
||||||
font.family: "Helvetica"
|
anchors.top: time.bottom
|
||||||
color: "#ffffff"
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
font.pointSize: 24
|
||||||
|
color: "#ffffff"
|
||||||
}
|
font.family: "Helvetica"
|
||||||
Text {
|
|
||||||
id: datum
|
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
|
||||||
font.pointSize: 24
|
|
||||||
color: "#ffffff"
|
|
||||||
font.family: "Helvetica"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
4
Main.qml
4
Main.qml
|
@ -12,8 +12,8 @@ import QtQuick.Window 2.0
|
||||||
|
|
||||||
ApplicationWindow {
|
ApplicationWindow {
|
||||||
title: qsTr("MagicMirror")
|
title: qsTr("MagicMirror")
|
||||||
width: 1080
|
width: 1024
|
||||||
height: 1920
|
height: 1280
|
||||||
|
|
||||||
QmlMirror {
|
QmlMirror {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
|
@ -27,7 +27,6 @@ Rectangle {
|
||||||
anchors.top: positionId.bottom
|
anchors.top: positionId.bottom
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
width: 360
|
width: 360
|
||||||
height: 240
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Calendar {
|
Calendar {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue