[Development] Unset QGraphicsView handScrolling when drag mode is reset

Kernc kerncece at gmail.com
Wed Sep 23 11:55:52 CEST 2015


Hi,

Trying to exploit the built-in Qt functionality regarding drag modes
(rubber-band, scroll-hand) and associated behavior in QGraphicsView, I
found a single line in QGraphicsView.setDragMode() that prevented my
beautiful and intuitive implementation to work and which I believe may
have been a bug.

Please find attached a patch and more information within.

Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Unset-QGraphicsView-handScrolling-when-drag-mode-is-.patch
Type: text/x-patch
Size: 2855 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20150923/ed11599d/attachment.bin>


More information about the Development mailing list