Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 2

Qt-interest Archive, May 2007
Bug for MouseOver in Views?


Message 1 in thread

Hi

I have looked at the code for the hovering of view items and if I understand
it right the item under the mouse should be get a State_ MouseOver. But all
items get the MouseOver State. Thats is going wrong? Is the a bug? I have
done so that I should get the events but maybe something is wrong?

    viewport()->setMouseTracking(true);
    viewport()->setAttribute(Qt::WA_Hover);