[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: Is it possible to know when a PlasmaCore IconItem is ready?
From: Sebastian =?ISO-8859-1?Q?K=FCgler?= <sebas () kde ! org>
Date: 2016-07-28 11:22:44
Message-ID: 1668493.CWalSvpAX5 () miro
[Download RAW message or body]
On donderdag 28 juli 2016 14:03:24 CEST Michail Vourlakos wrote:
> is it possible to know when a PlasmaCore IconItem in QML is ready?
> I am trying to use the grabToImage for that element and the only way
> to achieve this until now, is after Component.OnCompleted to use a
> timer element.
>
> I use a shadereffect to drop a shadow under various IconItems and
> after that I animate them on hovering. By buffering them into Images
> and animating these Images instead of the IconItems the interface
> improves its respovinesss almost to double or even more.
>
> So is there a way to drop the Timer for these IconItems by creating
> the needed buffers when the IconItem is ready? With Images this can be
> done with onStatusChanged: if (status==Image.Ready)
Could you post some code illustrating what you're trying to do? This makes it
a bit easier to understand and more concrete to propose a solution. (Not that
I know one, off-hand.)
Cheers,
--
sebas
http://www.kde.org | http://vizZzion.org
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic