You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
455 B
JavaScript
20 lines
455 B
JavaScript
effects.windowAdded.connect(function (window) {
|
|
window.animation = set({
|
|
window: window,
|
|
curve: QEasingCurve.Linear,
|
|
duration: animationTime(1000),
|
|
type: Effect.Opacity,
|
|
from: 0,
|
|
to: 1,
|
|
keepAlive: false
|
|
});
|
|
});
|
|
|
|
effects.windowMinimized.connect(function (window) {
|
|
if (complete(window.animation)) {
|
|
sendTestResponse('ok');
|
|
} else {
|
|
sendTestResponse('fail');
|
|
}
|
|
});
|