[PyQt] signal editTextChanged

Kerri Reno 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
> be
> > 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).
>
> Andreas
>
> --
> Your business will assume vast proportions.
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>



-- 
Yuma Educational Computer Consortium
Compass Development Team
Kerri Reno
kreno at yumaed.org      (928) 502-4240
.·:*¨¨*:·.   .·:*¨¨*:·.   .·:*¨¨*:·.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080123/472a421e/attachment.html


More information about the PyQt mailing list