mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 21:13:26 +02:00
Some more work on the Market.
* Added Finalizing TODO list for anyone that wants to work on some missing areas (I am busy with work so any help from the community will speed it up). * Added market item key word searching. * Removed the search tab in replace for overview tab that can be used for extended functionality later. * Few minor additions.
This commit is contained in:
@@ -77,7 +77,7 @@ Panel
|
||||
@onCheckChange: Market.updateCurrentItems()
|
||||
|
||||
MarketComboBox
|
||||
id: typeComboBox
|
||||
id: slotComboBox
|
||||
anchors.top: prev.top
|
||||
anchors.left: prev.right
|
||||
anchors.right: parent.right
|
||||
@@ -101,13 +101,14 @@ Panel
|
||||
@onCheckChange: Market.updateCurrentItems()
|
||||
|
||||
Panel
|
||||
id: itemsContainer
|
||||
anchors.top: prev.bottom
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.bottom: parent.bottom
|
||||
margin-top: 10
|
||||
margin-left: 3
|
||||
margin-bottom: 5
|
||||
margin-bottom: 30
|
||||
margin-right: 3
|
||||
|
||||
VerticalScrollBar
|
||||
@@ -129,4 +130,32 @@ Panel
|
||||
type: grid
|
||||
cell-size: 36 36
|
||||
flow: true
|
||||
auto-spacing: true
|
||||
auto-spacing: true
|
||||
|
||||
Label
|
||||
!text: tr('Find:')
|
||||
anchors.top: prev.bottom
|
||||
anchors.left: prev.left
|
||||
margin-top: 9
|
||||
width: 30
|
||||
font: verdana-11px-rounded
|
||||
text-offset: 0 2
|
||||
|
||||
TextEdit
|
||||
id: searchEdit
|
||||
anchors.verticalCenter: prev.verticalCenter
|
||||
anchors.left: prev.right
|
||||
margin-left: 3
|
||||
width: 113
|
||||
@onTextChange: Market.updateCurrentItems()
|
||||
|
||||
MarketButtonBox
|
||||
id: filterSearchAll
|
||||
checked: false
|
||||
!text: tr('All')
|
||||
!tooltip: tr('Search all items')
|
||||
anchors.verticalCenter: prev.verticalCenter
|
||||
anchors.left: prev.right
|
||||
anchors.right: itemsContainer.right
|
||||
margin-left: 3
|
||||
@onCheckChange: Market.updateCurrentItems()
|
||||
|
@@ -2,11 +2,15 @@ Panel
|
||||
background-color: #22283399
|
||||
margin: 1
|
||||
|
||||
TextEdit
|
||||
id: searchEdit
|
||||
Label
|
||||
!text: tr('Reserved for more functionality later.')
|
||||
anchors.top: parent.top
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
margin-top: 10
|
||||
margin-top: 6
|
||||
margin-left: 6
|
||||
margin-right: 6
|
||||
font: verdana-11px-rounded
|
||||
text-offset: 0 2
|
||||
height: 50
|
||||
text-wrap: true
|
Reference in New Issue
Block a user