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 All 12 Lines | |||||
201 | } | 198 | } | ||
202 | 199 | | |||
203 | RowLayout { | 200 | RowLayout { | ||
204 | Layout.fillWidth: true | 201 | Layout.fillWidth: true | ||
205 | 202 | | |||
206 | QtControls.CheckBox { | 203 | QtControls.CheckBox { | ||
207 | id: animationEnabled | 204 | id: animationEnabled | ||
208 | 205 | | |||
209 | text: i18n("Show animation when switching:") | 206 | text: i18n("Show animation when switching asdfkjasdfk asdflkjalskdfj asdlfkjasdl;fkj adsflkjasdflasdflk asdfasdfl;kj:") | ||
210 | 207 | | |||
211 | checked: kcm.animationsModel.enabled | 208 | checked: kcm.animationsModel.enabled | ||
212 | 209 | | |||
213 | onCheckedChanged: kcm.animationsModel.enabled = checked | 210 | onCheckedChanged: kcm.animationsModel.enabled = checked | ||
214 | } | 211 | } | ||
215 | 212 | | |||
216 | QtControls.ComboBox { | 213 | QtControls.ComboBox { | ||
217 | enabled: animationEnabled.checked | 214 | enabled: animationEnabled.checked | ||
▲ Show 20 Lines • Show All 71 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 | |