[Interest] QScrollBar shift-click on Windows

Bo Thorsen bo at vikingsoft.eu
Fri Jul 25 08:50:01 CEST 2014


Den 24-07-2014 23:59, John Weeks skrev:
> One of our customers just pointed out that on Windows a shift-click on the scroll bar track should jump to that location in the document. But our application based on Qt doesn't do that. Does QScrollBar support this somehow that I haven't found?
>
> I've looked at the documentation for QScrollBar, QAbstractSlider, QStyleOptionSlider, and QStyle looking for scrolling options.

I don't think this is possible at the moment.

There are several other places where Qt based interaction is different 
from the target platform. The mouse wheel on Windows is one example. 
Looks like you found another.

But since shift clicking on the scrollbar isn't a combo that's currently 
used for anything, I don't see why it shouldn't just be added to Qt. 
Unless another OS uses this for something completely different.

You should open a feature request in the bug tracker.

Bo.

-- 
Viking Software
Qt and C++ developers for hire
http://www.vikingsoft.eu



More information about the Interest mailing list