mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-10-20 06:33:26 +02:00
Version 0.95 BETA
This commit is contained in:
62
modules/game_market/market.otui
Normal file
62
modules/game_market/market.otui
Normal file
@@ -0,0 +1,62 @@
|
||||
MarketWindow < MainWindow
|
||||
id: marketWindow
|
||||
!text: tr('Market')
|
||||
size: 700 530
|
||||
|
||||
@onEscape: Market.close()
|
||||
|
||||
// Main Panel Window
|
||||
|
||||
MarketTabBar
|
||||
id: mainTabBar
|
||||
width: 164
|
||||
height: 25
|
||||
anchors.top: parent.top
|
||||
anchors.left: parent.left
|
||||
|
||||
Panel
|
||||
id: mainTabContent
|
||||
anchors.top: prev.bottom
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.bottom: parent.bottom
|
||||
padding: 3
|
||||
border-width: 1
|
||||
border-color: #000000
|
||||
margin-bottom: 20
|
||||
|
||||
Label
|
||||
id: balanceLabel
|
||||
!text: tr('Balance') .. ':'
|
||||
font: verdana-11px-rounded
|
||||
text-offset: 0 2
|
||||
anchors.top: parent.top
|
||||
anchors.right: parent.right
|
||||
|
||||
Button
|
||||
id: closeButton
|
||||
!text: tr('Close')
|
||||
anchors.top: mainTabContent.bottom
|
||||
anchors.horizontalCenter: mainTabContent.horizontalCenter
|
||||
margin-top: 5
|
||||
width: 110
|
||||
@onClick: Market.close()
|
||||
|
||||
Button
|
||||
id: refreshOffersButton
|
||||
!text: tr('Refresh Offers')
|
||||
anchors.top: mainTabContent.bottom
|
||||
anchors.right: mainTabContent.right
|
||||
margin-top: 5
|
||||
width: 110
|
||||
@onClick: Market.refreshOffers()
|
||||
|
||||
Button
|
||||
id: resetButton
|
||||
!text: tr('Reset Market')
|
||||
!tooltip: tr('Reset selection, filters & search')
|
||||
anchors.top: mainTabContent.bottom
|
||||
anchors.left: mainTabContent.left
|
||||
margin-top: 5
|
||||
width: 110
|
||||
@onClick: Market.reset()
|
Reference in New Issue
Block a user