[Qt-interest] QSlider mouse focus

Thomas Grund thomas.grund at mail.com
Mon Feb 23 17:00:49 CET 2009


André Somers schrieb:
> 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é

Hi,

Thanks, there is a task/bug now with # 245681.

Thanks,

Thomas



More information about the Qt-interest-old mailing list