Files
UVtools/UVtools.WPF/Windows/ProgressWindow.axaml
T
Tiago Conceição e727a097b3 v3.8.1
- **Tools:**
  - **PCB Exposure:**
    - (Add) Allow to scale the drawing sizes per gerber file
    - (Add) Allow to invert the drawing polarity per gerber file (#592)
    - (Add) Allow to drag and drop files into "Add files" button and grid header
    - (Improvement) Do not add empty layers when usable to draw or when draw a all black image
    - (Improvement) "Merge all gerbers into one layer" will now draw all gerber into one image instead of perform the Max(of all gerbers pixels), allowing to subtract areas as they are on gerbers
  - **Import layers:** Fix error when trying to insert layers
  - **Export layers images:** Better compression of contours for SVG export, resulting in smooth curves, better visuals and lower file size
- (Add) Outline: Triangulate
- (Remove) Avalonia.Diagnostics dependency in release mode
2022-11-02 23:39:21 +00:00

61 lines
2.0 KiB
XML

<controls:WindowEx xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:controls="clr-namespace:UVtools.WPF.Controls"
mc:Ignorable="d" d:DesignWidth="400" d:DesignHeight="400"
x:Class="UVtools.WPF.Windows.ProgressWindow"
Title="ProgressWindow"
CanResize="False"
ShowInTaskbar="False"
WindowStartupLocation="CenterOwner"
MinWidth="450"
SizeToContent="WidthAndHeight"
SystemDecorations="BorderOnly"
Icon="/Assets/Icons/UVtools.ico"
>
<Border
BorderBrush="WhiteSmoke"
BorderThickness="5"
CornerRadius="5"
>
<Grid RowDefinitions="Auto,Auto,Auto,Auto"
ColumnDefinitions="*"
>
<TextBlock
Grid.Row="0"
Margin="10" Text="{Binding Progress.Title}"/>
<TextBlock
Grid.Row="1"
Margin="10,0,10,10" Text="{Binding Progress.ElapsedTimeStr, StringFormat=Elapsed Time: {0}}"/>
<TextBlock
Grid.Row="2"
Margin="10,0,10,10" Text="{Binding Progress.Description}" HorizontalAlignment="Center"/>
<Grid
Grid.Row="3"
RowDefinitions="30" ColumnDefinitions="*,100">
<ProgressBar
Grid.Column="0"
Minimum="0"
Maximum="100"
VerticalAlignment="Stretch"
IsIndeterminate="{Binding Progress.IsIndeterminate}"
Value="{Binding Progress.ProgressPercent}" ShowProgressText="True"/>
<Button
IsEnabled="{Binding CanCancel}"
Command="{Binding OnClickCancel}"
Grid.Column="1"
IsCancel="True"
VerticalAlignment="Stretch"
HorizontalAlignment="Stretch"
VerticalContentAlignment="Center"
HorizontalContentAlignment="Center"
Content="Cancel"
/>
</Grid>
</Grid>
</Border>
</controls:WindowEx>