17 // anchors.centerIn: parent
18 // text: qsTr("Hello world!")
22 // anchors.horizontalCenter: parent.horizontalCenter
23 // anchors.top: label.bottom
24 // anchors.topMargin: 10
25 // text: qsTr("Click here!")
26 // onClicked: newGameDialog.open()
32 // anchors.fill: parent
33 // anchors.left: menuList.right
35 source: ":/rc/pic/logo.png"
52 name: "Addition before"
58 name: "Addition after"
87 anchors.left: bigLogo.right
88 anchors.right: parent.right
89 anchors.top: parent.top
90 anchors.bottom: parent.bottom
105 onClicked: {newGameDialog.name = name; newGameDialog.askAddition = askAddition; newGameDialog.open()}
120 property bool askAddition
129 text: newGameDialog.name
142 // anchors.top: parent.top
143 // anchors.horizontalCenter: parent.horizontalCenter
147 // width: rowRow.width - rowRow.spacing - switchComponent.width - whiteSmall.width - blackSmall.width
148 // height: switchComponent.height
149 verticalAlignment: Text.AlignVCenter
163 source: ":/rc/pic/white_small.png"
169 source: ":/rc/pic/black_small.png"
178 // anchors.top: rowRow.bottom
179 // anchors.horizontalCenter: parent.horizontalCenter
185 id: additionalTimeText
186 text: "Additional time"
189 // visible: newGameDialog.askAddition
190 // anchors.top: initialTimeText.bottom
191 // anchors.horizontalCenter: parent.horizontalCenter
196 text: "Turns per addition"
199 // visible: newGameDialog.askAddition
200 // anchors.top: additionalTimeText.bottom
201 // anchors.horizontalCenter: parent.horizontalCenter
214 onClicked: newGameDialog.accept()