[PyQt] PyQt5 5.7.1. Possibly BUG - QGraphicsScene/View graphical/visual glitches
Dariusz Makowski
dariusz1989 at gmail.com
Sun Jan 22 13:42:38 GMT 2017
Hey
Using it 1st time so apologise for any weird errors in my submission.
In any case I have a QGraphicsView/Scene node editor system. I use
widgets/checkboxes/lineedits/other in my view with QRectItem as a parent.
When I upgraded from 5.4.x to 5.7.1 I can notice some visual glitches.
When I zoom in/out pan around the drawing of widgets gets messed up.
I'm using dockwidget to hold my node editor and other things.
Attached a jpg example of issue.
Is that a bug, or I need to change some settings on Scene/View?
Using:
self.setRenderHint(QPainter.Antialiasing)
self.setViewportUpdateMode(QGraphicsView.SmartViewportUpdate)self.setTransformationAnchor(QGraphicsView.AnchorUnderMouse)
self.setResizeAnchor(QGraphicsView.AnchorUnderMouse)
self.setDragMode(QGraphicsView.ScrollHandDrag)
Regards
Dariusz
--
DARIUSZ MAKOWSKi
CGI-Photographer
07 590 530 854
Dariusz at Dariuszmakowski.com
www.dariuszmakowski.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170122/90f73127/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glitches.jpg
Type: image/jpeg
Size: 33469 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170122/90f73127/attachment-0001.jpg>
More information about the PyQt
mailing list