Re: [PyQt] Help with help action

2007-09-27 Thread Mark Summerfield
On 2007-09-26, Thorsten Kampe wrote: > Hi, > > I'm trying to teach myself GUI programmming with the help of the new > PyQt book and the examples from the PyQt package. Although I've been > doing Python for five years I have a hard time doing OOP stuff. > Frankly, I never know when and where to put

Re: [PyQt] Help with help action

2007-09-26 Thread Michael Towers
Hi Thorsten, You're not 'show'ing your help widget, which I imagine should be some sort of pop-up. For example, something like: def help(self): dlg=QtGui.QDialog() browser = QtGui.QTextBrowser() browser.append('Help') layout = QtGui.QVBoxLayout(dlg) layout

[PyQt] Help with help action

2007-09-26 Thread Thorsten Kampe
Hi, I'm trying to teach myself GUI programmming with the help of the new PyQt book and the examples from the PyQt package. Although I've been doing Python for five years I have a hard time doing OOP stuff. Frankly, I never know when and where to put this "self" thing. My script (see below) wor