Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
VTK
VTK
Commits
60ac698f
Commit
60ac698f
authored
May 21, 2007
by
Clinton Stimpson
Browse files
BUG: Make this code work with PyQt 3.17. Fixes
#4283
.
parent
4d764647
Changes
1
Hide whitespace changes
Inline
Side-by-side
Wrapping/Python/vtk/qt/QVTKRenderWindowInteractor.py
View file @
60ac698f
...
...
@@ -150,9 +150,9 @@ class QVTKRenderWindowInteractor(qt.QWidget):
self
.
_Iren
.
SetRenderWindow
(
self
.
_RenderWindow
)
# do all the necessary qt setup
self
.
setBackgroundMode
(
2
)
#
NoBackground
self
.
setBackgroundMode
(
qt
.
Qt
.
NoBackground
)
self
.
setMouseTracking
(
1
)
# get all mouse events
self
.
setFocusPolicy
(
2
)
#
ClickFocus
self
.
setFocusPolicy
(
qt
.
QWidget
.
ClickFocus
)
if
parent
==
None
:
self
.
show
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment