Example #1
0
 def __save_output(self):
     file_path = FileService.saveFileDialog(self, self)
     self.output_file_path = file_path
     if file_path is not None and file_path != "":
         # file = open(file_path, 'wb')
         # file.close()
         self.output_file_path_line_edit.setText(file_path)
     else:
         #handle no file warning
         return None
Example #2
0
 def save_private(self):
     file_path = FileService.saveFileDialog(self, self)
     self.file_name_priv_key = file_path
     if file_path is not None and file_path != "":
         # file = open(file_path, 'wb')
         # file.close()
         self.private_key_line_edit.setText(file_path)
     else:
         #handle no file warning
         return None