TextField
{
id: whiteAdditionalTime
+ visible: newGameDialog.askAddition
readOnly: true
MouseArea
{
anchors.fill: parent
- onClicked: {timePicker.timeType = "additional"; timePicker.player = "white"; timePicker.open()} }
+ onClicked: {timePicker.timeType = "additional"; timePicker.player = "white"; timePicker.open()}
+ }
}
TextField
{
id: blackAdditionalTime
+ visible: newGameDialog.askAddition
readOnly: true
MouseArea
TextField
{
id: whiteTurnsPerAddition
+ visible: newGameDialog.askAddition
inputMask: "D00"
text: "1"
}
TextField
{
id: blackTurnsPerAddition
+ visible: newGameDialog.askAddition
inputMask: "D00"
text: "1"
}