code: def set_inasafe_default_value_qsetting(
          qsetting, category, inasafe_field_key, value):
      
      key = 'inasafe/default_value/%s/%s' % (category, inasafe_field_key)
      qsetting.setValue(key, value)
docs: Helper method to set inasafe default value to qsetting.
  
      :param qsetting: QSettings.
      :type qsetting: QSettings
  
      :param category: Category of the default value. It can be global or
          recent. Global means the global setting for default value. Recent
          means the last set custom for default value from the user.
      :type category: str
  
      :param inasafe_field_key: Key for the field.
      :type inasafe_field_key: str
  
      :param value: Value of the inasafe_default_value.
      :type value: float, int