MainWindow id: buyWindow size: 200 220 text: MARKET draggable: false focusable: true @onEscape: modules.game_centralbox.onCloseInsertItem() Label id: buyInfo size: 165 95 anchors.top: parent.top anchors.left: parent.left margin-left: 10 HorizontalScrollBar id: countScrollBar anchors.top: buyInfo.bottom anchors.left: parent.left anchors.right: parent.right margin-left: 05 margin-right: 05 focusable: false Label id: txtLabel size: 165 22 text-align: center !text: tr('Confirmar compra?') anchors.top: countScrollBar.bottom anchors.left: parent.left margin-top: 10 margin-left: -02 Button id: confirmBuy !text: tr('Comprar') text-align: center size: 80 24 anchors.top: txtLabel.bottom anchors.left: parent.left margin-top: 05 @onClick: modules.game_centralbox.onCloseInsertItem() Button id: exit !text: tr('Cancelar') text-align: center size: 80 24 anchors.top: txtLabel.bottom anchors.left: confirmBuy.right margin-left: 10 margin-top: 05 @onClick: modules.game_centralbox.onCloseInsertItem()