[PyQt] Why QThread object is not working in my generic thread class ?

2013-07-12 Thread oglop
Hi All, i’m new to pyqt, I'm following this tutorial, https://joplaete.wordpress.com/2010/07/21/threading-with-pyqt4/ why i can’t use genericThread a second time ? http://pastebin.com/y3LkVFvi basically i justed added another thread, and i wanted to run it after first thread finishes, but as

Re: [PyQt] help a noob, Im a noob (David Boddie)

2013-07-12 Thread Brian McDonald
David, Thank you so much. Your suggestion got me thinking the right way and now the program is working just as I want it to. To prove how much of a noob I am, I should tell you, now that it is working I could sit and watch the screen toggle between queries for hours! HA. Feels like a major ach

Re: [PyQt] help a noob, Im a noob

2013-07-12 Thread Hazen Babcock
On Tue, 9 Jul 2013 15:00:25 -0600 (MDT), Brian McDonald wrote: Just getting into programming in general. Loving python so far. I am working on an application that will display database information on screen. The idea is that some rows of database information will appear on screen for 30 seconds

Re: [PyQt] Parent child relationship: child survives parent

2013-07-12 Thread Phil Thompson
On Fri, 12 Jul 2013 09:30:46 +0200, Volker Pilipp wrote: > I've got a little bit confused about ownership of objects in SIP As > far as I understand, if ParentObject owns ChildObject, the destruction > of ChildObject is left to c++ i.e. the c++ destructor of ParentObject > is expected to destruct

[PyQt] Parent child relationship: child survives parent

2013-07-12 Thread Volker Pilipp
I've got a little bit confused about ownership of objects in SIP As far as I understand, if ParentObject owns ChildObject, the destruction of ChildObject is left to c++ i.e. the c++ destructor of ParentObject is expected to destruct ChildObject. This behaviour may result in a seg fault if the pyt