File indexing completed on 2024-11-10 04:55:54
0001 effects.windowAdded.connect(function (window) { 0002 window.animation = set({ 0003 window: window, 0004 curve: QEasingCurve.Linear, 0005 duration: animationTime(1000), 0006 type: Effect.Opacity, 0007 from: 0, 0008 to: 1, 0009 keepAlive: false 0010 }); 0011 0012 window.minimizedChanged.connect(() => { 0013 if (!window.minimized) { 0014 return; 0015 } 0016 if (complete(window.animation)) { 0017 sendTestResponse('ok'); 0018 } else { 0019 sendTestResponse('fail'); 0020 } 0021 }); 0022 });