View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003816VTK(No Category)public2006-09-26 12:012013-01-21 15:45
ReporterDavid Gobbi 
Assigned ToClinton Stimpson 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionduplicate 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0003816: The python vtk.qt module doesn't work with new PyQt
DescriptionThe following error occurs when the python Qt examples are run:

File "VTKbin/Wrapping/Python/vtk/qt/QVTKRenderWindowInteractor.py", line 153, in __init__
    self.setBackgroundMode(2) # NoBackground
TypeError: argument 1 of QWidget.setBackgroundMode() has an invalid type

Versions of PyQt from around 3.2 onward require the use of enum values instead of ints, e.g.

    self.setBackgroundMode(Qt.NoBackground)
    self.setMouseTracking(1)
    self.setFocusPolicy(QWidget.ClickFocus)
TagsNo tags attached.
Project
Type
Attached Files

 Relationships

  Notes
(0010314)
Clinton Stimpson (developer)
2008-01-28 17:14

dup of 0004283

 Issue History
Date Modified Username Field Change
2008-01-28 17:14 Clinton Stimpson Assigned To Will Schroeder => Clinton Stimpson
2008-01-28 17:14 Clinton Stimpson Status tabled => closed
2008-01-28 17:14 Clinton Stimpson Note Added: 0010314
2008-01-28 17:14 Clinton Stimpson Resolution open => duplicate
2011-06-16 13:11 Zack Galbreath Category => (No Category)


Copyright © 2000 - 2018 MantisBT Team