parent
8710c1f14f
commit
82a1c5f5d5
|
@ -24,6 +24,7 @@ Flickable {
|
||||||
|
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
font.pixelSize: 18
|
font.pixelSize: 18
|
||||||
|
color: "#E4D5A0"
|
||||||
|
|
||||||
readOnly: true
|
readOnly: true
|
||||||
selectByKeyboard: true
|
selectByKeyboard: true
|
||||||
|
|
|
@ -26,7 +26,10 @@ Item {
|
||||||
}
|
}
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
Text { text: Backend.translate(gname) }
|
Text {
|
||||||
|
color: "#E4D5A0"
|
||||||
|
text: Backend.translate(gname)
|
||||||
|
}
|
||||||
GridLayout {
|
GridLayout {
|
||||||
columns: 6
|
columns: 6
|
||||||
|
|
||||||
|
|
|
@ -33,8 +33,8 @@ ListView {
|
||||||
font.pixelSize: 16
|
font.pixelSize: 16
|
||||||
|
|
||||||
TapHandler {
|
TapHandler {
|
||||||
acceptedButtons: Qt.LeftButton | Qt.RightButton | Qt.NoButton
|
// acceptedButtons: Qt.LeftButton | Qt.RightButton | Qt.NoButton
|
||||||
gesturePolicy: TapHandler.WithinBounds
|
// gesturePolicy: TapHandler.WithinBounds
|
||||||
onTapped: root.currentIndex = index;
|
onTapped: root.currentIndex = index;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -66,7 +66,7 @@ Item {
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.margins: 8
|
anchors.margins: 8
|
||||||
general: general
|
general: _general
|
||||||
}
|
}
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
|
@ -76,7 +76,7 @@ Item {
|
||||||
text: {
|
text: {
|
||||||
const win = winner.split("+").indexOf(role) !== -1;
|
const win = winner.split("+").indexOf(role) !== -1;
|
||||||
const winStr = win ? Backend.translate("Game Win") : Backend.translate("Game Lose");
|
const winStr = win ? Backend.translate("Game Win") : Backend.translate("Game Lose");
|
||||||
return "<b>" + Backend.translate(general) + "</b> " + Backend.translate(role) + " " + winStr;
|
return "<b>" + Backend.translate(_general) + "</b> " + Backend.translate(role) + " " + winStr;
|
||||||
}
|
}
|
||||||
font.pixelSize: 20
|
font.pixelSize: 20
|
||||||
textFormat: Text.RichText
|
textFormat: Text.RichText
|
||||||
|
@ -148,7 +148,7 @@ Item {
|
||||||
repDate: t,
|
repDate: t,
|
||||||
playerName: name,
|
playerName: name,
|
||||||
gameMode: mode,
|
gameMode: mode,
|
||||||
general: general,
|
_general: general,
|
||||||
role: role,
|
role: role,
|
||||||
winner: winner,
|
winner: winner,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue