Two questions:
1. I have a custom dialog box that runs from a menu item. When the user adjusts values in the dialog and runs a routine, I want their adjusted values to show up as default the next time they pull it up from the menu (within the session is fine - I don't need to save between sessions). I tried using global variables within the python script: defined at the top of the script and then set to new values as the routine runs. The original values set at the top of the script do appear within my dialog class, but setting the new values does not allow them to persist into the next run of the dialog. How is this best handled?
2. My dialog is modeled primarily from the "split in chunks" script, where the dialog does not close until the user clicks on the quit button. I would like to automatically close the dialog after the routine runs. Simply calling QtCore.SLOT("reject()") does not seem to do the job. How should this be done?
Thanks!