Notify of hovering over icon widget

Marco Martin notmart at gmail.com
Wed Jun 22 11:27:07 CEST 2011


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


More information about the Plasma-devel mailing list