--
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/7bb471e0-016e-45cf-a495-3af04d45a72d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOCAwP4hvJY%3DveQKPT3J1Eg_5rWhaguf4k02jji2SMFpPg%40mail.gmail.com.
This couldn't have been a coincidence, could it? :-)
On 28 July 2014 21:51, md <acco...@mdonovan.com> wrote:
I have a couple general housekeeping questions for you guys ...1. Where do you store your persistent application settings ?2. How/Where do you check to see if a dialog you have wrapped in the Maya application exists so it does not create multiple instances ?ThanksM
--
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_maya+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/7bb471e0-016e-45cf-a495-3af04d45a72d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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/c0c101c9-d9c0-4043-a824-b48ba2f769b7%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA3tropYd0xmwObiCz_RR6N12pWsT37F%2BVb-xK5YnJ684w%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAJhmvsQWP8i%3D6AMgYAPbhPGa8QPRMVoiB-YQ7ASxO9bwZ_euFw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAFRtmODsiyo-0n%3DhHzsVK%2BLYbKXFt317sAugOefFjdbM0%3DkmdA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA0KJtMVyo2sBFwEQvoJaejHNUdRN_hZnssXz264P%3DLR6A%40mail.gmail.com.
You received this message because you are subscribed to a topic in the Google Groups "Python Programming for Autodesk Maya" group.To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOA-BXOr6aYQxFGD1spXGZ0bY05AXCU3M8LkRbZ6LUOL_Q%40mail.gmail.com.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/python_inside_maya/z0cZGsK5X8g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to python_inside_m...@googlegroups.com.
1. I either use QSettings which picks the proper place to store, or if the app is platform specific I just store a yaml file in the standard user config area of that platform.
2. You can save your application reference as an APP global var in your module, or as a private instance member of your class, so that you can check and reshow it. This will probably get reset if you use reload() on the module for any reason. So an alternative is to set a useful objectName on the window, and check the children of the Maya QMainWindow for an existing match of name and type.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CALbtmpGi7VMf%3D3j8hkT-YtCMCR9eR-HHNikcyJBGs9fZnuHPBg%40mail.gmail.com.