2012-07-17 16:36:27 +02:00
|
|
|
MarketWindow < MainWindow
|
|
|
|
id: marketWindow
|
|
|
|
!text: tr('Market')
|
2012-08-15 13:56:29 +02:00
|
|
|
size: 700 530
|
2012-07-17 16:36:27 +02:00
|
|
|
|
2012-08-15 06:58:56 +02:00
|
|
|
@onEscape: Market.close(true)
|
2012-07-19 20:54:24 +02:00
|
|
|
|
|
|
|
// Main Panel Window
|
2012-07-17 16:36:27 +02:00
|
|
|
|
2012-07-19 20:54:24 +02:00
|
|
|
MarketTabBar
|
|
|
|
id: mainTabBar
|
|
|
|
width: 164
|
|
|
|
height: 25
|
|
|
|
anchors.top: parent.top
|
2012-07-17 16:36:27 +02:00
|
|
|
anchors.left: parent.left
|
|
|
|
|
2012-07-19 20:54:24 +02:00
|
|
|
Panel
|
|
|
|
id: mainTabContent
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: parent.right
|
2012-07-17 16:36:27 +02:00
|
|
|
anchors.bottom: parent.bottom
|
2012-07-19 20:54:24 +02:00
|
|
|
padding: 3
|
|
|
|
border-width: 1
|
|
|
|
border-color: #000000
|
2012-08-15 13:56:29 +02:00
|
|
|
margin-bottom: 20
|
2012-07-27 05:53:42 +02:00
|
|
|
|
|
|
|
Label
|
|
|
|
id: balanceLabel
|
2012-07-31 03:34:55 +02:00
|
|
|
!text: tr('Balance:')
|
2012-07-27 05:53:42 +02:00
|
|
|
font: verdana-11px-rounded
|
|
|
|
text-offset: 0 2
|
|
|
|
anchors.top: parent.top
|
2012-08-15 13:56:29 +02:00
|
|
|
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')
|
|
|
|
anchors.top: mainTabContent.bottom
|
|
|
|
anchors.left: mainTabContent.left
|
|
|
|
margin-top: 5
|
|
|
|
width: 110
|
|
|
|
@onClick: Market.reset()
|