ItemDelegate for NavigationListDelegate

This commit is contained in:
Anika Raemer 2021-03-13 16:22:47 +01:00
parent ef525a5ffb
commit f2fd2e880a
4 changed files with 35 additions and 28 deletions

View file

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