Merge linuxero

This commit is contained in:
2025-02-26 09:23:28 +01:00
8 changed files with 153 additions and 4 deletions

View File

@@ -231,6 +231,25 @@ GridLayout
}
}
Component
{
id: highlight
Rectangle
{
width: 230; height: 15
color: "lightsteelblue"; radius: 5
y: contactView.currentItem.y
Behavior on y
{
SpringAnimation
{
spring: 3
damping: 0.2
}
}
}
}
Rectangle
{
id: mainRect
@@ -242,6 +261,7 @@ GridLayout
ListView
{
id: contactView
implicitHeight: parent.height
implicitWidth: parent.width
model: contactModel
@@ -249,10 +269,13 @@ GridLayout
highlight: Rectangle { color: "grey"}
highlightFollowsCurrentItem: false
onActiveFocusChanged: if(!focus) currentIndex = -1
delegate: Item
{
width: contactView.width
height: 15
MouseArea
{
@@ -264,6 +287,7 @@ GridLayout
}
}
Row
{
//spacing: 9
@@ -297,6 +321,8 @@ GridLayout
}
}
}
}
}
}