| View Issue Details [ Jump to Notes ] | [ Print ] |
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0010182 | VTK | (No Category) | public | 2010-01-25 15:22 | 2016-08-12 09:55 |
|
| Reporter | Nycholas de Oliveira e Oliveira | |
| Assigned To | Kitware Robot | |
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | moved | |
| Platform | | OS | | OS Version | |
| Product Version | | |
| Target Version | | Fixed in Version | | |
|
| Summary | 0010182: Show cursor in Qt window rendering (Python) |
| Description | Set the cursor as Qt.ArrowCursor the render window. |
| Additional Information | Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/VTK-5.4.2-py2.6.egg/vtk/qt4/QVTKRenderWindowInteractor.py", line 211, in ShowCursor
self.setCursor(cursor)
NameError: global name 'cursor' is not defined |
| Tags | No tags attached. |
|
| Project | |
| Type | |
|
| Attached Files | QVTKRenderWindowInteractor.py.patch [^] (811 bytes) 2010-01-25 15:22 [Show Content] [Hide Content]*** Wrapping/Python/vtk/qt4/QVTKRenderWindowInteractor.py 2010-01-25 18:11:09.000000000 -0200
--- Wrapping/Python/vtk/qt4/QVTKRenderWindowInteractor.py 2010-01-25 18:11:39.000000000 -0200
***************
*** 208,214 ****
"""Shows the cursor."""
vtk_cursor = self._Iren.GetRenderWindow().GetCurrentCursor()
qt_cursor = self._CURSOR_MAP.get(vtk_cursor, QtCore.Qt.ArrowCursor)
! self.setCursor(cursor)
def sizeHint(self):
return QtCore.QSize(400, 400)
--- 208,214 ----
"""Shows the cursor."""
vtk_cursor = self._Iren.GetRenderWindow().GetCurrentCursor()
qt_cursor = self._CURSOR_MAP.get(vtk_cursor, QtCore.Qt.ArrowCursor)
! self.setCursor(qt_cursor)
def sizeHint(self):
return QtCore.QSize(400, 400)
|
|