Skip to content
Snippets Groups Projects
Commit 48d49951 authored by Pouchet Pierre's avatar Pouchet Pierre
Browse files

continuation distances relatives

parent 22dea029
No related branches found
No related tags found
No related merge requests found
......@@ -52,8 +52,8 @@ Window {
id: choosebutton
anchors.top: parent.top
anchors.left: parent.left
anchors.topMargin: height * 0.03
anchors.leftMargin: width * 0.03
anchors.topMargin: height * 0.2
anchors.leftMargin: width * 0.2
_textText: "Générer un mot"
Case {
......@@ -73,48 +73,15 @@ Window {
}
// Choix du nombre de lettres (en haut à droite)
Rectangle {
id: rectangle_combobox
width: parent.width * 0.15
height: parent.height * 0.15
anchors.top: parent.top
anchors.right: parent.right
anchors.topMargin: height * 0.03
anchors.rightMargin: width * 0.03
color: "#323232"
radius: 10
border.color: "#ffffff"
border.width: 3
Column {
anchors.fill: parent
anchors.margins: 10
spacing: 10
Text {
text: qsTr("Nombre de lettres / \n Number of letters")
font.pixelSize: 18
color: "white"
horizontalAlignment: Text.AlignHCenter
anchors.horizontalCenter: parent.horizontalCenter
}
NumberLetterButton {
width: parent.width * 0.9
height: parent.height * 0.5
anchors.horizontalCenter: parent.horizontalCenter
}
}
}
// Fenêtre pour les langages (en dessous du bouton générer)
Rectangle {
id: big_rectangle_langue
width: parent.width * 0.15
height: parent.height * 0.25
height: parent.height * 0.35
anchors.top: choosebutton.bottom
anchors.left: choosebutton.left
anchors.topMargin: height * 0.03
anchors.topMargin: height * 0.3
color: "#323232"
radius: 10
border.color: "#ffffff"
......@@ -124,10 +91,16 @@ Window {
anchors.fill: parent
anchors.margins: 10
spacing: 10
anchors.horizontalCenter: parent.horizontalCenter
Text {
text: qsTr("Language/Langage")
font.pixelSize: 20
font.pixelSize: 25
color: "white"
horizontalAlignment: Text.AlignHCenter
anchors.horizontalCenter: parent.horizontalCenter
......@@ -135,6 +108,14 @@ Window {
LangageButton {
_textText: "Français"
anchors.top: parent.top
anchors.right: parent.right
anchors.horizontalCenter: parent.horizontalCenter
anchors.topMargin: parent.height * 0.6
MouseArea {
anchors.fill: parent
cursorShape: Qt.PointingHandCursor
......@@ -144,6 +125,10 @@ Window {
LangageButton {
_textText: "English"
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: parent.top
anchors.topMargin: parent.height * 0.2
MouseArea {
anchors.fill: parent
cursorShape: Qt.PointingHandCursor
......@@ -188,11 +173,11 @@ Window {
// Clavier en bas centré
Rectangle {
id: rectangle1
width: parent.width * 0.9
height: parent.height * 0.25
width: parent.width * 0.4
height: parent.height * 0.28
anchors.bottom: parent.bottom
anchors.horizontalCenter: parent.horizontalCenter
anchors.bottomMargin: height * 0.03
anchors.bottomMargin: height * 0.2
color: "#323232"
radius: 10
border.color: "#ffffff"
......@@ -201,16 +186,26 @@ Window {
Column {
anchors.fill: parent
anchors.margins: 10
spacing: 10
anchors.top: parent.top
anchors.right: parent.right
anchors.bottom: parent.bottom
anchors.left: parent.left
anchors.topMargin: 0
anchors.rightMargin: 0
anchors.leftMargin: 0
anchors.bottomMargin: 0
spacing: parent.width*0.04
Repeater {
model: [
["A", "Z", "E", "R", "T", "Y", "U", "I", "O", "P"],
["Q", "S", "D", "F", "G", "H", "J", "K", "L"],
["Entrée", "W", "X", "C", "V", "B", "N", "M", "<"]
["", "W", "X", "C", "V", "B", "N", "M", "<"]
]
delegate: Row {
spacing: 5
spacing: parent.width*0.005
anchors.horizontalCenter: parent.horizontalCenter
Repeater {
......@@ -225,14 +220,55 @@ Window {
}
}
}
}
// Timer en bas à droite
// Timer à droite du mot MOTUS
}
Rectangle {
id: rectangle_combobox
x: 1299
y: 4
width: parent.width * 0.2
height: parent.height * 0.2
anchors.top: parent.top
anchors.right: parent.right
anchors.topMargin: height * 1.3
anchors.rightMargin: width * 0.6
color: "#323232"
radius: 10
border.color: "#ffffff"
border.width: 3
Text {
text: qsTr("Nombre de lettres / \n Number of letters")
font.pixelSize: 22
color: "white"
horizontalAlignment: Text.AlignHCenter
anchors.horizontalCenter: parent.horizontalCenter
}
NumberLetterButton {
y: 49
width: parent.width
height: parent.height *0.5
anchors.horizontalCenter: parent.horizontalCenter
anchors.bottom: parent.bottom
anchors.bottomMargin: 16
anchors.left: parent.left
}
}
MotusTimer {
id: motusTimer
anchors.top: parent.top
anchors.right: parent.right
anchors.bottom: parent.bottom
anchors.margins: 10
anchors.topMargin: parent.height * 0.07
anchors.rightMargin: parent.width * 0.25
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment