MouseArea
{
anchors.fill: parent
- onClicked: newGameDialog.open()
+ onClicked: {newGameDialog.name = name; newGameDialog.open()}
}
}
Dialog
{
id:newGameDialog
- title:Label { color:"white" ;text:"Normal Clock"}
+
+ property string name
+
+
+ title:Label
+ {
+ color:"white"
+ font.pointSize: 40
+ text: newGameDialog.name
+ }
+
content:
Row
height: switchComponent.height
verticalAlignment: Text.AlignVCenter
text: "Equal times"
- color: white
+ color: "white"
+ font.pointSize: 16
}
Switch