Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • VTK VTK
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 832
    • Issues 832
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 240
    • Merge requests 240
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Gitlab will be updated February 2nd, between 8am and 9am EST (UTC-5). Gitlab will be offline during that time.

  • VTKVTK
  • VTKVTK
  • Issues
  • #4283
Closed
Open
Issue created Jan 05, 2007 by Kitware Robot@kwrobotOwner

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)

Assignee
Assign to
Time tracking