- Dialog
+ Sheet
{
id:newGameDialog
}
- title:Label
- {
- color:"white"
- font.pointSize: 64
- text: newGameDialog.name
- }
+// title:Label
+// {
+// color:"white"
+// font.pointSize: 64
+// text: newGameDialog.name
+// }
+ acceptButtonText: "Start game"
+ rejectButtonText: "Cancel"
content:
+
+
+
Grid
{
+// anchors.top: rowRow.bottom
columns: 3
+
Row
{
id: rowRow
Text
{
- // width: rowRow.width - rowRow.spacing - switchComponent.width - whiteSmall.width - blackSmall.width
- // height: switchComponent.height
+// width: rowRow.width - rowRow.spacing - switchComponent.width - whiteSmall.width - blackSmall.width
+// height: switchComponent.height
verticalAlignment: Text.AlignVCenter
text: "Equal times"
color: "white"
{
if (checked)
{
- blackInitialTime.text = whiteInitialTime.text
- blackAdditionalTime.text = whiteAdditionalTime.text
- blackTurnsPerAddition.text = whiteTurnsPerAddition.text
-
}
+
}
}
}
+
+
+ Item
+ {
+ id: placeholder
+ }
+
Image
{
id: whiteSmall
}
-
+ }
}
- buttons:
-
- Button
- {
- id: bOk
- text: "Start game"
- y: 45
-
- onClicked: newGameDialog.accept()
- }
- }
TimePickerDialog
{