set properties from listView
This commit is contained in:
parent
f2fd2e880a
commit
693078b892
3 changed files with 14 additions and 10 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue