PDA

View Full Version : mousepress event



tpthyd
25th February 2009, 14:07
hi,
when i hold the mouse left button at any four sides of widget, i have to pan my screen continuously until mouse is released.but my problem is it is panning only when i presses and released and again pressed. if i pressed continuously it is panning only once.
can anyone suggest me how to overcome this problem?

jpn
25th February 2009, 15:02
Sounds like you want to implement something similar than QAbstractItemView::autoScroll.

PS. Remember that we don't know your application. You have to be more specific if you want more specific answers. Things like how the panning was implemented and using what components do matter.