Re: [PyQt] When can I use 'super' and When I can not

2009-01-17 Thread Phil Thompson
On Sat, 17 Jan 2009 23:58:41 +0800, Steven Woody wrote: > On Fri, Jan 16, 2009 at 8:22 PM, Phil Thompson > wrote: >> On Fri, 16 Jan 2009 09:01:35 +0800, Steven Woody >> wrote: >>> On Thu, Jan 15, 2009 at 10:18 PM, Jason Voegele >> wrote: On Tuesday 13 January 2009 09:53:08 pm Steven Woody

Re: [PyQt] When can I use 'super' and When I can not

2009-01-17 Thread Steven Woody
On Fri, Jan 16, 2009 at 8:22 PM, Phil Thompson wrote: > On Fri, 16 Jan 2009 09:01:35 +0800, Steven Woody > wrote: >> On Thu, Jan 15, 2009 at 10:18 PM, Jason Voegele > wrote: >>> On Tuesday 13 January 2009 09:53:08 pm Steven Woody wrote: In the book 'Rapid GUI Programming with Python and Qt'

Re: [PyQt] When can I use 'super' and When I can not

2009-01-16 Thread Phil Thompson
On Fri, 16 Jan 2009 09:01:35 +0800, Steven Woody wrote: > On Thu, Jan 15, 2009 at 10:18 PM, Jason Voegele wrote: >> On Tuesday 13 January 2009 09:53:08 pm Steven Woody wrote: >>> In the book 'Rapid GUI Programming with Python and Qt', chapter 5, >>> the author said that the 'super' method won't

Re: [PyQt] When can I use 'super' and When I can not

2009-01-15 Thread Steven Woody
On Thu, Jan 15, 2009 at 10:18 PM, Jason Voegele wrote: > On Tuesday 13 January 2009 09:53:08 pm Steven Woody wrote: >> In the book 'Rapid GUI Programming with Python and Qt', chapter 5, >> the author said that the 'super' method won't work in an example code, >> that is a override 'accept()' meth

Re: [PyQt] When can I use 'super' and When I can not

2009-01-15 Thread Jason Voegele
On Tuesday 13 January 2009 09:53:08 pm Steven Woody wrote: > In the book 'Rapid GUI Programming with Python and Qt', chapter 5, > the author said that the 'super' method won't work in an example code, > that is a override 'accept()' method, in the end of the 'accept()' > method, one need to call b

[PyQt] When can I use 'super' and When I can not

2009-01-13 Thread Steven Woody
Hi, In the book 'Rapid GUI Programming with Python and Qt', chapter 5, the author said that the 'super' method won't work in an example code, that is a override 'accept()' method, in the end of the 'accept()' method, one need to call base class's 'accept()' method. But if you write the code usin