Changeset View
Changeset View
Standalone View
Standalone View
discover/qml/ApplicationsListPage.qml
Show First 20 Lines • Show All 56 Lines • ▼ Show 20 Line(s) | 30 | DiscoverPage { | |||
---|---|---|---|---|---|
57 | 57 | | |||
58 | supportsRefreshing: true | 58 | supportsRefreshing: true | ||
59 | onRefreshingChanged: if (refreshing) { | 59 | onRefreshingChanged: if (refreshing) { | ||
60 | appsModel.invalidateFilter() | 60 | appsModel.invalidateFilter() | ||
61 | refreshing = false | 61 | refreshing = false | ||
62 | } | 62 | } | ||
63 | ListView { | 63 | ListView { | ||
64 | id: apps | 64 | id: apps | ||
65 | | ||||
66 | anchors { | ||||
67 | top: parent.top | ||||
68 | topMargin: Kirigami.Units.gridUnit | ||||
69 | } | ||||
70 | | ||||
65 | section.delegate: QQC2.Label { | 71 | section.delegate: QQC2.Label { | ||
66 | text: section | 72 | text: section | ||
67 | anchors { | 73 | anchors { | ||
68 | right: parent.right | 74 | right: parent.right | ||
69 | } | 75 | } | ||
70 | } | 76 | } | ||
71 | 77 | | |||
72 | model: ResourcesProxyModel { | 78 | model: ResourcesProxyModel { | ||
▲ Show 20 Lines • Show All 88 Lines • Show Last 20 Lines |