@@ -124,6 +124,7 @@ PageBase {
124124 property int size: 24
125125
126126 interval: 300
127+
127128 onTriggered: {
128129 root .applyVisual (themeName, size);
129130 }
@@ -158,6 +159,7 @@ PageBase {
158159 stdout: SplitParser {
159160 onRead : data => console .log (" [cursor] persistProc stdout:" , data)
160161 }
162+
161163 stderr: SplitParser {
162164 onRead : data => console .log (" [cursor] persistProc stderr:" , data)
163165 }
@@ -173,6 +175,7 @@ PageBase {
173175 id: themeVariants
174176
175177 model: root .themeNames
178+
176179 delegate: MenuItem {
177180 required property string modelData
178181
@@ -200,6 +203,7 @@ PageBase {
200203 const cWidth = root .cappedWidth ;
201204 return Math .min (Math .round (cWidth * 0.4 ), cWidth / screen .width * screen .height );
202205 }
206+
203207 Layout .alignment : Qt .AlignHCenter
204208 color: Colours .tPalette .m3surfaceContainer
205209 radius: Tokens .rounding .large
@@ -277,6 +281,7 @@ PageBase {
277281 id: wallLoadDebounceTimer
278282
279283 interval: 100
284+
280285 onTriggered: {
281286 if (wallImg .status !== Image .Ready )
282287 wallIndicatorLoader .opacity = 1 ;
@@ -291,7 +296,9 @@ PageBase {
291296 preventInit: wallIndicatorLoader .opacity > 0
292297 fadeOutAnim: Anim .DefaultEffects
293298 fadeInAnim: Anim .SlowEffects
299+
294300 onSourceChanged: wallLoadDebounceTimer .restart ()
301+
295302 onStatusChanged: {
296303 if (status === Image .Ready ) {
297304 wallLoadDebounceTimer .stop ();
@@ -364,6 +371,7 @@ PageBase {
364371 label: qsTr (" Cursor theme" )
365372 menuItems: themeVariants .instances
366373 active: menuItems .find (i => i .text === root .currentCursorTheme ) ?? null
374+
367375 onSelected: item => root .applyCursor (item .text , root .currentCursorSize , false )
368376 }
369377
@@ -395,6 +403,7 @@ PageBase {
395403 return String (root .cursorSizes [idx]) + " px" ;
396404 return String (root .currentCursorSize ) + " px" ;
397405 }
406+
398407 onMoved : v => {
399408 var idx = Math .round (v * (root .cursorSizes .length - 1 ));
400409 if (idx >= 0 && idx < root .cursorSizes .length ) {
@@ -411,9 +420,11 @@ PageBase {
411420 onPressed : mouse => {
412421 mouse .accepted = false ;
413422 }
423+
414424 onPositionChanged : mouse => {
415425 mouse .accepted = false ;
416426 }
427+
417428 onReleased : mouse => {
418429 mouse .accepted = false ;
419430 }
0 commit comments