def get_save_image_as_fs(self): if self.saveimage_fs is None: self.saveimage_fs = self.get_file_save_chooser( _("Save Image"), self.window, image.file_matches()) return self.saveimage_fs
def get_save_hires_image_as_fs(self): if self.hires_image_fs is None: self.hires_image_fs = self.get_file_save_chooser( _("Save High Resolution Image"), self.window, image.file_matches()) rtd_widgets = self.create_rtd_widgets() self.hires_image_fs.set_extra_widget(rtd_widgets) return self.hires_image_fs
def testFileMatches(self): matches = image.file_matches() self.assertTrue("*.tga" in matches)
def get_save_hires_image_as_fs(self): if self.hires_image_fs is None: self.hires_image_fs = application_widgets.HiresImageSaveChooser( self, image.file_matches()) return self.hires_image_fs
def get_save_image_as_fs(self): if self.saveimage_fs is None: self.saveimage_fs = utils.FileSaveChooser(_("Save Image"), self, image.file_matches()) return self.saveimage_fs