[PyQt] PyQt4 for Embedded Linux

2009-10-07 Thread David Boddie
Back in May, I gave a talk at PyCon Tre in Italy about using PyQt on embedded devices. http://chaos.troll.no/~dboddie/Python/PyConTre_Italia_2009/ Although the talk was mostly about PyQt's features and didn't really cover the underlying technologies, a lot of the preparation involved getting a

Re: [PyQt] new problem pyqt 4.6

2009-10-07 Thread Phil Thompson
On Wed, 07 Oct 2009 19:43:52 +0200, Linos wrote: > Hello Phil, > i have detected other problem with clases inheriting from a abstract qt > subclass and a python subclass. Here you have sample code. it gives me this > > error when i click the button. > > TypeError: QAbstractItemModel.rowCo

[PyQt] Slot error handling

2009-10-07 Thread Zac Burns
Is there a way to add an error handler for all slots in an application? Eg: I have a window with lots of buttons and menus etc, connected via Signals/Slots. When slot code fails it prints a traceback to the console. I would rather it pop a dialog because the console is hidden. So, I would like to

[PyQt] new problem pyqt 4.6

2009-10-07 Thread Linos
Hello Phil, i have detected other problem with clases inheriting from a abstract qt subclass and a python subclass. Here you have sample code. it gives me this error when i click the button. TypeError: QAbstractItemModel.rowCount() is abstract and cannot be called as an unbound method

Re: [PyQt] other problem pyqt 4.6

2009-10-07 Thread Phil Thompson
On Wed, 07 Oct 2009 00:10:54 +0200, Linos wrote: > and other code sample as well, if i execute this code i get this error for > every > connect i try to do in the QThread run() method. > > QObject: Cannot create children for a parent that is in a different thread. > (Parent is TestThread(0x99e09

Re: [PyQt] pyqt 4.6 error

2009-10-07 Thread Phil Thompson
On Tue, 06 Oct 2009 23:42:40 +0200, Linos wrote: > Hello, > i have updated versions to sip 4.9 and pyqt 4.6 and finally i have some > time to > make reproducible examples of the errors i posted to the mailing list some > time > ago, this code gives me on my machine (Arch Linux, qt 4.5

Re: [PyQt] Unexpected segfault when using QSortFilterProxyModel with a QFileDialog

2009-10-07 Thread Phil Thompson
On Tue, 06 Oct 2009 18:18:32 -0500, Dave Peterson wrote: > I must be doing something brain dead but I'm not sure what. When I > display a QFileDialog after having set a proxy model, I get a seg fault > when the QFileDialog tries to save it's state. Here's the top of the > stacktrace -- perha