<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Dimitar,
<blockquote
cite="mid:1359747459.30689.YahooMailNeo@web122403.mail.ne1.yahoo.com"
type="cite">
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255,
255); font-family: times new roman,new york,times,serif;
font-size: 12pt;"><span class="tab">Could you please </span>explain
what you mean by "predicate the paintScene code"? Did you mean
you had to add the Q_SLOT attribute? If so, for now it is
necessary to decorate all slots with that because Qyoto needs to
send the slots to Qt so it needs to know which they are.<br>
</div>
</blockquote>
No... I just I had to put an if ( this.Visible) { } around the code
that creates the Scene. <br>
<br>
The paint code does scene.clear() then adds lots of QGraphicsItems
to it. <br>
<br>
The problem I was trying to fix appeared in some subsidiary code:
there was another if() around some code that painted a small part of
the scene, and the if() checked whether the structures needed to do
this were set (yet). The error was an AccessViolation while doing
this check: "if (rect == null)", where "rect" was a local variable.<br>
<br>
I haven't yet sorted some other issues connected with my translation
of python xml code into system.xml so I haven't yet determined the
paint code works ok with "good" data structures... hopefully it
will.<br>
<br>
<blockquote
cite="mid:1359747459.30689.YahooMailNeo@web122403.mail.ne1.yahoo.com"
type="cite">
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255,
255); font-family: times new roman,new york,times,serif;
font-size: 12pt;">
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
times new roman,new york,times,serif; background-color:
transparent; font-style: normal;"><span class="tab"> About
readSettings: I'm working on QSvgGenerator right now, I'll
check that when I'm done.<br>
</span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
times new roman,new york,times,serif; background-color:
transparent; font-style: normal;"><span class="tab"> </span></div>
</div>
</blockquote>
Many thanks for your help,<br>
<br>
Ruth<br>
<br>
<pre class="moz-signature" cols="72">--
Software Manager& Engineer
Tel: 01223 414180
Blog: <a class="moz-txt-link-freetext" href="http://www.ivimey.org/blog">http://www.ivimey.org/blog</a>
LinkedIn: <a class="moz-txt-link-freetext" href="http://uk.linkedin.com/in/ruthivimeycook/">http://uk.linkedin.com/in/ruthivimeycook/</a>
</pre>
</body>
</html>