Code style
This commit is contained in:
@@ -7,6 +7,7 @@ Item
|
||||
{
|
||||
id: searchBar
|
||||
height: 30
|
||||
|
||||
TextField
|
||||
{
|
||||
id: searchField
|
||||
@@ -15,7 +16,6 @@ Item
|
||||
rightPadding: 3
|
||||
width: 300
|
||||
|
||||
|
||||
Button
|
||||
{
|
||||
icon.source: "../images/search.svg"
|
||||
@@ -23,9 +23,9 @@ Item
|
||||
anchors.right: parent.right
|
||||
height: parent.height
|
||||
flat: true
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Button
|
||||
{
|
||||
id: filterBtn
|
||||
@@ -38,6 +38,7 @@ Item
|
||||
|
||||
|
||||
}
|
||||
|
||||
Popup
|
||||
{
|
||||
id: filterPopup
|
||||
@@ -50,7 +51,6 @@ Item
|
||||
closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutsideParent
|
||||
contentItem: Item
|
||||
{
|
||||
|
||||
ColumnLayout
|
||||
{
|
||||
anchors.fill: parent
|
||||
@@ -59,6 +59,7 @@ Item
|
||||
Repeater
|
||||
{
|
||||
model: availableFilters
|
||||
|
||||
CheckBox
|
||||
{
|
||||
text: model.modelData
|
||||
@@ -72,13 +73,11 @@ Item
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function setFilter(filter,activated)
|
||||
{
|
||||
console.log(filter)
|
||||
console.log(activated)
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user