Changeset View
Changeset View
Standalone View
Standalone View
discover/qml/BrowsingPage.qml
Show All 36 Lines | 29 | { | |||
---|---|---|---|---|---|
37 | readonly property bool isHome: true | 37 | readonly property bool isHome: true | ||
38 | 38 | | |||
39 | function searchFor(text) { | 39 | function searchFor(text) { | ||
40 | if (text.length === 0) | 40 | if (text.length === 0) | ||
41 | return; | 41 | return; | ||
42 | Navigation.openCategory(null, "") | 42 | Navigation.openCategory(null, "") | ||
43 | } | 43 | } | ||
44 | 44 | | |||
45 | BusyIndicator { | ||||
46 | id: indicator | ||||
47 | anchors.centerIn: parent | ||||
48 | width: Kirigami.Units.gridUnit * 8 | ||||
49 | height: width | ||||
50 | visible: apps.count === 0 && apps.model.isFetching | ||||
51 | } | ||||
52 | | ||||
45 | background: Rectangle { | 53 | background: Rectangle { | ||
46 | color: Kirigami.Theme.backgroundColor | 54 | color: Kirigami.Theme.backgroundColor | ||
47 | Kirigami.Theme.colorSet: Kirigami.Theme.Window | 55 | Kirigami.Theme.colorSet: Kirigami.Theme.Window | ||
48 | Kirigami.Theme.inherit: false | 56 | Kirigami.Theme.inherit: false | ||
49 | } | 57 | } | ||
50 | 58 | | |||
51 | signal clearSearch() | 59 | signal clearSearch() | ||
52 | 60 | | |||
Show All 30 Lines |