Minor changes

This commit is contained in:
Oscar Andreasson 2015-08-14 11:34:16 +02:00
parent 576132fa7e
commit 2510314d5a
4 changed files with 24 additions and 38 deletions

View file

@ -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)
} }
} }

View file

@ -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"
}
} }
} }

View file

@ -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

View file

@ -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 {