18
18
import "../../Components"
23
minimumHorizontalSpacing: units.gu(2)
24
maximumNumberOfColumns: 5
25
delegateWidth: units.gu(17)
26
delegateHeight: iconHeight + units.gu(3.5)
27
verticalSpacing: units.gu(2)
29
readonly property int iconWidth: (width / columns) * 0.8
30
readonly property int iconHeight: iconWidth
32
signal clicked(int index, var delegateItem, real itemY)
33
signal pressAndHold(int index, var delegateItem, real itemY)
24
delegateWidth: units.gu(11)
25
delegateHeight: units.gu(16)
27
iconWidth: units.gu(11)
28
iconHeight: units.gu(11)
37
32
objectName: "delegate" + index
38
width: filterGrid.cellWidth
39
height: filterGrid.cellHeight
40
iconWidth: filterGrid.iconWidth
41
iconHeight: filterGrid.iconHeight
33
width: filtergrid.cellWidth
34
height: filtergrid.cellHeight
36
imageWidth: filtergrid.iconWidth
37
imageHeight: filtergrid.iconHeight
40
horizontalAlignment: Text.AlignLeft
42
style: MusicTileStyle {
48
47
var data = { model: model }
49
filterGrid.clicked(index, data, tile.y)
48
filtergrid.clicked(index, data, tile.y)
53
52
var data = { model: model }
54
filterGrid.pressAndHold(index, data, tile.y)
53
filtergrid.pressAndHold(index, data, tile.y)