2012-07-19 20:54:24 +02:00
|
|
|
Panel
|
|
|
|
|
|
|
|
MarketTabBar
|
|
|
|
id: leftTabBar
|
|
|
|
width: 107
|
|
|
|
height:25
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.left: parent.left
|
|
|
|
|
|
|
|
Panel
|
|
|
|
id: leftTabContent
|
|
|
|
width: 180
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
anchors.left: prev.left
|
|
|
|
anchors.bottom: parent.bottom
|
|
|
|
border-width: 1
|
|
|
|
border-color: #000000
|
|
|
|
|
2014-02-06 14:04:22 +01:00
|
|
|
MarketRightTabBar
|
2012-07-19 20:54:24 +02:00
|
|
|
id: rightTabBar
|
2012-07-27 05:53:42 +02:00
|
|
|
width: 166
|
2012-07-19 20:54:24 +02:00
|
|
|
height:25
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.right: parent.right
|
|
|
|
|
|
|
|
Panel
|
|
|
|
id: rightTabContent
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
anchors.left: leftTabContent.right
|
|
|
|
anchors.right: prev.right
|
|
|
|
anchors.bottom: parent.bottom
|
|
|
|
margin-left:3
|
|
|
|
border-width: 1
|
|
|
|
border-color: #000000
|
|
|
|
|
2012-07-20 20:20:06 +02:00
|
|
|
UIItem
|
2012-07-19 20:54:24 +02:00
|
|
|
id: selectedItem
|
|
|
|
phantom: true
|
2012-07-20 20:20:06 +02:00
|
|
|
size: 34 34
|
|
|
|
padding: 1
|
|
|
|
font: verdana-11px-rounded
|
|
|
|
border-color: white
|
2012-07-19 20:54:24 +02:00
|
|
|
anchors.top: rightTabBar.bottom
|
|
|
|
anchors.left: rightTabContent.left
|
2012-07-20 20:20:06 +02:00
|
|
|
margin-top: 6
|
|
|
|
margin-left: 6
|
2012-07-19 20:54:24 +02:00
|
|
|
|
|
|
|
Label
|
|
|
|
id: nameLabel
|
|
|
|
!text: tr('No item selected.')
|
2012-07-27 05:53:42 +02:00
|
|
|
font: verdana-11px-rounded
|
|
|
|
text-offset: 0 2
|
2012-07-19 20:54:24 +02:00
|
|
|
anchors.top: prev.top
|
|
|
|
anchors.left: prev.right
|
2012-07-20 20:20:06 +02:00
|
|
|
anchors.right: parent.right
|
2012-07-19 20:54:24 +02:00
|
|
|
margin-left: 5
|
2012-07-27 05:53:42 +02:00
|
|
|
|
|
|
|
Label
|
|
|
|
id: createLabel
|
|
|
|
!text: tr('Create New Offer')
|
|
|
|
font: verdana-11px-rounded
|
|
|
|
text-offset: 0 2
|
|
|
|
anchors.top: rightTabBar.top
|
|
|
|
anchors.left: rightTabContent.left
|
|
|
|
margin-top: 355
|
|
|
|
margin-left: 6
|
|
|
|
|
|
|
|
Label
|
|
|
|
id: offerTypeLabel
|
2013-01-24 12:33:44 +01:00
|
|
|
!text: tr('Offer Type') .. ':'
|
2012-07-27 05:53:42 +02:00
|
|
|
font: verdana-11px-rounded
|
|
|
|
text-offset: 0 2
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
anchors.left: prev.left
|
|
|
|
margin-top: 7
|
|
|
|
|
|
|
|
MarketComboBox
|
|
|
|
id: offerTypeComboBox
|
|
|
|
!text: tr('Please Select')
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
anchors.left: createLabel.left
|
|
|
|
margin-top: 3
|
|
|
|
width: 105
|
|
|
|
|
|
|
|
$disabled:
|
|
|
|
color: #aaaaaa44
|
|
|
|
|
|
|
|
Label
|
|
|
|
id: totalPriceLabel
|
2013-01-24 12:33:44 +01:00
|
|
|
!text: tr('Total Price') .. ':'
|
2012-07-27 05:53:42 +02:00
|
|
|
font: verdana-11px-rounded
|
|
|
|
text-offset: 0 2
|
|
|
|
anchors.top: offerTypeLabel.top
|
|
|
|
anchors.left: prev.right
|
|
|
|
margin-left: 7
|
|
|
|
|
|
|
|
SpinBox
|
|
|
|
id: totalPriceEdit
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
anchors.left: prev.left
|
|
|
|
margin-top: 3
|
|
|
|
width: 75
|
|
|
|
minimum: 1
|
2012-07-29 16:05:32 +02:00
|
|
|
maximum: 999999999
|
2013-02-19 11:19:18 +01:00
|
|
|
focusable: true
|
2012-07-27 05:53:42 +02:00
|
|
|
|
|
|
|
$disabled:
|
|
|
|
color: #aaaaaa44
|
|
|
|
|
|
|
|
Label
|
|
|
|
id: piecePriceLabel
|
2013-01-24 12:33:44 +01:00
|
|
|
!text: tr('Piece Price') .. ':'
|
2012-07-27 05:53:42 +02:00
|
|
|
font: verdana-11px-rounded
|
|
|
|
text-offset: 0 2
|
|
|
|
anchors.top: offerTypeLabel.top
|
|
|
|
anchors.left: prev.right
|
|
|
|
margin-left: 7
|
|
|
|
|
|
|
|
SpinBox
|
|
|
|
id: piecePriceEdit
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
anchors.left: prev.left
|
|
|
|
margin-top: 3
|
|
|
|
width: 75
|
|
|
|
minimum: 1
|
2012-07-29 16:05:32 +02:00
|
|
|
maximum: 999999999
|
2013-02-19 11:19:18 +01:00
|
|
|
focusable: true
|
2012-07-27 05:53:42 +02:00
|
|
|
|
|
|
|
$disabled:
|
|
|
|
color: #aaaaaa44
|
|
|
|
|
|
|
|
Label
|
|
|
|
id: amountLabel
|
2013-01-24 12:33:44 +01:00
|
|
|
!text: tr('Amount') .. ':'
|
2012-07-27 05:53:42 +02:00
|
|
|
font: verdana-11px-rounded
|
|
|
|
text-offset: 0 2
|
|
|
|
anchors.top: offerTypeLabel.top
|
|
|
|
anchors.left: prev.right
|
|
|
|
margin-left: 32
|
|
|
|
|
|
|
|
PreviousButton
|
|
|
|
id: prevAmountButton
|
|
|
|
anchors.verticalCenter: piecePriceEdit.verticalCenter
|
|
|
|
anchors.left: piecePriceEdit.right
|
|
|
|
margin-left: 7
|
|
|
|
@onClick: Market.decrementAmount()
|
|
|
|
|
|
|
|
SpinBox
|
|
|
|
id: amountEdit
|
|
|
|
anchors.verticalCenter: prev.verticalCenter
|
|
|
|
anchors.left: prev.right
|
|
|
|
margin-left: 3
|
|
|
|
width: 55
|
2012-08-28 15:40:04 +02:00
|
|
|
buttons: false
|
2012-07-27 05:53:42 +02:00
|
|
|
minimum: 1
|
2012-07-29 16:05:32 +02:00
|
|
|
maximum: 64000
|
2013-02-19 11:19:18 +01:00
|
|
|
focusable: true
|
2012-07-27 05:53:42 +02:00
|
|
|
|
|
|
|
NextButton
|
|
|
|
id: nextAmountButton
|
|
|
|
anchors.verticalCenter: piecePriceEdit.verticalCenter
|
|
|
|
anchors.left: prev.right
|
|
|
|
margin-left: 3
|
|
|
|
@onClick: Market.incrementAmount()
|
|
|
|
|
|
|
|
Button
|
|
|
|
id: createOfferButton
|
|
|
|
!text: tr('Create Offer')
|
|
|
|
anchors.verticalCenter: prev.verticalCenter
|
|
|
|
anchors.left: prev.right
|
|
|
|
margin-left: 7
|
|
|
|
width: 90
|
|
|
|
|
|
|
|
CheckBox
|
|
|
|
id: anonymousCheckBox
|
|
|
|
!text: tr('Anonymous')
|
|
|
|
anchors.left: prev.left
|
|
|
|
anchors.bottom: prev.top
|
|
|
|
margin-bottom: 6
|
|
|
|
@onSetup: self:setChecked(false)
|
|
|
|
height: 16
|
2013-02-12 17:14:16 +01:00
|
|
|
width: 90
|
2012-07-27 05:53:42 +02:00
|
|
|
|
|
|
|
Label
|
|
|
|
id: feeLabel
|
|
|
|
font: verdana-11px-rounded
|
|
|
|
text-offset: 0 2
|
|
|
|
anchors.top: createOfferButton.bottom
|
|
|
|
anchors.right: parent.right
|
|
|
|
margin-right: 8
|
|
|
|
margin-top: 3
|