black.otui

main 65 lines · 1.5 KB Raw
Alex Alex Commit Client Upload Part 2 19/10/2026 00:06
1MainWindow
2 id: blackMarketWindow
3 text: Pedido ID: 00
4 font: sans-bold-16px
5 size: 280 200
6 active: true
7 focusable: true
8 @onEscape: closer()
9
10 Label
11 id: blackLabel
12 text: tr('Nao adicione numeros fracionados. Somente numeros inteiros. O valor adicionado aqui substituira o valor ja existente.')
13 text-wrap: true
14 height: 30
15 text-align: center
16 anchors.top: parent.top
17 anchors.left: parent.left
18 anchors.right: parent.right
19 margin-top: 05
20
21 TextEdit
22 id: blackValue
23 text-wrap: true
24 anchors.top: blackLabel.bottom
25 anchors.left: parent.left
26 anchors.right: parent.right
27 margin-top: 8
28 margin-bottom: 8
29
30 UIButton
31 image-source: /images/custom/UI/EXP
32 anchors.top: blackValue.bottom
33 anchors.left: parent.left
34 anchors.right: parent.right
35 anchors.bottom: parent.bottom
36 margin-top: 8
37 margin-bottom: 30
38
39 Label
40 id: estimativaText
41 text: "Estimativa:\nR$ 0 | 0"
42 text-wrap: true
43 height: 35
44 text-align: center
45 anchors.top: parent.top
46 anchors.left: parent.left
47 anchors.right: parent.right
48 margin-top: 05
49
50 Button
51 id: changeBlackButton
52 !text: tr('Atualizar')
53 anchors.bottom: cancelBlackButton.bottom
54 anchors.right: cancelBlackButton.left
55 margin-right: 10
56 width: 80
57 @onClick: onBlackMarket(01)
58
59 Button
60 id: cancelBlackButton
61 !text: tr('Cancelar')
62 anchors.bottom: parent.bottom
63 anchors.right: parent.right
64 width: 80
65 @onClick: self:getParent():hide()
Top