[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: How to get a picture out of KDChart
From:       Alvaro Soliverez <asoliverez () gmail ! com>
Date:       2009-09-22 4:02:46
Message-ID: 64e15f8f0909212102j1bbf2a87p6a34a34f2e460078 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Thomas,
That solved my question.
I will get in touch with someone in KDAB to get more info about KDChart.

Thanks a lot!

On Mon, Sep 21, 2009 at 4:53 PM, Thomas Zander <zander@kde.org> wrote:

> Having no clue about KDChart I can suggest you ask the authors of the lib,
> kdab. Or read the kchart code which uses this lib.
> If this uses a QWidget you might get what you want from QWidget::render()
>
> On Monday 21. September 2009 16.21.28 Alvaro Soliverez wrote:
> > Hello all,
> > I'm a developer of KMyMoney, currently porting it to KDE4.
> > In the KDE3 versions, we used KDChart to display charts along with our
> > reports, and we plan to use it for this version too.
> >
> > In the KDE3 version, KDChartWidget had a method paintTo, which allowed us
> > to get a QPainter, and later turn that into a PNG picture to display on a
> > html page.
> > Is there a way to do that in the current version? I see that the paintTo
> > has not been ported over.
>
> --
> Thomas Zander
>

[Attachment #5 (text/html)]

Thomas,<br>That solved my question. <br>I will get in touch with someone in KDAB to \
get more info about KDChart.<br><br>Thanks a lot!<br><br><div class="gmail_quote">On \
Mon, Sep 21, 2009 at 4:53 PM, Thomas Zander <span dir="ltr">&lt;<a \
href="mailto:zander@kde.org">zander@kde.org</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;">Having no clue about KDChart I can suggest you ask the \
authors of the lib,<br> kdab. Or read the kchart code which uses this lib.<br>
If this uses a QWidget you might get what you want from QWidget::render()<br>
<div><div></div><div class="h5"><br>
On Monday 21. September 2009 16.21.28 Alvaro Soliverez wrote:<br>
&gt; Hello all,<br>
&gt; I&#39;m a developer of KMyMoney, currently porting it to KDE4.<br>
&gt; In the KDE3 versions, we used KDChart to display charts along with our<br>
&gt; reports, and we plan to use it for this version too.<br>
&gt;<br>
&gt; In the KDE3 version, KDChartWidget had a method paintTo, which allowed us<br>
&gt; to get a QPainter, and later turn that into a PNG picture to display on a<br>
&gt; html page.<br>
&gt; Is there a way to do that in the current version? I see that the paintTo<br>
&gt; has not been ported over.<br>
<br>
</div></div>--<br>
<font color="#888888">Thomas Zander<br>
</font></blockquote></div><br>



_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic