Changeset View
Changeset View
Standalone View
Standalone View
src/MediaAllArtistView.qml
Show First 20 Lines • Show All 79 Lines • ▼ Show 20 Line(s) | 77 | GridView { | |||
---|---|---|---|---|---|
80 | focus: true | 80 | focus: true | ||
81 | 81 | | |||
82 | TextMetrics { | 82 | TextMetrics { | ||
83 | id: textLineHeight | 83 | id: textLineHeight | ||
84 | text: 'Artist' | 84 | text: 'Artist' | ||
85 | } | 85 | } | ||
86 | 86 | | |||
87 | cellWidth: elisaTheme.gridDelegateWidth | 87 | cellWidth: elisaTheme.gridDelegateWidth | ||
88 | cellHeight: elisaTheme.gridDelegateWidth + elisaTheme.layoutVerticalMargin * 2 + textLineHeight.height | 88 | cellHeight: elisaTheme.gridDelegateWidth + elisaTheme.layoutVerticalMargin + textLineHeight.height * 2 | ||
89 | 89 | | |||
90 | model: DelegateModel { | 90 | model: DelegateModel { | ||
91 | id: delegateContentModel | 91 | id: delegateContentModel | ||
92 | 92 | | |||
93 | model: SortFilterProxyModel { | 93 | model: SortFilterProxyModel { | ||
94 | sourceModel: artistsModel | 94 | sourceModel: artistsModel | ||
95 | 95 | | |||
96 | filterRole: AllArtistsModel.NameRole | 96 | filterRole: AllArtistsModel.NameRole | ||
▲ Show 20 Lines • Show All 59 Lines • Show Last 20 Lines |