<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><br><span class="tab">    Yes, thank you. Any help is appreciated.</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">    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><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><br><span class="tab">    </span>Dimitar<span class="tab"><br></span></div><div><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Ruth Ivimey-Cook <ruth@ivimey.org><br> <b><span style="font-weight: bold;">To:</span></b> KDE bindings for other programming languages <kde-bindings@kde.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, February 1, 2013 8:50 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Kde-bindings] Qyoto issues - QPainter, QSvgGenerator<br> </font> </div> <br>
<div id="yiv25510347">
  

    
  
  <div>
    <div class="yiv25510347moz-cite-prefix">Ruth Ivimey-Cook wrote:<br>
    </div>
    <blockquote type="cite">

      
      <div class="yiv25510347moz-cite-prefix">Dimitar Dobrev wrote:<br>
      </div>
      <blockquote type="cite">
        <div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;"><span class="yiv25510347tab">    <br>
          </span>
          <div><span class="yiv25510347tab">    Could you try decorating your Main
              method with the [STAThread]</span> attribute?<br>
          </div>
        </div>
      </blockquote>
      It already is... I almost included it, but here it is now:<br>
      <br>
      <br>
    </blockquote>
    By commenting out the readSettings code I've got it to create a
    mainwindow now... <br>
    <br>
    There is a strangeness to report. I am defining a new widget
    MapWidget and the main init code copies View menu settings to the
    widget on startup. If the map widget sees a change from it's
    internal value it calls paintScene to update the GraphicsItemView it
    uses. When running in PyQt this all worked fine, but in Qyoto I had
    to predicate the paintScene code on the widget being Visible. I
    think the problem is that some functions don't like being called too
    soon, and if they are they zap memory somewhere. Too soon meaning
    before the Main Exec has run...<br>
    <br>
    I can delve if needed.<br>
    <br>
    Ruth<br>
    <br>
    <br>
    <pre class="yiv25510347moz-signature">-- 
Software Manager & Engineer
Tel: 01223 414180
Blog: http://www.ivimey.org/blog
LinkedIn: http://uk.linkedin.com/in/ruthivimeycook/ </pre>
  </div>

</div><br>_______________________________________________<br>Kde-bindings mailing list<br><a ymailto="mailto:Kde-bindings@kde.org" href="mailto:Kde-bindings@kde.org">Kde-bindings@kde.org</a><br><a href="https://mail.kde.org/mailman/listinfo/kde-bindings" target="_blank">https://mail.kde.org/mailman/listinfo/kde-bindings</a><br><br><br> </div> </div>  </div></body></html>