1MainWindow
2 id: buyWindow
3 size: 200 220
4 text: MARKET
5 draggable: false
6 focusable: true
7 @onEscape: modules.game_centralbox.onCloseInsertItem()
8
9 Label
10 id: buyInfo
11 size: 165 95
12 anchors.top: parent.top
13 anchors.left: parent.left
14 margin-left: 10
15
16 HorizontalScrollBar
17 id: countScrollBar
18 anchors.top: buyInfo.bottom
19 anchors.left: parent.left
20 anchors.right: parent.right
21 margin-left: 05
22 margin-right: 05
23 focusable: false
24
25 Label
26 id: txtLabel
27 size: 165 22
28 text-align: center
29 !text: tr('Confirmar compra?')
30 anchors.top: countScrollBar.bottom
31 anchors.left: parent.left
32 margin-top: 10
33 margin-left: -02
34
35 Button
36 id: confirmBuy
37 !text: tr('Comprar')
38 text-align: center
39 size: 80 24
40 anchors.top: txtLabel.bottom
41 anchors.left: parent.left
42 margin-top: 05
43 @onClick: modules.game_centralbox.onCloseInsertItem()
44
45 Button
46 id: exit
47 !text: tr('Cancelar')
48 text-align: center
49 size: 80 24
50 anchors.top: txtLabel.bottom
51 anchors.left: confirmBuy.right
52 margin-left: 10
53 margin-top: 05
54 @onClick: modules.game_centralbox.onCloseInsertItem()