Changeset View
Changeset View
Standalone View
Standalone View
sidebar/package/contents/ui/CategoriesPage.qml
Show First 20 Lines • Show All 131 Lines • ▼ Show 20 Line(s) | 120 | RowLayout { | |||
---|---|---|---|---|---|
132 | } | 132 | } | ||
133 | } | 133 | } | ||
134 | } | 134 | } | ||
135 | } | 135 | } | ||
136 | 136 | | |||
137 | delegate: Kirigami.BasicListItem { | 137 | delegate: Kirigami.BasicListItem { | ||
138 | id: delegate | 138 | id: delegate | ||
139 | icon: model.decoration | 139 | icon: model.decoration | ||
140 | iconSize: Kirigami.Units.iconSizes.medium | | |||
141 | label: model.display | 140 | label: model.display | ||
142 | separatorVisible: false | 141 | separatorVisible: false | ||
143 | Accessible.role: Accessible.ListItem | 142 | Accessible.role: Accessible.ListItem | ||
144 | Accessible.name: model.display | 143 | Accessible.name: model.display | ||
145 | onClicked: { | 144 | onClicked: { | ||
146 | if (systemsettings.activeCategory == index) { | 145 | if (systemsettings.activeCategory == index) { | ||
147 | root.pageStack.currentIndex = 1; | 146 | root.pageStack.currentIndex = 1; | ||
148 | } else { | 147 | } else { | ||
Show All 22 Lines |