QVTKRenderWindowInteractor.py fails with PyQt 3.17
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
I recently upgraded my version of PyQt on linux to PyQt-x11-gpl-3.17. This version of PyQt seems to be more finicky and the QVTKRenderWindowInteractor.py script fails (perhaps with good cause!). Lines 153 through 155 need to be changed from
self.setBackgroundMode(2) self.setMouseTracking(1) self.setFocusPolicy(2)
to
self.setBackgroundMode(qt.Qt.NoBackground) self.setMouseTracking(1) # get all mouse events self.setFocusPolicy(qt.QWidget.ClickFocus)