87 lines
3.4 KiB
XML
87 lines
3.4 KiB
XML
<Window x:Class="Orbit.AfterEffects.Controls.Dialogs.SubmitDialog"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:editors="http://schemas.actiprosoftware.com/winfx/xaml/editors"
|
|
xmlns:themes="http://schemas.actiprosoftware.com/winfx/xaml/themes"
|
|
xmlns:shared="http://schemas.actiprosoftware.com/winfx/xaml/shared"
|
|
mc:Ignorable="d"
|
|
Width="450"
|
|
Height="650"
|
|
Title="Submit to Deadline"
|
|
WindowStartupLocation="CenterOwner"
|
|
d:DesignHeight="600" d:DesignWidth="800">
|
|
<themes:WindowChrome.Chrome>
|
|
<themes:WindowChrome IconSource="../../Resources/rocket.png" IconMargin="4">
|
|
</themes:WindowChrome>
|
|
</themes:WindowChrome.Chrome>
|
|
<Grid Margin="10">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"></RowDefinition>
|
|
<RowDefinition Height="*"></RowDefinition>
|
|
</Grid.RowDefinitions>
|
|
<StackPanel Orientation="Vertical">
|
|
|
|
<TextBlock Text="{Binding Filename}" Margin="0 5" FontWeight="Bold" FontSize="16" HorizontalAlignment="Center"></TextBlock>
|
|
|
|
<TextBlock Text="Comment" Margin="0 5"></TextBlock>
|
|
<shared:ResizableContentControl MinHeight="90" MaxHeight="160" Margin="0 5" ResizeMode="Vertical">
|
|
<TextBox TextWrapping="Wrap" AcceptsReturn="True" Text="{Binding Comment}"></TextBox>
|
|
</shared:ResizableContentControl>
|
|
|
|
<TextBlock Text="Priority" Margin="0 5"></TextBlock>
|
|
<editors:Int16EditBox Margin="0 5" Value="{Binding Priority}"></editors:Int16EditBox>
|
|
|
|
<TextBlock Text="Group" Margin="0 5"></TextBlock>
|
|
<ComboBox Margin="0 5" ItemsSource="{Binding Groups}" SelectedValue="{Binding SelectedGroup}"></ComboBox>
|
|
|
|
<TextBlock Text="Frames Per Task" Margin="0 5"></TextBlock>
|
|
<editors:Int16EditBox Margin="0 5" Value="{Binding FramesPerTask}" Minimum="10" Maximum="100"></editors:Int16EditBox>
|
|
|
|
<TextBlock Text="Frames size in Kb" Margin="0 5"></TextBlock>
|
|
<editors:Int16EditBox Margin="0 5" Value="{Binding FramesSize}" Minimum="1" Maximum="100"></editors:Int16EditBox>
|
|
|
|
<TextBlock Text="Shotgun Task" Margin="0 5"></TextBlock>
|
|
<ComboBox Margin="0 5" ItemsSource="{Binding TaskNames}" SelectedValue="{Binding SelectedTask}"></ComboBox>
|
|
|
|
<CheckBox Content="Submit as suspended" Margin="0 5" IsChecked="{Binding SubmitAsSuspended}"></CheckBox>
|
|
</StackPanel>
|
|
|
|
<StackPanel Grid.Row="1" VerticalAlignment="Bottom" Orientation="Horizontal" HorizontalAlignment="Center" Margin="0 10">
|
|
<Button x:Name="ButtonSubmit" MinWidth="180" VerticalAlignment="Bottom" Content="Submit" Background="{DynamicResource {x:Static themes:AssetResourceKeys.AccentBackgroundActiveNormalBrushKey}}" Height="36" Foreground="White" FontWeight="Bold" Click="ButtonSubmit_OnClick"></Button>
|
|
<Button Content="Cancel" HorizontalAlignment="Stretch" MinWidth="180" Margin="10 0 0 0" IsCancel="True" IsDefault="True" Height="36"></Button>
|
|
</StackPanel>
|
|
</Grid>
|
|
</Window>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|