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 | background: Rectangle { | ||||
46 | color: Kirigami.Theme.backgroundColor | ||||
47 | Kirigami.Theme.colorSet: Kirigami.Theme.Window | ||||
48 | Kirigami.Theme.inherit: false | ||||
49 | } | ||||
50 | | ||||
45 | signal clearSearch() | 51 | signal clearSearch() | ||
46 | 52 | | |||
47 | readonly property bool compact: page.width < 550 || !applicationWindow().wideScreen | 53 | readonly property bool compact: page.width < 550 || !applicationWindow().wideScreen | ||
48 | 54 | | |||
49 | Kirigami.CardsListView { | 55 | Kirigami.CardsListView { | ||
50 | id: apps | 56 | id: apps | ||
51 | model: FeaturedModel {} | 57 | model: FeaturedModel {} | ||
52 | currentIndex: -1 | 58 | currentIndex: -1 | ||
Show All 13 Lines |