mirror of
https://github.com/Qsgs-Fans/FreeKill.git
synced 2024-11-16 19:58:13 +08:00
0029949a40
* update nullification * Slash * kill player * correct players to alive_players * add log for changehp and dying * usecard log & indicator * setemotion, logevent * fix distanceTo * shutdown server when console start * game over * complete slash * change format of flist.txt to avoid '\r\n' * fix \r\n * peach, zhiheng * ask for peach
33 lines
615 B
QML
33 lines
615 B
QML
import QtQuick
|
|
import ".."
|
|
|
|
GraphicsBox {
|
|
property string winner: ""
|
|
|
|
id: root
|
|
title.text: Backend.translate("$GameOver")
|
|
width: Math.max(140, body.width + 20)
|
|
height: body.height + title.height + 20
|
|
|
|
Column {
|
|
id: body
|
|
x: 10
|
|
y: title.height + 5
|
|
spacing: 10
|
|
|
|
Text {
|
|
text: Backend.translate("$Winner").arg(Backend.translate(winner))
|
|
color: "#E4D5A0"
|
|
}
|
|
|
|
MetroButton {
|
|
text: Backend.translate("Back To Lobby")
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
|
|
onClicked: {
|
|
ClientInstance.notifyServer("QuitRoom", "[]");
|
|
}
|
|
}
|
|
}
|
|
}
|