Mouse hover question



  • hi every body i have one question.
    i have a large widget and on it i have one pushbutton and one label ( children of widget )
    i want that i when go to widget (enter to widget with mouse) , pushbutton take hover.

    please help me tnx so much.



  • Hi,
    Maybe use the enterEvent / leaveEvent on the parent widget and then set the location of the mouse to the pushbutton when triggered (if new hover in the widget).



  • hi ,
    i try postEvent with hoverEnter and leave
    or with setAttribute Qt::wa_hover but i failed.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.