Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > PyQt disconnect signal / slot

Reply
Thread Tools

PyQt disconnect signal / slot

 
 
Alexander Eisenhuth
Guest
Posts: n/a
 
      09-25-2007
Hello PyQt experts,

do i have to disconnect all signal/slots, after the emitting object is deleted,
or does it the QObject destructor?

Thanks
Alexander
 
Reply With Quote
 
 
 
 
Phil Thompson
Guest
Posts: n/a
 
      09-25-2007
On Tuesday 25 September 2007, Alexander Eisenhuth wrote:
> Hello PyQt experts,
>
> do i have to disconnect all signal/slots, after the emitting object is
> deleted, or does it the QObject destructor?


It's done for you - same as Qt.

Phil
 
Reply With Quote
 
 
 
 
Alexander Eisenhuth
Guest
Posts: n/a
 
      09-25-2007
Phil, thanks for that quick reply

Phil Thompson schrieb:
> On Tuesday 25 September 2007, Alexander Eisenhuth wrote:
>> Hello PyQt experts,
>>
>> do i have to disconnect all signal/slots, after the emitting object is
>> deleted, or does it the QObject destructor?

>
> It's done for you - same as Qt.
>
> Phil

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PyQt: Is signal / slot really working across threads? Alexander Eisenhuth Python 2 05-29-2007 12:03 PM
pyqt4 signal/slot using PyObject* and shortcut Pradnyesh Sawant Python 0 04-27-2007 05:59 AM
passing tuple with pyqt4 signal/slot mechanism Pradnyesh Sawant Python 2 04-26-2007 03:05 PM
problem with qthread and signal/slot Pradnyesh Sawant Python 0 04-14-2007 10:38 AM
[PY GUI] interest function in python GUI(wxpython,pyqt) program.wxpython,pyqt ulysses Python 4 10-22-2003 03:28 PM



Advertisments