mathtrainingstuff/qml/StartPage.qml
2019-02-15 15:32:59 +01:00

56 lines
1.1 KiB
QML

import QtQuick 2.9
import QtQuick.Controls 2.4
import "./"
import "./components"
Page {
id: root
background: Rectangle {
color: settings.theme("PageBackgroundColor")
}
signal pageOpened()
GameComboBox {
height: 40
width: 140
}
ComboBox {
anchors {
top: parent.top
topMargin: 40
}
}
/*
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()
}
}
*/
}