Re: [PyQt] how to get text from QTextEdit document

2007-04-25 Thread Doug Bell
Paulino wrote: > Hi, > > I want to get the text from a QTextEdit widget into a list, to parse and > store in a database > > I found this solution, but I think there is a cleaner way of doing it > > >def Imprimir(self): >doc = self.texto.document() >block = doc.begin() >

[PyQt] how to get text from QTextEdit document

2007-04-25 Thread Paulino
Hi, I want to get the text from a QTextEdit widget into a list, to parse and store in a database I found this solution, but I think there is a cleaner way of doing it def Imprimir(self): doc = self.texto.document() block = doc.begin() lines = [ block.text() ] f

[PyQt] a little problem

2007-04-25 Thread Romuald Riem
Hello, I've created a small and basic application with PyQt4. It works as expected on MacOS X and Win XP. With the latest version of SIP and PyQT4, I've built a standalone application with py2app for MacOS X and py2exe for Windows and they work fine. I'm supprised by the size difference b

Re: [PyQt] PyQt4 dbus mainloop assertion error

2007-04-25 Thread Ingmar Steen
On 4/25/07, Simon Edwards <[EMAIL PROTECTED]> wrote: Hi, Ingmar Steen wrote: > I'm trying to use the new PyQt4 dbus mainloop, but it crashes with an > assertion error when I try to get an object from the bus. I'm using Sip > 4.6, > PyQt4.2, Qt 4.2.3, Python 2.5.1, DBus 1.0.2 and dbus-python 0.8

Re: [PyQt] PyQt4 dbus mainloop assertion error

2007-04-25 Thread Simon Edwards
Hi, Ingmar Steen wrote: I'm trying to use the new PyQt4 dbus mainloop, but it crashes with an assertion error when I try to get an object from the bus. I'm using Sip 4.6, PyQt4.2, Qt 4.2.3, Python 2.5.1, DBus 1.0.2 and dbus-python 0.80.1. Am I doing something fundamentally insane or wrong? If

Re: [PyQt] PyQt4 dbus mainloop assertion error

2007-04-25 Thread Ingmar Steen
On 4/25/07, Phil Thompson <[EMAIL PROTECTED]> wrote: On Wednesday 25 April 2007 3:44 pm, Ingmar Steen wrote: > Hi, > > I'm trying to use the new PyQt4 dbus mainloop, but it crashes with an > assertion error when I try to get an object from the bus. I'm using Sip > 4.6, PyQt4.2, Qt 4.2.3, Python

Re: [PyQt] PyQt4 dbus mainloop assertion error

2007-04-25 Thread Phil Thompson
On Wednesday 25 April 2007 3:44 pm, Ingmar Steen wrote: > Hi, > > I'm trying to use the new PyQt4 dbus mainloop, but it crashes with an > assertion error when I try to get an object from the bus. I'm using Sip > 4.6, PyQt4.2, Qt 4.2.3, Python 2.5.1, DBus 1.0.2 and dbus-python 0.80.1. Am > I doing s

[PyQt] PyQt4 dbus mainloop assertion error

2007-04-25 Thread Ingmar Steen
Hi, I'm trying to use the new PyQt4 dbus mainloop, but it crashes with an assertion error when I try to get an object from the bus. I'm using Sip 4.6, PyQt4.2, Qt 4.2.3, Python 2.5.1, DBus 1.0.2 and dbus-python 0.80.1. Am I doing something fundamentally insane or wrong? If I remove the QDBusQtMa

[PyQt] ANN: PyQt v3.17.2 Released

2007-04-25 Thread Phil Thompson
PyQt v3.17.2 has been released and is available from the usual place. This fixes a regression introduced in v3.17.1. Phil ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt