--
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOAuoev5qiHJn-h%3DeXQWbqAs%3DfZzjpVOFTT8SdbpCxyUCw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA32B16N%2B7wPbEN%2BGA1A8eOstcaquxR9daW2m6uwXyWMog%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOBzFX7g27UXvk6Wd1LSEntssMcyd5KAjfWns-JJLUPxJA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/63C5F469-BBCF-4B74-BA7B-C0491B003066%40gmail.com.
Ya that sounds exactly like what I have except mine only displays simpler types. Like:
List/set - qcombobox
Str - qlineedit
Bool - qcheckbox
Int - qspinbox
Float - qdoublespinbox
None - qlabel fixed to "N/A"
It uses a qstackedlayout and lazy initializes the matching widget when the value is set, makes it the visible widget and wires its signals into the standard public ones.
Pretty useful in forms where the value could be multiple types and I don't have to think about it.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAFRtmODYaKFkyk7ZYKpeqpND8T1AocgsAHb7zwC8MSvCHASi8A%40mail.gmail.com.