diff --git a/CMakeLists.txt b/CMakeLists.txt index 9d9c11b..81dcefd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,6 +40,7 @@ qt_add_qml_module(roulette-payout Roulette.qml StreetBetsView.qml Columns.qml + Dozens.qml ) diff --git a/Dozens.qml b/Dozens.qml new file mode 100644 index 0000000..c338ef1 --- /dev/null +++ b/Dozens.qml @@ -0,0 +1,36 @@ +import QtQuick +import QtQuick.Layouts + +import roulette + +Item { + RowLayout { + + anchors { + left: parent.left + leftMargin: 90 + top: parent.top + topMargin: 204 + } + + spacing: 2 + + Repeater { + model: 3 + + Item { + height: 26 + width: 145 + + BetButton { + index_: index + betType: 7 + height: parent.height + width: parent.width + offsetX: 110 + offsetY: 110 + } + } + } + } +} diff --git a/Roulette.qml b/Roulette.qml index a9d4d7a..318699a 100644 --- a/Roulette.qml +++ b/Roulette.qml @@ -20,11 +20,13 @@ Item { } StreetBetsView { - id: streetBets } Columns { } + + Dozens { + } } function destroyOnClose(obj) {