Re: Drawing charts in Qt

2007-11-07 Thread Michel Albert
On Nov 6, 5:08 pm, David Boddie <[EMAIL PROTECTED]> wrote:
> On Tue Nov 6 15:46:07 CET 2007, Michel Albert wrote:
>
> [PyQwt and matplotlib]
>
> > PyQwt looks much more interesting, but I have trouble installing it.
> > On my machine it complains that sipconfig "has no attribute
> > '_pkg_config'".
>
> Is the configuration script finding the sipconfig file for SIP 3 or SIP 4?

How can I see if it's finding it or not? It does not give me any
helpful output.

>
> > In the end the application should also run on Windows boxes. And I
> > suppose as long as I use the right versions and use the precompiled
> > binaries, I should get it at least installed. But the thing with the
> > version numbers looks like some major lottery game to me. If one of
> > the elements in the chain (be it Qt, or Qwt) release new versions and
> > the available binary distributions get "out of sync", future support
> > for the written application becomes foggy.
>
> I'm not sure what you mean. Can you explain?

Well, I suppose I can manage this. If there really are some version
problems I can always compile everything I need myself.

>
> > Has anyone ever successfully used these graphing libraries with PyQt?
> > Or are there other graphing libraries available? In fact, my needs are
> > modest. A Line- and Bar-Chart would solve the majority of problems.
>
> I've installed PyQwt for PyQt4 and tried the examples, but only out of
> curiosity because I wasn't writing an application that needed those
> facilities at the time.
>
> David


-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Drawing charts in Qt

2007-11-06 Thread David Boddie
On Tue Nov 6 15:46:07 CET 2007, Michel Albert wrote:

[PyQwt and matplotlib]

> PyQwt looks much more interesting, but I have trouble installing it.
> On my machine it complains that sipconfig "has no attribute
> '_pkg_config'".

Is the configuration script finding the sipconfig file for SIP 3 or SIP 4?

> In the end the application should also run on Windows boxes. And I
> suppose as long as I use the right versions and use the precompiled
> binaries, I should get it at least installed. But the thing with the
> version numbers looks like some major lottery game to me. If one of
> the elements in the chain (be it Qt, or Qwt) release new versions and
> the available binary distributions get "out of sync", future support
> for the written application becomes foggy.

I'm not sure what you mean. Can you explain?

> Has anyone ever successfully used these graphing libraries with PyQt?
> Or are there other graphing libraries available? In fact, my needs are
> modest. A Line- and Bar-Chart would solve the majority of problems.

I've installed PyQwt for PyQt4 and tried the examples, but only out of
curiosity because I wasn't writing an application that needed those
facilities at the time.

David
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Drawing charts in Qt

2007-11-06 Thread Jeremy Sanders
Michel Albert wrote:

> Has anyone ever successfully used these graphing libraries with PyQt?
> Or are there other graphing libraries available? In fact, my needs are
> modest. A Line- and Bar-Chart would solve the majority of problems.

Veusz does line charts, and stepped charts (which are almost like bar
charts...). It is implemented with PyQt4.

You can use the windows.PlotWindow widget in your PyQt4 app, but
unfortunately I haven't got round to documenting this properly... If you're
interested I can give instructions.

Jeremy

-- 
Jeremy Sanders
http://www.jeremysanders.net/
-- 
http://mail.python.org/mailman/listinfo/python-list


Drawing charts in Qt

2007-11-06 Thread Michel Albert
I would like to display some charts in a Qt application. But all the
docs I find online are rather dusty and talk about Qt3. My application
uses Qt4 however. I ran into PyQwt and matplotlib. But the docs of
matplotlib are horrid and the example in their wiki covers Qt3, and
things look quite cryptic to me.

PyQwt looks much more interesting, but I have trouble installing it.
On my machine it complains that sipconfig "has no attribute
'_pkg_config'".

In the end the application should also run on Windows boxes. And I
suppose as long as I use the right versions and use the precompiled
binaries, I should get it at least installed. But the thing with the
version numbers looks like some major lottery game to me. If one of
the elements in the chain (be it Qt, or Qwt) release new versions and
the available binary distributions get "out of sync", future support
for the written application becomes foggy.

Has anyone ever successfully used these graphing libraries with PyQt?
Or are there other graphing libraries available? In fact, my needs are
modest. A Line- and Bar-Chart would solve the majority of problems.

-- 
http://mail.python.org/mailman/listinfo/python-list