0
votes

It does work on Linux+KDE, but not on Windows/OSX/Linux + XFCE.

I have a list view, the items are custom widgets, and the delegate for the list view's items does not get paint() calls if mouse is over the elements.

Tried to simulate the event via css ( :hover ), but it seems it is not working for QWidgets.

Am I missing something, or it's really a feature missing on platforms other than KDE?

1

1 Answers

3
votes

You probably need to turn on mouse tracking.

QWidget::setMouseTracking(bool)