mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
emergency call placeholder
This commit is contained in:
parent
536b1e164c
commit
4603c1ad1d
1 changed files with 21 additions and 2 deletions
|
|
@ -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!") }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue