Re: [PyKDE] deploying universal binaries

2006-12-20 Thread V. Armando Sole
At 13:54 20/12/2006 -0900, Patrick Stinson wrote: If you are building a universal sip binary (only on ppc? not sure) I build my universal binaries on an i386 machine and I test them on an old G4. So, it seems to work both ways (I was not sure about the ppc). Armando _

Re: [PyKDE] How do you get HTML source from konqueror/KHTMLPart?

2006-12-20 Thread yichun wei
On 12/20/06, Marcos Dione <[EMAIL PROTECTED]> wrote: On Wed, Dec 20, 2006 at 10:59:06AM -0800, yichun wei wrote: > I am trying to grab some html pages via KHTMLPart.openURL and scrape > the content I get. However I am not able to read out the HTML document > sources I have in KHTMLPart. just

Re: [PyKDE] How do you get HTML source from konqueror/KHTMLPart?

2006-12-20 Thread Jim Bublitz
On Wednesday 20 December 2006 15:24, Marcos Dione wrote: > On Wed, Dec 20, 2006 at 10:59:06AM -0800, yichun wei wrote: > > I am trying to grab some html pages via KHTMLPart.openURL and scrape > > the content I get. However I am not able to read out the HTML document > > sources I have in KHTMLPart.

[PyKDE] python console widget

2006-12-20 Thread Patrick Stinson
Does anyone know of any C++ code for a python interactive console widget? I've embedded the interpreter and wrapped my app's engine in a python module, but now want to add a little console to it... -- Patrick Kidd Stinson http://www.patrickkidd.com/ http://pkaudio.sourceforge.net/ http://pksample

Re: [PyKDE] How do you get HTML source from konqueror/KHTMLPart?

2006-12-20 Thread Marcos Dione
On Wed, Dec 20, 2006 at 10:59:06AM -0800, yichun wei wrote: > I am trying to grab some html pages via KHTMLPart.openURL and scrape > the content I get. However I am not able to read out the HTML document > sources I have in KHTMLPart. just call: domDocu= part.document () html= domDocu.toStrin

Re: [PyKDE] deploying universal binaries

2006-12-20 Thread Patrick Stinson
This will help. If you are building a universal sip binary (only on ppc? not sure) you need to run configure with this command line: (Phil, maybe you can take note to add a flag...) python configure.py -k CFLAGS+="-arch ppc -arch i386" LFLAGS+="-arch ppc -arch i386 -isysroot /Developer/SDKs/MacO

Re: [PyKDE] Re: PyQt and PyOS_InputHook

2006-12-20 Thread Phil Thompson
On Wednesday 20 December 2006 7:33 pm, Giovanni Bajo wrote: > Phil Thompson wrote: > >> http://www.mail-archive.com/pykde@mats.imk.fraunhofer.de/msg06573.html > >> > >> it looks like it would be sufficient to call qApp.processEvents() > >> from within the hook (assuming qApp is not deleted). This w

[PyKDE] Re: PyQt and PyOS_InputHook

2006-12-20 Thread Giovanni Bajo
Phil Thompson wrote: >> http://www.mail-archive.com/pykde@mats.imk.fraunhofer.de/msg06573.html >> >> it looks like it would be sufficient to call qApp.processEvents() >> from within the hook (assuming qApp is not deleted). This would be >> great for using Qt at the interpreter prompt for quick te

Re: [PyKDE] ElementTree in PyQt4 latest with py2exe not working

2006-12-20 Thread Rick van Hattem
On Wednesday 20 December 2006 10:08, Bastian Salmela wrote: > hi, > i've ran into problem and i was hoping it gets fixed in the newer version > of qt/pyqt but doesn't seem to go away. so any information how to make this > work would be highly appreciated. > > problem: i'm writing application that u

[PyKDE] Re: PyQt and PyOS_InputHook

2006-12-20 Thread Phil Thompson
On Tuesday 19 December 2006 12:14 am, Giovanni Bajo wrote: > Hi Phil, > > http://www.mail-archive.com/pykde@mats.imk.fraunhofer.de/msg06573.html > > it looks like it would be sufficient to call qApp.processEvents() from > within the hook (assuming qApp is not deleted). This would be great for > usi

[PyKDE] How do you get HTML source from konqueror/KHTMLPart?

2006-12-20 Thread yichun wei
Hi pyKDE list, I am trying to grab some html pages via KHTMLPart.openURL and scrape the content I get. However I am not able to read out the HTML document sources I have in KHTMLPart. kdelibs has KHTML::documentSource in khtml that can return the source of the pages since 2005, however I only fo

Re: [PyKDE] SIP and typedefs in signals

2006-12-20 Thread Phil Thompson
On Monday 18 December 2006 7:34 pm, Gerard Vermeulen wrote: > Hi, > > moc does not expand typedefs in signals but sip does. > Therefore I needed a hack to wrap the following header code: > > --- start C++ header code --- > typedef QPointF QwtDoublePoint; > > class QWT_EXPORT QwtPlotPicker: public Q

[PyKDE] Re: [PATCH] sipdistuils: allow .sip in depends

2006-12-20 Thread Phil Thompson
On Tuesday 19 December 2006 2:20 pm, Giovanni Bajo wrote: > Hello Phil, > > when working on a module made of several .sip files (with a main .sip file > with %Module, and others included through %Include), there is currently no > way to tell distutils that it needs to re-run sip whenever an %Includ

[PyKDE] ElementTree in PyQt4 latest with py2exe not working

2006-12-20 Thread Bastian Salmela
hi, i've ran into problem and i was hoping it gets fixed in the newer version of qt/pyqt but doesn't seem to go away. so any information how to make this work would be highly appreciated. problem: i'm writing application that uses uic.loadType() to load up user interface. this all works fine when