LeGoffLoic / Nodz

Nodz : Visualize your data - Free nodes based graph generator.
MIT License
421 stars 108 forks source link

Tablet zoom bug #17

Closed fabiencollet closed 7 years ago

fabiencollet commented 7 years ago

Hi,

I found a problem on tablet zoom features, I don't know if this help you but it's fixed like this on my workstation.

Fab

LeGoffLoic commented 7 years ago

Will take a look but I don't think I have any issue at home with the zoom. I will double check but the way you fixed it might not work with QT5 as QCursor might have moved to QWidgets. (Do you have pyQt or pySide?) Can you describe the bug ?

Thx!

glm-ypinczon commented 7 years ago

Had to do the same fix locally when using pyQt. Was not possible to zoom with ALT+right click without the fix.

QCursor is indeed in QtGui in QT5: http://doc.qt.io/qt-5/qcursor.html

fabiencollet commented 7 years ago

on my side I use PySide2, and it's the same problem than @glm-ypinczon.