notice.otui

main 564 lines · 13.1 KB Raw
Alex Alex Commit Client Upload Part 2 19/10/2026 00:06
1MainWindow
2 id: noticeWindow
3 size: 800 500
4 draggable: true
5 focusable: true
6 @onEscape: closer()
7
8 UIButton
9 id: lastNoticeButton
10 !text: tr('Ultimas Noticias do Servidor')
11 image-source: /images/custom/Task/Monster_3
12 size: 450 25
13 anchors.top: parent.top
14 anchors.left: parent.left
15 margin-left: 05
16 margin-top: 05
17 opacity: 0.8
18 $pressed:
19 opacity: 0.6
20 $hover !pressed:
21 opacity: 1.0
22 @onClick: onNoticeConfig(01)
23
24 UIButton
25 id: mensagemBoxButton
26 !text: tr('Caixa de Mensagens')
27 image-source: /images/custom/Task/Monster_3
28 size: 280 25
29 anchors.top: parent.top
30 anchors.left: lastNoticeButton.right
31 margin-left: 10
32 margin-top: 05
33 opacity: 0.8
34 $pressed:
35 opacity: 0.6
36 $hover !pressed:
37 opacity: 1.0
38 @onClick: onNoticeConfig(02)
39
40 UILabel
41 id: loadPanel
42 anchors.top: lastNoticeButton.bottom
43 anchors.bottom: parent.bottom
44 anchors.left: parent.left
45 anchors.right: parent.right
46 margin-top: 10
47 margin-left: 05
48 margin-right: 05
49 margin-bottom: 05
50
51 UIButton
52 size: 92 92
53 image-source: /images/custom/UI/loading
54 anchors.top: parent.top
55 anchors.left: parent.left
56 margin-top: 150
57 margin-left: 340
58
59 UILabel
60 id: noticeWindow
61 anchors.top: lastNoticeButton.bottom
62 anchors.bottom: parent.bottom
63 anchors.left: parent.left
64 anchors.right: parent.right
65 margin-top: 10
66 margin-left: 05
67 margin-right: 05
68 margin-bottom: 05
69
70 VerticalScrollBar
71 id: noticeScrollBar
72 anchors.top: parent.top
73 anchors.bottom: parent.bottom
74 anchors.left: parent.left
75 margin-bottom: 50
76 margin-left: 438
77 step: 24
78 pixels-scroll: true
79
80 TextEdit
81 id: noticeLabel
82 size: 435 10
83 font: verdana-11px-monochrome
84 text-wrap: true
85 multiline: true
86 color: white
87 image-source: /images/custom/UI/0
88 anchors.top: parent.top
89 anchors.bottom: parent.bottom
90 anchors.left: parent.left
91 margin-top: 02
92 margin-bottom: 50
93 vertical-scrollbar: noticeScrollBar
94
95 UIButton
96 size: 760 2
97 image-source: /images/custom/UI/s
98 anchors.top: noticeLabel.bottom
99 anchors.left: parent.left
100 margin-top: 08
101
102 UIButton
103 id: exitButton
104 !text: tr('Fechar')
105 size: 150 25
106 image-source: /images/custom/Task/Monster_5
107 anchors.top: noticeLabel.bottom
108 anchors.left: parent.left
109 margin-top: 15
110 opacity: 0.8
111 $pressed:
112 opacity: 0.6
113 $hover !pressed:
114 opacity: 1.0
115 @onClick: closer()
116
117 UIButton
118 id: enviarTicket
119 !text: tr('Abrir Ticket')
120 !tooltip: tr('Reporte bugs, envie sugestoes e tire suas duvidas.')
121 size: 260 22
122 image-source: /images/custom/Task/Monster_2
123 anchors.top: noticeLabel.bottom
124 anchors.left: exitButton.right
125 margin-left: 10
126 margin-top: 15
127 opacity: 0.8
128 $pressed:
129 opacity: 0.6
130 $hover !pressed:
131 opacity: 1.0
132 @onClick: onNoticeConfig(09)
133
134 VerticalScrollBar
135 id: noticeItemScrollBar
136 anchors.top: parent.top
137 anchors.bottom: parent.bottom
138 anchors.right: parent.right
139 step: 24
140 margin-bottom: 50
141 margin-top: 02
142 pixels-scroll: true
143
144 ScrollablePanel
145 id: noticeItemPanel
146 size: 285 10
147 anchors.right: prev.left
148 anchors.top: parent.top
149 anchors.bottom: parent.bottom
150 vertical-scrollbar: noticeItemScrollBar
151 margin-top: 02
152 margin-right: 02
153 margin-bottom: 50
154 layout:
155 type: grid
156 cell-size: 280 100
157 flow: true
158 auto-spacing: true
159
160 UILabel
161 id: messageWindow
162 anchors.top: lastNoticeButton.bottom
163 anchors.bottom: parent.bottom
164 anchors.left: parent.left
165 anchors.right: parent.right
166 margin-top: 10
167 margin-left: 05
168 margin-right: 05
169 margin-bottom: 05
170
171 UILabel
172 id: mainMessage
173 size: 450 100
174 image-source: /images/custom/UI/loot_0
175 font: verdana-11px-monochrome
176 text-wrap: true
177 multiline: true
178 color: white
179 anchors.top: parent.top
180 anchors.left: parent.left
181 margin-top: 02
182
183 UIButton
184 id: mainSeparador
185 size: 450 2
186 image-source: /images/custom/UI/s
187 anchors.top: mainMessage.bottom
188 anchors.left: parent.left
189 margin-top: 10
190
191 UIButton
192 id: mainBox_1
193 size: 42 50
194 image-source: /images/custom/UI/item_slot
195 icon-rect: 5 5 32 32
196 text-offset: 00 30
197 anchors.top: mainMessage.bottom
198 anchors.left: parent.left
199 margin-top: 20
200
201 UIButton
202 id: mainBox_2
203 size: 42 50
204 image-source: /images/custom/UI/item_slot
205 icon-rect: 5 5 32 32
206 text-offset: 00 30
207 anchors.top: mainMessage.bottom
208 anchors.left: mainBox_1.right
209 margin-top: 20
210 margin-left: 05
211
212 UIButton
213 id: mainBox_3
214 size: 42 50
215 image-source: /images/custom/UI/item_slot
216 icon-rect: 5 5 32 32
217 text-offset: 00 30
218 anchors.top: mainMessage.bottom
219 anchors.left: mainBox_2.right
220 margin-top: 20
221 margin-left: 05
222
223 UIButton
224 id: mainBox_4
225 size: 42 50
226 image-source: /images/custom/UI/item_slot
227 icon-rect: 5 5 32 32
228 text-offset: 00 30
229 anchors.top: mainMessage.bottom
230 anchors.left: mainBox_3.right
231 margin-top: 20
232 margin-left: 05
233
234 UIButton
235 id: mainAnexoButton
236 text: Receber Anexo
237 size: 250 50
238 image-source: /images/custom/Task/Monster_3
239 anchors.top: mainMessage.bottom
240 anchors.left: mainBox_4.right
241 margin-top: 20
242 margin-left: 10
243 opacity: 0.8
244 $pressed:
245 opacity: 0.6
246 $hover !pressed:
247 opacity: 1.0
248
249 UILabel
250 id: respostaMessage
251 size: 450 95
252 image-source: /images/custom/UI/loot_2
253 font: verdana-11px-monochrome
254 text-wrap: true
255 multiline: true
256 color: white
257 anchors.top: mainBox_1.bottom
258 anchors.left: parent.left
259 margin-top: 25
260
261 UIButton
262 id: respostaSeparador
263 size: 450 2
264 image-source: /images/custom/UI/s
265 anchors.top: respostaMessage.bottom
266 anchors.left: parent.left
267 margin-top: 10
268
269 UIButton
270 id: respostaBox_1
271 size: 42 50
272 image-source: /images/custom/UI/item_slot
273 icon-rect: 5 5 32 32
274 text-offset: 00 30
275 anchors.top: respostaMessage.bottom
276 anchors.left: parent.left
277 margin-top: 20
278
279 UIButton
280 id: respostaBox_2
281 size: 42 50
282 image-source: /images/custom/UI/item_slot
283 icon-rect: 5 5 32 32
284 text-offset: 00 30
285 anchors.top: respostaMessage.bottom
286 anchors.left: respostaBox_1.right
287 margin-top: 20
288 margin-left: 05
289
290 UIButton
291 id: respostaBox_3
292 size: 42 50
293 image-source: /images/custom/UI/item_slot
294 icon-rect: 5 5 32 32
295 text-offset: 00 30
296 anchors.top: respostaMessage.bottom
297 anchors.left: respostaBox_2.right
298 margin-top: 20
299 margin-left: 05
300
301 UIButton
302 id: respostaBox_4
303 size: 42 50
304 image-source: /images/custom/UI/item_slot
305 icon-rect: 5 5 32 32
306 text-offset: 00 30
307 anchors.top: respostaMessage.bottom
308 anchors.left: respostaBox_3.right
309 margin-top: 20
310 margin-left: 05
311
312 UIButton
313 size: 760 2
314 image-source: /images/custom/UI/s
315 anchors.top: respostaBox_1.bottom
316 anchors.left: parent.left
317 margin-top: 08
318
319 UIButton
320 id: exitButton
321 !text: tr('Fechar')
322 size: 150 25
323 image-source: /images/custom/Task/Monster_5
324 anchors.top: respostaBox_1.bottom
325 anchors.left: parent.left
326 margin-top: 15
327 opacity: 0.8
328 $pressed:
329 opacity: 0.6
330 $hover !pressed:
331 opacity: 1.0
332 @onClick: closer()
333
334 UIButton
335 id: escreverMessage
336 !text: tr('Escrever Mensagem')
337 size: 200 25
338 image-source: /images/custom/Task/Monster_3
339 anchors.top: respostaBox_1.bottom
340 anchors.left: exitButton.right
341 margin-left: 05
342 margin-top: 15
343 opacity: 0.8
344 $pressed:
345 opacity: 0.6
346 $hover !pressed:
347 opacity: 1.0
348 @onClick: onNoticeConfig(03)
349
350 UIButton
351 id: delMessage
352 !text: tr('Deletar Mensagem')
353 size: 200 25
354 image-source: /images/custom/Task/Monster_3
355 anchors.top: respostaBox_1.bottom
356 anchors.left: escreverMessage.right
357 margin-left: 05
358 margin-top: 15
359 opacity: 0.8
360 $pressed:
361 opacity: 0.6
362 $hover !pressed:
363 opacity: 1.0
364
365 VerticalScrollBar
366 id: messageItemScrollBar
367 anchors.top: parent.top
368 anchors.bottom: parent.bottom
369 anchors.right: parent.right
370 step: 24
371 margin-bottom: 50
372 margin-top: 02
373 pixels-scroll: true
374
375 ScrollablePanel
376 id: messageItemPanel
377 size: 285 10
378 anchors.right: prev.left
379 anchors.top: parent.top
380 anchors.bottom: parent.bottom
381 vertical-scrollbar: messageItemScrollBar
382 margin-top: 02
383 margin-right: 02
384 margin-bottom: 50
385 layout:
386 type: grid
387 cell-size: 280 50
388 flow: true
389 auto-spacing: true
390
391 UIButton
392 id: sendMessageWindow
393 size: 10 250
394 image-source: /images/custom/UI/black_Panel
395 anchors.top: lastNoticeButton.bottom
396 anchors.left: parent.left
397 anchors.right: parent.right
398 opacity: 0.7
399 focusable: true
400 margin-left: -15
401 margin-right: -15
402 margin-top: 70
403
404 Label
405 id: typeLabel
406 !text: tr('Tipo de Mensagem')
407 size: 280 18
408 anchors.top: parent.top
409 anchors.left: parent.left
410 margin-left: 80
411 margin-top: 10
412
413 ComboBox
414 id: typeCombo
415 size: 280 22
416 anchors.top: typeLabel.bottom
417 anchors.left: parent.left
418 margin-left: 80
419 margin-top: 02
420 @onSetup: |
421 self:addOption(tr("Reportar um bug"), "01")
422 self:addOption(tr("Enviar Sugestao"), "02")
423 self:addOption(tr("Tirar Duvidas"), "03")
424
425 Label
426 id: playerLabel
427 !text: tr('Mensagem para:')
428 size: 280 18
429 anchors.top: parent.top
430 anchors.left: typeLabel.right
431 margin-left: 45
432 margin-top: 10
433
434 TextEdit
435 id: destinatarioLabel
436 size: 280 22
437 text-wrap: false
438 anchors.top: playerLabel.bottom
439 anchors.left: typeLabel.right
440 margin-left: 45
441 margin-top: 02
442
443 Label
444 id: titleLabel
445 !text: tr('Titulo:')
446 size: 280 18
447 anchors.top: typeCombo.bottom
448 anchors.left: parent.left
449 margin-left: 80
450 margin-top: 10
451
452 TextEdit
453 id: titleText
454 size: 610 22
455 text-wrap: false
456 anchors.top: titleLabel.bottom
457 anchors.left: parent.left
458 margin-left: 80
459 margin-top: 02
460
461 MultilineTextEdit
462 id: messageText
463 size: 610 55
464 text-wrap: true
465 anchors.top: titleText.bottom
466 anchors.left: parent.left
467 margin-left: 80
468 margin-top: 05
469
470 UIButton
471 id: box_1
472 size: 42 50
473 image-source: /images/custom/UI/item_slot
474 icon-rect: 5 5 32 32
475 text-offset: 00 30
476 anchors.top: messageText.bottom
477 anchors.left: parent.left
478 margin-left: 80
479 margin-top: 10
480
481 UIButton
482 id: box_2
483 size: 42 50
484 image-source: /images/custom/UI/item_slot
485 icon-rect: 5 5 32 32
486 text-offset: 00 30
487 anchors.top: messageText.bottom
488 anchors.left: box_1.right
489 margin-left: 05
490 margin-top: 10
491
492 UIButton
493 id: box_3
494 size: 42 50
495 image-source: /images/custom/UI/item_slot
496 icon-rect: 5 5 32 32
497 text-offset: 00 30
498 anchors.top: messageText.bottom
499 anchors.left: box_2.right
500 margin-left: 05
501 margin-top: 10
502
503 UIButton
504 id: box_4
505 size: 42 50
506 image-source: /images/custom/UI/item_slot
507 icon-rect: 5 5 32 32
508 text-offset: 00 30
509 anchors.top: messageText.bottom
510 anchors.left: box_3.right
511 margin-left: 05
512 margin-top: 10
513
514 TextEdit
515 id: goldText
516 size: 150 22
517 text-wrap: false
518 anchors.top: messageText.bottom
519 anchors.left: box_4.right
520 margin-left: 10
521 margin-top: 10
522 visible: false
523
524 TextEdit
525 id: vipText
526 size: 150 22
527 text-wrap: false
528 anchors.top: goldText.bottom
529 anchors.left: box_4.right
530 margin-left: 10
531 margin-top: 05
532 visible: false
533
534 UIButton
535 id: enviarMessage
536 !text: tr('Enviar Mensagem')
537 size: 260 22
538 image-source: /images/custom/Task/Monster_3
539 anchors.top: messageText.bottom
540 anchors.left: goldText.right
541 margin-left: 10
542 margin-top: 10
543 opacity: 0.8
544 $pressed:
545 opacity: 0.6
546 $hover !pressed:
547 opacity: 1.0
548 @onClick: onNoticeConfig(04)
549
550 UIButton
551 id: cancelMessage
552 !text: tr('Cancelar')
553 size: 260 22
554 image-source: /images/custom/Task/Monster_5
555 anchors.top: enviarMessage.bottom
556 anchors.left: vipText.right
557 margin-left: 10
558 margin-top: 05
559 opacity: 0.8
560 $pressed:
561 opacity: 0.6
562 $hover !pressed:
563 opacity: 1.0
564 @onClick: onNoticeConfig(99)
Top