[Qt-interest] QSlider mouse focus
André Somers
andre at familiesomers.nl
Fri Feb 20 22:11:34 CET 2009
Hi,
"Thomas Grund" <thomas.grund at mail.com> schreef in bericht
news:gnm90i$cg6$1 at eple.troll.no...
> Hi,
>
> When I drag a slider the mouse focus gets lost when I move the mouse away
> from the slider. When I move back the mouse to the slider (mouse button
> pressed all time) the slider gets mouse focus again and snaps back.
> How can I achieve that the slider keeps the mouse focus all the time
> during a drag operation?
Not sure if it will work, but maybe you can call grabMouse on your slider
(and release it again too?). It should not be nessecairy I think though. I
would say that the behaviour you are after is/should be default. Perhaps a
bugreport to QtSoftware would be in order...
André
More information about the Qt-interest-old
mailing list