[Qt-interest] QMainWindow: Prevent mouse from leaving.
Jakub Stasiak
kuba.stasiak at gmail.com
Thu Oct 29 08:12:31 CET 2009
2009/10/27 R. Reucher <rene.reucher at batcom-it.net>:
> On Tue, 27 Oct 2009 12:34:00 -0400, John McClurkin wrote:
> I just tried this with grabMouse() / releaseMouse() and mouse-tracking...
> for me it simply works!
>
> Just make sure to grab the mouse outside of your main-window's
> constructor.
Every time I used grabMouse() I called it outside constructor, luckily. But
could you explain why it shouldn't/can't be done inside contructor?
Jakub Stasiak
More information about the Qt-interest-old
mailing list