def on_select_image_clicked(self):
     image_file_result_tuple = QtWidgets.QFileDialog.getOpenFileName(
         self, "Please choose an image", mc_global.get_user_images_path(),
         "Image files (*.png *.jpg *.bmp)")
     new_file_path_str = image_file_result_tuple[0]
     logging.debug("new_file_path_str = " + new_file_path_str)
     if new_file_path_str:
         self.temporary_image_file_path_str = new_file_path_str
         self.update_gui_details()
     else:
         pass
 def on_select_image_clicked(self):
     image_file_result_tuple = QtWidgets.QFileDialog.getOpenFileName(
         self, "Please choose an image", mc_global.get_user_images_path(),
         "Image files (*.png *.jpg *.bmp)")
     image_file_path_str = image_file_result_tuple[0]
     logging.debug("image_file_path_str = " + image_file_path_str)
     if image_file_path_str:
         model.RestActionsM.update_rest_action_image_path(
             mc_global.active_rest_action_id_it, image_file_path_str)
         self.update_gui_details()
     else:
         pass
 def on_select_image_clicked(self):
     # noinspection PyCallByClass
     image_file_result_tuple = QtWidgets.QFileDialog.getOpenFileName(
         self,
         self.tr("Please choose an image"),
         mc_global.get_user_images_path(),
         "Image files (*.png *.jpg *.bmp)"
     )
     new_file_path_str = image_file_result_tuple[0]
     logging.debug("new_file_path_str = " + new_file_path_str)
     if new_file_path_str:
         self.temporary_image_file_path_str = new_file_path_str
         self.update_gui_details()
     else:
         pass