Quintiq file version 2.0
#parent: #root
Method PropagateSettingAttributes (shadow[LibSE_Setting] s_setting) id:Method_DialogSettingsEngine_PropagateSettingAttributes
{
  #keys: '[139164.3.1824690184]'
  Body:
  [*
    ontype( s_setting )
    {
      shadow[LibSE_SettingBinaryValue] as setting:
      {
          setting.ValueRepresentation( [String] setting.Value() );
          setting.DefaultValueRepresentation( [String] setting.Default() );
          setting.IsDefault( setting.Value() = setting.Default() );
      }
      shadow[LibSE_SettingBoolean] as setting:
      {
          setting.ValueRepresentation( [String] setting.Value() );
          setting.DefaultValueRepresentation( [String] setting.Default() );
          setting.IsDefault( setting.Value() = setting.Default() );
      }
      shadow[LibSE_SettingChar] as setting:
      {
          setting.ValueRepresentation( [String] setting.Value() );
          setting.DefaultValueRepresentation( [String] setting.Default() );
          setting.IsDefault( setting.Value() = setting.Default() );
      }
      shadow[LibSE_SettingDate] as setting:
      {
          setting.ValueRepresentation( [String] setting.Value() );
          setting.DefaultValueRepresentation( [String] setting.Default() );
          setting.IsDefault( setting.Value() = setting.Default() );
      }
      shadow[LibSE_SettingDateTime] as setting:
      {
          setting.ValueRepresentation( [String] setting.Value() );
          setting.DefaultValueRepresentation( [String] setting.Default() );
          setting.IsDefault( setting.Value() = setting.Default() );
      }
      shadow[LibSE_SettingDuration] as setting:
      {
          setting.ValueRepresentation( [String] setting.Value() );
          setting.DefaultValueRepresentation( [String] setting.Default() );
          setting.IsDefault( setting.Value() = setting.Default() );
      }
      shadow[LibSE_SettingKey] as setting:
      {
          setting.ValueRepresentation( [String] setting.Value() );
          setting.DefaultValueRepresentation( [String] setting.Default() );
          setting.IsDefault( setting.Value() = setting.Default() );
      }
      shadow[LibSE_SettingNumber] as setting:
      {
          setting.ValueRepresentation( [String] setting.Value() );
          setting.DefaultValueRepresentation( [String] setting.Default() );
          setting.IsDefault( setting.Value() = setting.Default() );
      }
      shadow[LibSE_SettingReal] as setting:
      {
          setting.ValueRepresentation( [String] setting.Value() );
          setting.DefaultValueRepresentation( [String] setting.Default() );
          setting.IsDefault( setting.Value() = setting.Default() );
      }
      shadow[LibSE_SettingString] as setting:
      {
          setting.ValueRepresentation( [String] setting.Value() );
          setting.DefaultValueRepresentation( [String] setting.Default() );
          setting.IsDefault( setting.Value() = setting.Default() );
      }
    }
    
    if( s_setting.IsDefault() )
    {
      s_setting.DefinedBy( s_setting.OriginalDefinedBy() );
    }
    else
    {
      s_setting.DefinedBy( ValueHolderNewDefinedBy.Data() );
    }
  *]
}
