11 // anchors.centerIn: parent
12 // text: qsTr("Hello world!")
16 // anchors.horizontalCenter: parent.horizontalCenter
17 // anchors.top: label.bottom
18 // anchors.topMargin: 10
19 // text: qsTr("Click here!")
20 // onClicked: newGameDialog.open()
26 // anchors.fill: parent
27 // anchors.left: menuList.right
29 source: ":/rc/pic/logo.png"
46 name: "Addition before"
52 name: "Addition after"
81 anchors.left: bigLogo.right
82 anchors.right: parent.right
83 anchors.top: parent.top
84 anchors.bottom: parent.bottom
98 onClicked: {newGameDialog.name = name; newGameDialog.askAddition = askAddition; newGameDialog.open()}
113 property bool askAddition
120 text: newGameDialog.name
133 // anchors.top: parent.top
134 // anchors.horizontalCenter: parent.horizontalCenter
138 // width: rowRow.width - rowRow.spacing - switchComponent.width - whiteSmall.width - blackSmall.width
139 // height: switchComponent.height
140 verticalAlignment: Text.AlignVCenter
154 source: ":/rc/pic/white_small.png"
160 source: ":/rc/pic/black_small.png"
169 // anchors.top: rowRow.bottom
170 // anchors.horizontalCenter: parent.horizontalCenter
176 id: additionalTimeText
177 text: "Additional time"
180 // visible: newGameDialog.askAddition
181 // anchors.top: initialTimeText.bottom
182 // anchors.horizontalCenter: parent.horizontalCenter
187 text: "Turns per addition"
190 // visible: newGameDialog.askAddition
191 // anchors.top: additionalTimeText.bottom
192 // anchors.horizontalCenter: parent.horizontalCenter
205 onClicked: newGameDialog.accept()