Re: Notify of hovering over icon widget

2011-06-23 Thread Marco Martin
On Wednesday 22 June 2011, Viranch Mehta wrote: > On Wed, Jun 22, 2011 at 1:00 PM, Aaron J. Seigo wrote: > > can you use the onEnter/onExit properties with a MouseArea? > > Well, I want the background of the IconWidget to be painted when hovered > (by doing drawBackgournd: true). But the problem

Re: Notify of hovering over icon widget

2011-06-22 Thread Shantanu Tushar Jha
Hi, On Wed, Jun 22, 2011 at 10:22 PM, Viranch Mehta wrote: > On Wed, Jun 22, 2011 at 1:00 PM, Aaron J. Seigo wrote: > >> >> can you use the onEnter/onExit properties with a MouseArea? >> >> > Well, I want the background of the IconWidget to be painted when hovered > (by doing drawBackgournd: tru

Re: Notify of hovering over icon widget

2011-06-22 Thread Viranch Mehta
On Wed, Jun 22, 2011 at 2:57 PM, Marco Martin wrote: > > avoid to use IconWidgets, use a QIconItem from extracomponents or even an > Image with an icon://iconname source. > > Does that let me do the drawBackground stuff? > then all the mouse input you do is with a MouseArea, that has all the >

Re: Notify of hovering over icon widget

2011-06-22 Thread Viranch Mehta
On Wed, Jun 22, 2011 at 1:00 PM, Aaron J. Seigo wrote: > > can you use the onEnter/onExit properties with a MouseArea? > > Well, I want the background of the IconWidget to be painted when hovered (by doing drawBackgournd: true). But the problem with putting MouseArea on the IconWidget is, the Ico

Re: Notify of hovering over icon widget

2011-06-22 Thread Marco Martin
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 m

Re: Notify of hovering over icon widget

2011-06-22 Thread Aaron J. Seigo
On Wednesday, June 22, 2011 01:07:29 Viranch Mehta wrote: > 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. can you use the onEnter/onExit

Notify of hovering over icon widget

2011-06-21 Thread Viranch Mehta
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. Viranch _