emergency call placeholder

This commit is contained in:
Aaron Seigo 2014-08-28 15:21:53 +02:00
parent 536b1e164c
commit 4603c1ad1d

View file

@ -161,10 +161,29 @@ Leaves {
right: parent.right right: parent.right
bottom: parent.bottom bottom: parent.bottom
} }
color: "white" // FIXME: base on wallpaper? color: hour.color
text: "00" text: "00"
font.pixelSize: Math.floor((width - (units.largeSpacing)) / 2) font.pixelSize: Math.floor((width - (units.largeSpacing)) / 2)
horizontalAlignment: Qt.AlignCenter horizontalAlignment: Qt.AlignCenter
verticalAlignment: Qt.AlignVCenter verticalAlignment: Qt.AlignVCenter
} }
}
Text {
id: emergencyCall
anchors {
left: parent.left
right: parent.right
bottom: parent.bottom
}
horizontalAlignment: Qt.AlignCenter
color: minute.color
text: i18n("Emergency Call")
MouseArea {
anchors.fill: parent
onClicked: { print("FIXME: Launch the dialer service!") }
}
}
}