[Kde-bindings] Qyoto issues - QPainter, QSvgGenerator

Dimitar Dobrev dpldobrev at yahoo.com
Sat Feb 2 00:43:35 UTC 2013



    You're welcome. However, I couldn't complete the QSvgGenerator properties tonight because they turned to be a bit trickier that I thought. They are almost done but there is some smoothing over to be added. I'll do that tomorrow and upload binaries.

    Dimitar   


________________________________
 From: Ruth Ivimey-Cook <ruth at ivimey.org>
To: Dimitar Dobrev <dpldobrev at yahoo.com>; KDE bindings for other programming languages <kde-bindings at kde.org> 
Sent: Friday, February 1, 2013 10:48 PM
Subject: Re: [Kde-bindings] Qyoto issues - QPainter, QSvgGenerator
 

Dimitar, 
Could you please 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.
>
No... I just I had to put an if ( this.Visible) { } around the code that creates the Scene. 

The paint code does scene.clear() then adds lots of QGraphicsItems
    to it. 

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.

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.


    About readSettings: I'm working on QSvgGenerator right now, I'll check that when I'm done.
>
>   
Many thanks for your help,

Ruth


-- 
Software Manager&  Engineer
Tel: 01223 414180
Blog: http://www.ivimey.org/blog
LinkedIn: http://uk.linkedin.com/in/ruthivimeycook/ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20130201/31d63388/attachment-0001.html>


More information about the Kde-bindings mailing list