Re: PyQt, Cannot send events to objects owned by a different thread?

2009-01-18 Thread icejobjob
AE•X‰ÍŠúA‚»‚ê‚à’´AE•X‰ÍŠú‚ÉŽ„‚½‚¿‚Í’¼–Ê‚µ‚Ä‚¢‚Ü‚· ‚±‚́A'AEŠˆ“®' (http://www.pwblog.com/user/xru01/syusyoku/)‚Í•À‘å’ï‚Ì“w—͂ł͏æ‚èØ‚邱‚Æ‚ª¢“ï‚ÆŒ¾‚í‚ê‚Ä‚¢‚Ü‚·B

PyQt, Cannot send events to objects owned by a different thread?

2007-11-25 Thread Alexander Tuchacek
hallo, i try to adress an qt object self.statusbar.showMessage(rtt %s % (n.rtt)) in an callback function, comming from a shared lib importet by ctypes, on osx this works wonderfull when i run the same code on linux (ubuntu gutsy), i get this core dump, ok, i understand that the problem

Re: PyQt, Cannot send events to objects owned by a different thread?

2007-11-25 Thread Bjoern Schliessmann
Alexander Tuchacek wrote: i try to adress an qt object self.statusbar.showMessage(rtt %s % (n.rtt)) in an callback function, comming from a shared lib importet by ctypes, on osx this works wonderfull when i run the same code on linux (ubuntu gutsy), i get this core dump, ok, i

Re: PyQt, Cannot send events to objects owned by a different thread?

2007-11-25 Thread David Boddie
On Sun Nov 25 15:22:24 CET 2007, Alexander Tuchacek wrote: i try to adress an qt object self.statusbar.showMessage(rtt %s % (n.rtt)) in an callback function, comming from a shared lib importet by ctypes, on osx this works wonderfull when i run the same code on linux (ubuntu

Re: PyQt, Cannot send events to objects owned by a different thread?

2007-11-25 Thread Alexander Tuchacek
David Boddie wrote: You can either construct some sort of event handling mechanism or use signals and slots. Personally, I'd use signals and slots for this, if possible. The idea would be to set up a connection between your callback code and the status bar's showMessage() slot. Then you