<!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">
Thanks for the help. I shall modify the code and look at the example
too. I also decided to re-install. Shall report on results.<br>
<br>
Cheers,<br>
Heinz<br>
<br>
On 09/04/2010 03:30 PM, David Boddie wrote:
<blockquote cite="mid:201009041530.43408.david@boddie.org.uk"
 type="cite">
  <pre wrap="">On Sat Sep 4 08:00:06 BST 2010, Preisig, Heinz A wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">After upgrading Ubuntu 9.10 to 10.04 I encounter some problems with
running a graphics application I built last year. It uses the mechanisms
described in the example "elasticnodes". The two application represent a
graph, which when moving the nodes also update the location of the arcs.

In both cases the arcs are not updated. In fact the example does not
show the arcs when starting it. My application does show the arcs, but
it does not update. I dug for some hours in the code, but could not find
a problem. It seems it does not get into the "itemChange" method of the
"QGraphicsItem" class. Some manipulations resulted in abortion of the
task, which when running from within Eclipse did not produce an error
message. From the terminal I got an occasional segmentation fault.
    </pre>
  </blockquote>
  <pre wrap="">
I don't know why you are getting segmentation faults, but the problem with
the itemChange method is due to a change in behaviour in Qt 4.6. You now
need to call the item's setFlag method with the ItemSendsGeometryChanges
flag to get notifications when items move.

David
_______________________________________________
PyQt mailing list    <a class="moz-txt-link-abbreviated" href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a>
<a class="moz-txt-link-freetext" href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a>
  </pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
<title>business</title>
<br>
<br>
<table style="text-align: left; width: 785px; height: 124px;" border="1"
 cellpadding="2" cellspacing="1">
  <tbody>
    <tr>
      <td style="width: 50%; vertical-align: top;"><span
 style="font-weight: bold;">Heinz A Preisig</span><br>
Professor of Process Systems Engineering</td>
      <td style="width: 50px; vertical-align: top;"><span style=""
 lang="EN-US">Private: <br>
Øvre Bakklandet 62 B, 7013 Trondheim, Norway<br>
      </span></td>
    </tr>
    <tr>
      <td style="vertical-align: top;"><span style="font-style: italic;">Department
of
Chemical Engineering</span><br>
      <div style="text-align: left;"><span
 style="font-weight: bold; font-style: italic;"></span><span
 style="font-weight: bold; font-style: italic;">Norwegian
University of Science and
Technology       </span><span
 style="font-size: 12pt; font-family: "Times New Roman";"></span><br>
      </div>
      <span style="font-size: 12pt; font-family: "Times New Roman";"><!--[if gte vml 1]><v:shapetype id="_x0000_t75"
 coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe"
 filled="f" stroked="f">
 <v:stroke joinstyle="miter"/>
 <v:formulas>
  <v:f eqn="if lineDrawn pixelLineWidth 0"/>
  <v:f eqn="sum @0 1 0"/>
  <v:f eqn="sum 0 0 @1"/>
  <v:f eqn="prod @2 1 2"/>
  <v:f eqn="prod @3 21600 pixelWidth"/>
  <v:f eqn="prod @3 21600 pixelHeight"/>
  <v:f eqn="sum @0 0 1"/>
  <v:f eqn="prod @6 1 2"/>
  <v:f eqn="prod @7 21600 pixelWidth"/>
  <v:f eqn="sum @8 21600 0"/>
  <v:f eqn="prod @7 21600 pixelHeight"/>
  <v:f eqn="sum @10 21600 0"/>
 </v:formulas>
 <v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
 <o:lock v:ext="edit" aspectratio="t"/>
</v:shapetype><v:shape id="_x0000_i1025" type="#_x0000_t75" style='width:45pt;
 height:45pt'>
 <v:imagedata src="file:///C:\DOCUME~1\preisig\LOCALS~1\Temp\msohtml1\01\clip_image001.png"
  o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span
 style="font-weight: bold; font-style: italic;"></span><span
 style="font-style: italic;">N – 7491 Trondheim, Norway</span></td>
      <td style="vertical-align: top;">Tel direct:<span style="">        

      </span> <span style="" lang="EN-US">+47 <span style="">  </span><span
 style="">  </span>735
92807<span style=""><br>
      </span></span><span style="" lang="EN-US">Tel mob:<span style="">          

      </span> +47 <span style="">    </span>9754
1334<br>
      </span><span style="" lang="EN-US">e-mail:<span style="">             

      </span><a href="mailto:Heinz.Preisig@chemeng.ntnu.no">Heinz.Preisig@chemeng.ntnu.no</a><br>
      </span><span style="" lang="EN-US">web:<span style="">                

      </span><a href="http://www.chemeng.ntnu.no/%7Epreisig">www.chemeng.ntnu.no\~preisig</a></span></td>
    </tr>
  </tbody>
</table>
 
<span style="font-weight: bold;"></span><br>
<span style="" lang="EN-US"></span>
</div>
</body>
</html>