[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Notify of hovering over icon widget
From:       Marco Martin <notmart () gmail ! com>
Date:       2011-06-22 9:27:07
Message-ID: 201106221127.08067.notmart () gmail ! com
[Download RAW message or body]

On Tuesday 21 June 2011, Viranch Mehta wrote:
> Hi,
> 
> I've reached a use case where I need a signal to be generated in QML when
> an IconWidget is hovered. I don't see one implemented. I was thinking of
> doing the same in kdelibs and was looking for feedback. Also, whether I
> should do it in master or elsewhere.

avoid to use IconWidgets, use a QIconItem from extracomponents or even an 
Image with an icon://iconname source.

then all the mouse input you do is with a MouseArea, that has all the events 
you need.

Cheers,
Marco Martin
_______________________________________________
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