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

Qt-interest Archive, April 2008
Best way to move a child widget in frame using mouse?


Message 1 in thread

Hi

I need to move a simple widget around a frame using the mouse. I've tried 
various ways, but they seem too complicated (involving reimplementing various 
event methods, filters, invoking copies of the widget or trying drag and 
drop). Is there a simple way? It seems the most obvious way of simply 
reimplementing mouseMoveEvent is specifically excluded in the doc as risking 
infinite recursion!

Thanks for your help.

Nick

--
 [ signature omitted ]