Add tooltips and infos on mkv converter UI

This commit is contained in:
Tichau committed 2015-12-08 19:20:00 +01:00
1 parent 1e05944566
commit 45162328a9
4 files changed
+41 -5

No files matched your search

@@ -90,5 +90,23 @@ namespace FileConverter.Properties {
return ResourceManager.GetString("OutputFilePathTemplateHelp", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Define the ratio &apos;file size&apos; versus &apos;video quality&apos;. A lower value will give you a smaller file, a greater value give you a better video quality..
/// </summary>
public static string VideoEncodingQualityTooltip {
get {
return ResourceManager.GetString("VideoEncodingQualityTooltip", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Define the ratio &apos;file size&apos; versus &apos;compression duration&apos;. A slow compression will give you a smaller file (for the same video quality) than a faster compression..
/// </summary>
public static string VideoEncodingSpeedTooltip {
get {
return ResourceManager.GetString("VideoEncodingSpeedTooltip", resourceCulture);
}
}
}
}
@@ -136,4 +136,10 @@ Special paths:
(p:v): my videos path
(p:p): my pictures path</value>
</data>
<data name="VideoEncodingQualityTooltip" xml:space="preserve">
<value>Define the ratio 'file size' versus 'video quality'. A lower value will give you a smaller file, a greater value give you a better video quality.</value>
</data>
<data name="VideoEncodingSpeedTooltip" xml:space="preserve">
<value>Define the ratio 'file size' versus 'compression duration'. A slow compression will give you a smaller file (for the same video quality) than a faster compression.</value>
</data>
</root>
@@ -136,4 +136,10 @@ Special paths:
(p:v): my videos path
(p:p): my pictures path</value>
</data>
<data name="VideoEncodingQualityTooltip" xml:space="preserve">
<value>Define the ratio 'file size' versus 'video quality'. A lower value will give you a smaller file, a greater value give you a better video quality.</value>
</data>
<data name="VideoEncodingSpeedTooltip" xml:space="preserve">
<value>Define the ratio 'file size' versus 'compression duration'. A slow compression will give you a smaller file (for the same video quality) than a faster compression.</value>
</data>
</root>
@@ -112,16 +112,19 @@
<DataTemplate x:Key="MkvSettingsDataTemplate">
<StackPanel>
<Label Content="Video" FontWeight="Bold" />
<DockPanel>
<Label Content="Quality :" />
<Label Content="Video" FontWeight="Bold" />
<Label Content="(H.264)" FontWeight="Light" Foreground="#004B82" />
</DockPanel>
<DockPanel>
<Label Content="Quality :" ToolTip="{x:Static project:Resources.VideoEncodingQualityTooltip}"/>
<Slider x:Name="QualitySlider" Value="{Binding SelectedPreset.Settings, ConverterParameter=VideoQuality|System.Double, Converter={StaticResource ConversionSettingsToValueType}, ElementName=window, Mode=TwoWay, TargetNullValue=23}"
Margin="0,2,0,0" VerticalAlignment="Top" AutoToolTipPlacement="TopLeft" IsSnapToTickEnabled="True" IsSelectionRangeEnabled="True" SelectionStart="23" SelectionEnd="33" Minimum="0" Maximum="51" TickPlacement="BottomRight" SmallChange="3" LargeChange="6" TickFrequency="1" Foreground="#004B82" />
</DockPanel>
<Label Content="Recommended quality range in blue" Foreground="#E5004B82" FontSize="11" />
<DockPanel>
<Label Content="Encoding speed :" />
<Label Content="Encoding speed :" ToolTip="{x:Static project:Resources.VideoEncodingSpeedTooltip}" />
<ComboBox SelectedValue="{Binding SelectedPreset.Settings, ConverterParameter=VideoEncodingSpeed|System.String, Converter={StaticResource ConversionSettingsToValueType}, ElementName=window, Mode=TwoWay, TargetNullValue=veryslow}">
<System:String>Ultra Fast</System:String>
<System:String>Super Fast</System:String>
@@ -135,7 +138,10 @@
</ComboBox>
</DockPanel>
<Label Content="Audio" FontWeight="Bold" />
<DockPanel>
<Label Content="Audio" FontWeight="Bold" />
<Label Content="(AAC)" FontWeight="Light" Foreground="#004B82" />
</DockPanel>
<DockPanel>
<Label Content="Quality :" />
<controls:EncodingQualitySliderControl x:Name="EncodingQualitySlider" EncodingMode="AacVBR"
@@ -197,7 +203,7 @@
<Grid Grid.Row="1">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="122"/>
<ColumnDefinition Width="130"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>