[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

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

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(textChaged()),

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

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 demonstrates

Re: [PyKDE] Dropping SIGNAL() and SLOT() in PyQt4?

2006-02-22 Thread Patrick Stinson
Just to add to the chaos, wouldn't a syntax like the following be interesting: timer.connect('timeout()', slotfunc) I realize that removes a bit from (not only some fundamental qt syntax :)) this QObject.connect(timer, 'timeout()', self, 'myTimerBlew()') but once you start adding optional

Re: [PyKDE] Compiling eric3 for use with pyqt4 development

2006-02-22 Thread Dave Williams
On Thu, 16 Feb 2006 07:03:20 + Dave Williams [EMAIL PROTECTED] wrote: On Wed, 15 Feb 2006 22:11:05 +0100 Andreas Pakulat [EMAIL PROTECTED] wrote: Using sip-snapshot-20060126 PyQt-x11-gpl-snapshot-20060124 PyQt4-gpl-snapshot-20060128 eric3-snapshot-20060123 worked fine

Re: [PyKDE] Compiling eric3 for use with pyqt4 development

2006-02-22 Thread Andreas Pakulat
On 22.02.06 19:27:20, Dave Williams wrote: I have now successfully installed eric3 following Andreas' guidance. BTW: You don't need those 'old' snapshots, PyQt was fixed 1 or 2 days after I sent you those files. However I did have a couple of problems to do with qmake and qconfig when

Re: [PyKDE] Compiling eric3 for use with pyqt4 development

2006-02-22 Thread Dave Williams
On Wed, 22 Feb 2006 20:41:19 +0100 Andreas Pakulat [EMAIL PROTECTED] wrote: BTW: You don't need those 'old' snapshots, PyQt was fixed 1 or 2 days after I sent you those files. OK but it was good to get something working at least rather than chase more moving targets! a) The need to tweak

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

Re: [PyKDE] PyQt(4) development environment for windows

2006-02-22 Thread Juan Pablo Romero
I use komodo: http://www.activestate.com/Products/Komodo/ JP 2006/2/12, Andreas Pakulat [EMAIL PROTECTED]: Hi, what do you guys use for development of PyQt4 apps on windows? I'd use eric3 there too, but I think that's impossible due to a lack of a free as in beer PyQt3 version for