~gg-lp/music-app/music-app

« back to all changes in this revision

Viewing changes to common/AlbumsPage.qml

  • Committer: Andrew Hayzen
  • Date: 2014-11-10 22:20:24 UTC
  • mto: This revision was merged to the branch mainline in revision 735.
  • Revision ID: ahayzen@gmail.com-20141110222024-kjfoirzwefw4lhwk
* Rewrite the ColumnFlow.qml to use dynamic creation/deletion of cards

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
        anchors {
40
40
            fill: parent
41
41
        }
 
42
        getter: function (i) {
 
43
            return {
 
44
                "art": artistsModel.get(i, AlbumsModel.RoleArt),
 
45
                "artist": artistsModel.get(i, AlbumsModel.RoleArtist),
 
46
                "title": artistsModel.get(i, AlbumsModel.RoleTitle),
 
47
            };
 
48
        }
42
49
        header: BlurredHeader {
43
50
            rightColumn: Column {
44
51
                spacing: units.gu(2)