set properties from listView

This commit is contained in:
Anika Raemer 2021-03-13 16:38:12 +01:00
parent f2fd2e880a
commit 693078b892
3 changed files with 14 additions and 10 deletions

View file

@ -37,12 +37,14 @@ Item {
model: navigationList.pModelItems
spacing: 20
orientation: ListView.Horizontal
delegate:
NavigationListDelegate{
delegate: NavigationListDelegate{
id: delegate
property var delegateModel: navigationList.pModelItems[index]
height: parent.height
width: height
model: navigationList.pModelItems[index]
isCircleDelegate: delegateModel.pIsCircleDelegate
imageSource: delegateModel.pImageSource
onClicked: delegateModel.onClicked();
} // NavigationListDelegate
} // ListView
} // Rectangle: List background