ItemDelegate for NavigationListDelegate
This commit is contained in:
parent
ef525a5ffb
commit
f2fd2e880a
4 changed files with 35 additions and 28 deletions
|
|
@ -1,5 +1,8 @@
|
|||
import QtQuick 2.0
|
||||
|
||||
/**
|
||||
* @brief Navigation view containing list view displaying artists or genres and albums
|
||||
*/
|
||||
Item {
|
||||
RoundButton{
|
||||
id: back
|
||||
|
|
@ -11,7 +14,7 @@ Item {
|
|||
visible: navigationList.pIsBackVisible
|
||||
|
||||
onClicked: navigationList.navigateBack();
|
||||
}
|
||||
} // RoundButton: navigate back
|
||||
|
||||
Rectangle{
|
||||
anchors.left: parent.left
|
||||
|
|
@ -38,8 +41,9 @@ Item {
|
|||
NavigationListDelegate{
|
||||
id: delegate
|
||||
height: parent.height
|
||||
width: height
|
||||
model: navigationList.pModelItems[index]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} // NavigationListDelegate
|
||||
} // ListView
|
||||
} // Rectangle: List background
|
||||
} // Item
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue