2024-06-01 01:14:46 +01:00
|
|
|
import QtQuick
|
2024-06-01 14:46:10 +01:00
|
|
|
import QtQuick.Layouts
|
2024-06-01 01:14:46 +01:00
|
|
|
|
|
|
|
import roulette
|
|
|
|
|
2024-06-02 21:13:43 +01:00
|
|
|
/*
|
|
|
|
* The very important id 'rouletteTable'
|
|
|
|
* comes from Roulette.qml
|
|
|
|
*/
|
2024-06-01 01:14:46 +01:00
|
|
|
Item {
|
|
|
|
|
2024-06-01 14:46:10 +01:00
|
|
|
RowLayout {
|
2024-06-02 09:34:59 +01:00
|
|
|
|
2024-06-01 14:46:10 +01:00
|
|
|
anchors {
|
|
|
|
left: parent.left
|
|
|
|
leftMargin: 90
|
|
|
|
top: parent.top
|
|
|
|
topMargin: 22
|
|
|
|
}
|
2024-06-01 01:14:46 +01:00
|
|
|
|
2024-06-01 14:46:10 +01:00
|
|
|
spacing: 1.8
|
2024-06-01 01:14:46 +01:00
|
|
|
|
2024-06-01 14:46:10 +01:00
|
|
|
Repeater {
|
|
|
|
model: 12
|
2024-06-01 01:14:46 +01:00
|
|
|
|
2024-06-04 22:14:26 +01:00
|
|
|
/*
|
|
|
|
* This item needs to be here because BetButton can't inherit
|
|
|
|
* "index" from Repeater even though it is just a QItem itself
|
|
|
|
*/
|
2024-06-02 09:34:59 +01:00
|
|
|
Item {
|
2024-06-01 14:46:10 +01:00
|
|
|
height: 45
|
|
|
|
width: 35
|
|
|
|
|
2024-06-04 22:14:26 +01:00
|
|
|
BetButton {
|
|
|
|
index_: index
|
|
|
|
betType: 8
|
2024-06-02 09:34:59 +01:00
|
|
|
height: parent.height
|
|
|
|
width: parent.width
|
2024-06-04 22:14:26 +01:00
|
|
|
offsetX: 110
|
|
|
|
offsetY: 58
|
2024-06-02 21:13:43 +01:00
|
|
|
}
|
2024-06-02 09:34:59 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-06-01 01:14:46 +01:00
|
|
|
}
|