<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
On 05/05/2010 07:11 AM, (Samuel) Byeongjun Park wrote:
<blockquote cite="mid:001301caec54$773524e0$659f6ea0$@park@case.edu"
type="cite">
<meta http-equiv="Content-Type"
content="text/html; charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:"Malgun Gothic";
        panose-1:2 11 5 3 2 0 0 2 0 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Malgun Gothic";
        panose-1:2 11 5 3 2 0 0 2 0 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:85.05pt 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="Section1">
<p class="MsoNormal"><span
style="font-size: 12pt; font-family: "Times New Roman","serif";">Hi
all,</span><br>
<br>
I found one problem related to mouse cursor.<br>
I changed mouse cursor using QVTKWidget's setCursor() function which<br>
is inherited from QWidget.<o:p></o:p></p>
<p class="MsoNormal"><br>
It works fine. One interesting thing I found is that VTK 5.0.4 works
Okay <br>
but when I upgraded to VTK5.4.2, somehow mouse cursor return to arrow
cursor.<br>
<br>
Both VTK 5.0.4 and 5.4.2 works when I change the mouse cursor using
setCursor().<br>
However, for 5.4.2 when the QVTKWidget window is once hided by other
window and<br>
raised to top, mouse cursor returned to arrow cursor for some
QVTKWidgets (not
all the time, not all QVTKWidgets).<br>
It never happen in 5.0.4.<o:p></o:p></p>
<p class="MsoNormal"><br>
I compared two versions of QVTKWidget source codes, but there was no
significant difference.<br>
<br>
<o:p></o:p></p>
<p class="MsoNormal">Is there any suggestion where I should dig?<br>
My system is running Linux 64bit with NVidia GL library.<br>
<br>
</p>
</div>
</blockquote>
<br>
Perhaps the change in behavior is from vtkXOpenGLRenderWindow.cxx.<br>
I suggest looking at where it calls XDefineCursor() to see if that
causes your cursor issues.<br>
<br>
Clint<br>
<br>
</body>
</html>