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 {
|
||||
role: "number"
|
||||
title: "No"
|
||||
role: "time"
|
||||
title: "Time"
|
||||
width: tableView.width / 6
|
||||
}
|
||||
TableViewColumn {
|
||||
role: "destination"
|
||||
title: "Destination"
|
||||
width: (tableView.width / 6) * 3
|
||||
}
|
||||
TableViewColumn {
|
||||
role: "arriving"
|
||||
title: "Arriving"
|
||||
width: tableView.width / 6
|
||||
}
|
||||
TableViewColumn {
|
||||
role: "next"
|
||||
title: "Next"
|
||||
width: (tableView.width / 6)
|
||||
role: "heading"
|
||||
title: "Entry"
|
||||
width: (tableView.width / 6) * 5
|
||||
}
|
||||
}
|
||||
|
||||
|
|
37
Clock.qml
37
Clock.qml
|
@ -12,8 +12,8 @@ import QtQuick.Controls 1.1
|
|||
import QtQuick.Window 2.0
|
||||
|
||||
Rectangle {
|
||||
width: 480
|
||||
height: 200
|
||||
width: 360
|
||||
height: 160
|
||||
color: "#000000"
|
||||
property date currDate: new Date()
|
||||
|
||||
|
@ -26,24 +26,21 @@ Rectangle {
|
|||
}
|
||||
}
|
||||
|
||||
ColumnLayout {
|
||||
id: layout
|
||||
anchors.fill: parent
|
||||
Text {
|
||||
id: time
|
||||
anchors.top: parent.top
|
||||
font.pointSize: 48
|
||||
font.family: "Helvetica"
|
||||
color: "#ffffff"
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
|
||||
Text {
|
||||
id: time
|
||||
font.pointSize: 48
|
||||
font.family: "Helvetica"
|
||||
color: "#ffffff"
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
|
||||
}
|
||||
Text {
|
||||
id: datum
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
font.pointSize: 24
|
||||
color: "#ffffff"
|
||||
font.family: "Helvetica"
|
||||
}
|
||||
}
|
||||
Text {
|
||||
id: datum
|
||||
anchors.top: time.bottom
|
||||
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 {
|
||||
title: qsTr("MagicMirror")
|
||||
width: 1080
|
||||
height: 1920
|
||||
width: 1024
|
||||
height: 1280
|
||||
|
||||
QmlMirror {
|
||||
anchors.fill: parent
|
||||
|
|
|
@ -27,7 +27,6 @@ Rectangle {
|
|||
anchors.top: positionId.bottom
|
||||
anchors.left: parent.left
|
||||
width: 360
|
||||
height: 240
|
||||
}
|
||||
|
||||
Calendar {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue