Re: [PyKDE] textChanged()

2006-02-22 Thread Tina Isaksen
Giovanni Bajo wrote: Sorry, we need something which I can actually run. That's what "self-contained" means. Otherwise, you're on your own. Never mind... the problem isn't my code, it's my Eric3. When I run it from a shell it works, but when I run it from within Eric it dosen't. I have no id

Re: [PyKDE] textChanged()

2006-02-22 Thread Giovanni Bajo
Tina Isaksen <[EMAIL PROTECTED]> wrote: > I have a QTextEdit widget and need to know when the contents change. So > I found the textChanged() signal and did: > > self.connect(self.mainTextWindow, SIGNAL("textChaged()"), self.doTest) Please, post a complete self-contained example that demonstr

Re: [PyKDE] textChanged()

2006-02-22 Thread Tina Isaksen
Hans-Peter Jansen wrote: How about: SIGNAL("textChanged()") ^ You need to get the spelling right here, since PyQt compares those strings at runtime... Oh... this probably happened when I formated the mail. It's correct in my program. I do know the spelling is critic

Re: [PyKDE] textChanged()

2006-02-22 Thread Giovanni Bajo
Marco Wahl <[EMAIL PROTECTED]> wrote: >> This time I was sure I had it right, but no... I fell into another trap. >> >> I have a QTextEdit widget and need to know when the contents change. So >> I found the textChanged() signal and did: >> >> self.connect(self.mainTextWindow, SIGNAL("textChage

Re: [PyKDE] textChanged()

2006-02-22 Thread Hans-Peter Jansen
Am Mittwoch, 22. Februar 2006 15:48 schrieb Tina Isaksen: > Me again... > > This time I was sure I had it right, but no... I fell into another > trap. > > I have a QTextEdit widget and need to know when the contents change. > So I found the textChanged() signal and did: > > self.connect(self.ma

Re: [PyKDE] textChanged()

2006-02-22 Thread Marco Wahl
This time I was sure I had it right, but no... I fell into another trap.I have a QTextEdit widget and need to know when the contents change. So I found the textChanged() signal and did:self.connect(self.mainTextWindow, SIGNAL("textChaged()"), self.doTest) Didn't work ('mainTextWindow' is my te

[PyKDE] textChanged()

2006-02-22 Thread Tina Isaksen
Me again... This time I was sure I had it right, but no... I fell into another trap. I have a QTextEdit widget and need to know when the contents change. So I found the textChanged() signal and did: self.connect(self.mainTextWindow, SIGNAL("textChaged()"), self.doTest) Didn't work ('mainT