Changeset View
Changeset View
Standalone View
Standalone View
kcmkwin/kwindesktop/package/contents/ui/main.qml
Show First 20 Lines • Show All 168 Lines • ▼ Show 20 Line(s) | 148 | view: ListView { | |||
---|---|---|---|---|---|
169 | 169 | | |||
170 | delegate: Kirigami.DelegateRecycler { | 170 | delegate: Kirigami.DelegateRecycler { | ||
171 | width: desktopsList.width | 171 | width: desktopsList.width | ||
172 | 172 | | |||
173 | sourceComponent: desktopsListItemComponent | 173 | sourceComponent: desktopsListItemComponent | ||
174 | } | 174 | } | ||
175 | } | 175 | } | ||
176 | 176 | | |||
177 | footer: ColumnLayout { | 177 | footer: Kirigami.FormLayout { | ||
178 | Kirigami.FormLayout { | | |||
179 | anchors.horizontalCenter: parent.horizontalCenter | | |||
180 | | ||||
181 | Connections { | 178 | Connections { | ||
182 | target: kcm | 179 | target: kcm | ||
183 | 180 | | |||
184 | onNavWrapsChanged: navWraps.checked = kcm.navWraps | 181 | onNavWrapsChanged: navWraps.checked = kcm.navWraps | ||
185 | 182 | | |||
186 | onOsdEnabledChanged: osdEnabled.checked = kcm.osdEnabled | 183 | onOsdEnabledChanged: osdEnabled.checked = kcm.osdEnabled | ||
187 | onOsdDurationChanged: osdDuration.value = kcm.osdDuration | 184 | onOsdDurationChanged: osdDuration.value = kcm.osdDuration | ||
188 | onOsdTextOnlyChanged: osdTextOnly.checked = !kcm.osdTextOnly | 185 | onOsdTextOnlyChanged: osdTextOnly.checked = !kcm.osdTextOnly | ||
▲ Show 20 Lines • Show All 100 Lines • ▼ Show 20 Line(s) | 280 | QtControls.CheckBox { | |||
289 | 286 | | |||
290 | checked: !kcm.osdTextOnly | 287 | checked: !kcm.osdTextOnly | ||
291 | 288 | | |||
292 | onToggled: kcm.osdTextOnly = !checked | 289 | onToggled: kcm.osdTextOnly = !checked | ||
293 | } | 290 | } | ||
294 | } | 291 | } | ||
295 | } | 292 | } | ||
296 | } | 293 | } | ||
297 | } | | |||
298 | 294 | |