Yeah I am also with Justin on PySide and QLineEdit.

You can listen for signals like textChanged, enterPressed, stoppedEditing 
etc. and then call a function when these are fired. I use QLineEdit for 
filtering all the time, works a treat :)

On Wednesday, 24 August 2016 13:43:46 UTC+2, Michał Frątczak wrote:
>
> Hi
> I'm using textField to implement interactive filter to some list of 
> strings.
> I'd like to have my callback function being called on each keypress.
> Also, I'd like to retain focus after enter.
>
> I'm with MEL now but can convert to anything that works:
>
> textField -e -cc "myCallback" $textField UI;
>
>
> thanks !
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/71269d8c-4102-495b-bf04-ec84fea0e771%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to