def browseOutImages(self): path = cgrupyqt.GetSaveFileName(self, 'Choose a file', self.fields['outimages'].text()) if path == '': return self.fields['outimages'].setText(os.path.normpath(path)) self.evaluate()
def browseSave(self): filename = \ cgrupyqt.GetSaveFileName( self, 'Choose afstarter file', cgruconfig.VARS['HOME_CGRU'] ) if filename == '': return self.save(filename, True)