roulette-payout/StreetBetsView.qml

46 lines
906 B
QML
Raw Permalink Normal View History

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
/*
* 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-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
/*
* This item needs to be here because BetButton can't inherit
* "index" from Repeater even though it is just a QItem itself
*/
Item {
2024-06-01 14:46:10 +01:00
height: 45
width: 35
BetButton {
index_: index
betType: 8
height: parent.height
width: parent.width
offsetX: 110
offsetY: 58
}
}
}
}
2024-06-01 01:14:46 +01:00
}