Code style

This commit is contained in:
2024-11-07 16:39:56 +01:00
parent 33782aa785
commit 29228cf65d
9 changed files with 214 additions and 217 deletions

View File

@@ -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)
}
}