66 lines
2.7 KiB
XML
66 lines
2.7 KiB
XML
<Window x:Class="EmbyToolbox.Views.AddFilesOptionsDialog"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
Title="Параметры добавления"
|
|
Width="520"
|
|
Height="300"
|
|
ResizeMode="NoResize"
|
|
WindowStartupLocation="CenterOwner"
|
|
Background="{DynamicResource Ui.Brush.Surface}">
|
|
<Grid Margin="14">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="*" />
|
|
<RowDefinition Height="Auto" />
|
|
</Grid.RowDefinitions>
|
|
|
|
<StackPanel Grid.Row="0"
|
|
Margin="0,0,0,12">
|
|
<TextBlock Text="Профиль для новых строк"
|
|
Style="{StaticResource UiTextCaption}"
|
|
Margin="0,0,0,6" />
|
|
<ComboBox Style="{StaticResource UiCombo}"
|
|
ItemsSource="{Binding Profiles}"
|
|
SelectedItem="{Binding SelectedProfile, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}">
|
|
<ComboBox.ItemTemplate>
|
|
<DataTemplate>
|
|
<TextBlock Text="{Binding Profile, Mode=OneWay}"
|
|
TextTrimming="CharacterEllipsis" />
|
|
</DataTemplate>
|
|
</ComboBox.ItemTemplate>
|
|
</ComboBox>
|
|
<TextBlock Text="Как обработать иностранные встроенные дорожки?"
|
|
TextWrapping="Wrap"
|
|
Style="{StaticResource UiTextBody}"
|
|
Margin="0,14,0,0" />
|
|
</StackPanel>
|
|
|
|
<StackPanel Grid.Row="1">
|
|
<RadioButton GroupName="AddFilesOptions"
|
|
Style="{DynamicResource UiRadio}"
|
|
Content="Оставить все дорожки"
|
|
IsChecked="{Binding OptionKeepAllTracks, Mode=TwoWay}"
|
|
Margin="0,0,0,8" />
|
|
<RadioButton GroupName="AddFilesOptions"
|
|
Style="{DynamicResource UiRadio}"
|
|
Content="Пометить иностранные аудио и субтитры на удаление"
|
|
IsChecked="{Binding OptionRemoveForeignTracks, Mode=TwoWay}" />
|
|
</StackPanel>
|
|
|
|
<StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,12,0,0">
|
|
<Button MinWidth="100"
|
|
Margin="0,0,8,0"
|
|
Style="{StaticResource UiButtonPrimary}"
|
|
Foreground="White"
|
|
Content="Добавить"
|
|
IsDefault="True"
|
|
Command="{Binding AddCommand}" />
|
|
<Button MinWidth="100"
|
|
Style="{StaticResource UiButtonSecondary}"
|
|
Content="Отмена"
|
|
IsCancel="True"
|
|
Command="{Binding CancelCommand}" />
|
|
</StackPanel>
|
|
</Grid>
|
|
</Window>
|