[PyQt] signal editTextChanged
kreno at yumaed.org
Wed Jan 23 23:06:43 GMT 2008
Oh, duh! Thanks Andreas!
On 1/23/08, Andreas Pakulat <apaku at gmx.de> wrote:
> On 23.01.08 15:37:44, Kerri Reno wrote:
> > I have a QComboBox, and I want the users to be able to edit the text,
> and I
> > want to know when the text has changed. I'm trying to use the signal
> > editTextChanged on the comboBox, but it doesn't seem to do anything.
> > Following is example code that illustrates what I mean. The line shows
> > '<Account Code>' and if you type over it, the updateText function should
> > called and isn't. Any ideas what I'm doing wrong?
> You need to use the C++ signature for C++ signals, i.e.
> editTextChanged(const QString&) (you may be able to leave out the "const"
> and the "&", can't remember right now).
> Your business will assume vast proportions.
> PyQt mailing list PyQt at riverbankcomputing.com
Yuma Educational Computer Consortium
Compass Development Team
kreno at yumaed.org (928) 502-4240
.·:*¨¨*:·. .·:*¨¨*:·. .·:*¨¨*:·.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt