mathtrainingstuff/qml/StartPage.qml

57 lines
1.1 KiB
QML
Raw Normal View History

2018-12-19 20:40:06 +01:00
import QtQuick 2.9
import QtQuick.Controls 2.4
import "./"
import "./components"
Page {
id: root
background: Rectangle {
color: settings.theme("PageBackgroundColor")
}
signal pageOpened()
2019-02-15 15:32:59 +01:00
GameComboBox {
height: 40
width: 140
}
ComboBox {
anchors {
top: parent.top
topMargin: 40
}
}
/*
2018-12-19 20:40:06 +01:00
GameButton {
id: calenderButton
text: "calender"
height: parent.width * 0.2
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.calender()
}
}
GameButton {
id: calculatorButton
text: "calculator"
height: parent.width * 0.2
anchors {
left: parent.left
top: parent.top
leftMargin: parent.width * 0.5 - width * 0.5
topMargin: parent.height * 0.7 - height * 0.5
}
onClicked: {
game.calculator()
}
}
2019-02-15 15:32:59 +01:00
*/
2018-12-19 20:40:06 +01:00
}