Thanks guys !
I kept away from Qt for too long now, partly because complicated setup on c++ side and partly because MEL was enough most time...
It's also good time to check Marcus and Fredrik's  Qt.py tool :) so, do you know of any nice maya+qt tutorials/recipes ?

thanks !

W dniu 2016-08-25 o 13:24, Benjam901 pisze:
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.


--
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/b6bcb6c2-7a90-e986-f01f-13630bc0777f%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to