summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Views/QueueSelectionView.xaml
diff options
context:
space:
mode:
authorsr55 <[email protected]>2013-05-19 17:41:51 +0000
committersr55 <[email protected]>2013-05-19 17:41:51 +0000
commitdf40df10c06a92609979c34dc461d9807669cc54 (patch)
tree42c170d321dbaec15872e1142a7a760ee62b74a1 /win/CS/HandBrakeWPF/Views/QueueSelectionView.xaml
parent39d5addd4f0772fe45811be4a3b1e3305785866e (diff)
WinGui: Some additional work on my prototype batch add to queue feature.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5486 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/Views/QueueSelectionView.xaml')
-rw-r--r--win/CS/HandBrakeWPF/Views/QueueSelectionView.xaml22
1 files changed, 16 insertions, 6 deletions
diff --git a/win/CS/HandBrakeWPF/Views/QueueSelectionView.xaml b/win/CS/HandBrakeWPF/Views/QueueSelectionView.xaml
index b46b07ff5..5e645dc7b 100644
--- a/win/CS/HandBrakeWPF/Views/QueueSelectionView.xaml
+++ b/win/CS/HandBrakeWPF/Views/QueueSelectionView.xaml
@@ -4,6 +4,8 @@
xmlns:cal="http://www.caliburnproject.org"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+ xmlns:Conveters="clr-namespace:HandBrakeWPF.Converters"
+ xmlns:Properties="clr-namespace:HandBrakeWPF.Properties"
Title="{Binding Title}"
Width="450"
MaxHeight="450"
@@ -18,6 +20,8 @@
<Setter Property="ToolTipService.ShowDuration" Value="20000" />
<Setter Property="Margin" Value="0,2,0,2" />
</Style>
+
+ <Conveters:BooleanToVisibilityConverter x:Key="boolToVisConverter" />
</Window.Resources>
<Grid HorizontalAlignment="Stretch"
@@ -33,17 +37,18 @@
<!-- Header -->
<StackPanel Grid.Row="0"
- Height="30"
+ Height="36"
Margin="0,0,0,10"
Background="White"
Orientation="Horizontal">
- <Image Width="24"
- Height="24"
+ <Image Width="32"
+ Height="32"
Margin="10,0,5,0"
VerticalAlignment="Center"
Source="Images/AddToQueue_small.png" />
<StackPanel VerticalAlignment="Center" Orientation="Vertical">
- <TextBlock FontWeight="Bold" Text="Queue Multiple Items" />
+ <TextBlock FontWeight="Bold" Text="Add to Queue" />
+ <TextBlock Text="*** Experimental ***" />
</StackPanel>
</StackPanel>
@@ -70,7 +75,7 @@
<ListBox.ContextMenu>
<ContextMenu>
<MenuItem Header="Select All" cal:Message.Attach="[Event Click] = [Action SelectAll]" />
- <MenuItem Header="Select All" cal:Message.Attach="[Event Click] = [Action UnSelectAll]" />
+ <MenuItem Header="Deselect All" cal:Message.Attach="[Event Click] = [Action UnSelectAll]" />
<Separator />
<MenuItem Header="Order by Title" IsChecked="{Binding OrderedByTitle}" cal:Message.Attach="[Event Click] = [Action OrderByTitle]" />
<MenuItem Header="Order by Duration" IsChecked="{Binding OrderedByDuration}" cal:Message.Attach="[Event Click] = [Action OrderByDuration]" />
@@ -109,7 +114,12 @@
<!-- Checlist -->
<StackPanel Orientation="Vertical" Grid.Row="3" Margin="10,10,10,0">
- <TextBlock Text="Checklist " />
+ <TextBlock Text="{x:Static Properties:Resources.QueueSelection_AutoTrackSelectionWarning}"
+ TextWrapping="Wrap" Visibility="{Binding IsAutomaticTrackSelectionEnabled, Converter={StaticResource boolToVisConverter}, ConverterParameter=true}"
+ Margin="0,0,0,10"/>
+
+ <TextBlock Text="{x:Static Properties:Resources.QueueSelection_AutoNameWarning}"
+ TextWrapping="Wrap" Visibility="{Binding IsAutoNamingEnabled, Converter={StaticResource boolToVisConverter}, ConverterParameter=true}"/>
</StackPanel>
<!-- Controls -->