Пример #1
0
 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()
Пример #2
0
    def browseSave(self):
        filename = \
         cgrupyqt.GetSaveFileName(
          self,
          'Choose afstarter file',
          cgruconfig.VARS['HOME_CGRU']
         )

        if filename == '':
            return

        self.save(filename, True)