Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
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.