Added Singles bets
This commit is contained in:
parent
0787bccdb8
commit
aeaaa419fd
4 changed files with 46 additions and 1 deletions
|
@ -41,6 +41,7 @@ qt_add_qml_module(roulette-payout
|
|||
StreetBetsView.qml
|
||||
Columns.qml
|
||||
Dozens.qml
|
||||
Singles.qml
|
||||
|
||||
)
|
||||
|
||||
|
|
|
@ -27,6 +27,9 @@ Item {
|
|||
|
||||
Dozens {
|
||||
}
|
||||
|
||||
Singles{
|
||||
}
|
||||
}
|
||||
|
||||
function destroyOnClose(obj) {
|
||||
|
|
41
Singles.qml
Normal file
41
Singles.qml
Normal file
|
@ -0,0 +1,41 @@
|
|||
import QtQuick
|
||||
import QtQuick.Layouts
|
||||
|
||||
import roulette
|
||||
|
||||
Item {
|
||||
GridLayout {
|
||||
LayoutMirroring.enabled: true
|
||||
flow: GridLayout.TopToBottom
|
||||
rows: 3
|
||||
rotation: 180
|
||||
|
||||
anchors {
|
||||
right: parent.right
|
||||
rightMargin: 90
|
||||
top: parent.top
|
||||
topMargin: 68
|
||||
}
|
||||
|
||||
rowSpacing: 0
|
||||
columnSpacing: 1.8
|
||||
|
||||
Repeater {
|
||||
model: 36
|
||||
|
||||
Item {
|
||||
height: 45
|
||||
width: 35
|
||||
|
||||
BetButton {
|
||||
index_: index
|
||||
betType: 9
|
||||
height: parent.height
|
||||
width: parent.width
|
||||
offsetX: 110
|
||||
offsetY: 110
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue