PDA

View Full Version : Get hover Enablae in parent and get click event in child item



alizadeh91
5th August 2012, 10:14
hi.
I have a child and a parent item and i want to get hover event in parent and click events in child item. How can i do that?

Details:
For example i have a parentRect and childRect. I want to when pointer is inside the parentRect its scale grows and when user click inside childRect let childRect's opacity changes.

high_flyer
6th August 2012, 16:40
The objects you are talking about - instances of what classes are they?

Le_B
9th August 2012, 18:49
look at this:
http://qt-project.org/wiki/Drag_and_Drop_within_a_GridView

the parent mange everything using childAt()