2018-11-22 12:39:09 +01:00
|
|
|
import QtQuick 2.9
|
|
|
|
import QtQuick.Controls 2.4
|
|
|
|
import "./"
|
|
|
|
|
|
|
|
Page {
|
|
|
|
id: root
|
2018-11-23 17:14:09 +01:00
|
|
|
|
2018-11-22 12:39:09 +01:00
|
|
|
signal pageOpened()
|
2018-11-24 13:50:06 +01:00
|
|
|
RoundButton {
|
2018-11-22 12:39:09 +01:00
|
|
|
id: calenderButton
|
|
|
|
text: "calender"
|
2018-11-24 13:50:06 +01:00
|
|
|
height: parent.width * 0.2
|
|
|
|
width: height
|
|
|
|
font.pixelSize: parent.width * 0.03
|
2018-11-22 12:39:09 +01:00
|
|
|
anchors {
|
|
|
|
left: parent.left
|
|
|
|
top: parent.top
|
|
|
|
leftMargin: parent.width * 0.5 - width * 0.5
|
|
|
|
topMargin: parent.height * 0.3 - height * 0.5
|
|
|
|
}
|
|
|
|
|
|
|
|
onClicked: {
|
|
|
|
game.state = "calender"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-11-24 13:50:06 +01:00
|
|
|
RoundButton {
|
2018-11-22 12:39:09 +01:00
|
|
|
id: calculatorButton
|
2018-11-24 13:50:06 +01:00
|
|
|
text: "calculator"
|
|
|
|
height: parent.width * 0.2
|
|
|
|
width: height
|
|
|
|
font.pixelSize: parent.width * 0.03
|
2018-11-22 12:39:09 +01:00
|
|
|
anchors {
|
|
|
|
left: parent.left
|
|
|
|
top: parent.top
|
|
|
|
leftMargin: parent.width * 0.5 - width * 0.5
|
|
|
|
topMargin: parent.height * 0.6 - height * 0.5
|
|
|
|
}
|
|
|
|
|
|
|
|
onClicked: {
|
2018-11-24 13:50:06 +01:00
|
|
|
game.state = "calculator"
|
2018-11-22 12:39:09 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|