mirror of
https://github.com/riegera2412/UVtools.git
synced 2026-07-11 19:12:31 +02:00
15c500ecaf
- **PCB Exposure:** - (Add) Able to select multiple files and create a layer per file or merge them into one layer - (Add) Able to import files from a zip file - (Improvement) Round pixel coordinates and line thickness - (Improvement) Better position precision for primitives - (Improvement) Disable the ok button if no files were selected - (Change) Do not auto mirror based on printer lcd mirror type - (Fix) Limit line thickness to 1px minimum - (Fix) Allow leading zero omit from XY coordinates (#492) - (Fix) Mirror option was shifting the board position - (Add) Calibrate - Blooming effect: Generates test models with various strategies and increments to measure the blooming effect - (Add) Setting: Issues - Default order by, changes the default order on the issues list (#482) - (Improvement) CTBv4 and encrypted: Fetch `BottomWaitTimes` virtual property from first bottom layer that has at least 2 pixels (#483) - (Fix) Linux: Enable desktop integration for AppImages (#490) - (Fix) Extracting zip contents inside folders would cause a error and not extract those contents - (Upgrade) AvaloniaUI from 0.10.14 to 0.10.15 [Fixes auto-size problems]
68 lines
3.7 KiB
XML
68 lines
3.7 KiB
XML
<UserControl 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:i="clr-namespace:Projektanker.Icons.Avalonia;assembly=Projektanker.Icons.Avalonia"
|
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
|
x:Class="UVtools.WPF.Controls.Tools.ToolLayerExportImageControl">
|
|
<StackPanel Orientation="Vertical" Spacing="10">
|
|
<Grid RowDefinitions="Auto,10,Auto,10,Auto,10,Auto,10,Auto,10,Auto,10,Auto"
|
|
ColumnDefinitions="Auto,10,500,5,Auto">
|
|
<TextBlock Grid.Row="0" Grid.Column="0"
|
|
VerticalAlignment="Center"
|
|
Text="Output folder:"/>
|
|
<TextBox Grid.Row="0" Grid.Column="2"
|
|
VerticalAlignment="Center"
|
|
IsReadOnly="True"
|
|
Text="{Binding Operation.OutputFolder}"/>
|
|
<Button Grid.Row="0" Grid.Column="4"
|
|
VerticalAlignment="Stretch"
|
|
Command="{Binding ChooseFolder}"
|
|
i:Attached.Icon="fa-solid fa-folder"/>
|
|
|
|
<TextBlock Grid.Row="2" Grid.Column="0"
|
|
VerticalAlignment="Center"
|
|
Text="Prepend filename:"/>
|
|
<TextBox Grid.Row="2" Grid.Column="2" Grid.ColumnSpan="3"
|
|
VerticalAlignment="Center"
|
|
Text="{Binding Operation.Filename}"/>
|
|
|
|
<TextBlock Grid.Row="4" Grid.Column="0"
|
|
VerticalAlignment="Center"
|
|
Text="Image type:"/>
|
|
<ComboBox Grid.Row="4" Grid.Column="2" Grid.ColumnSpan="3"
|
|
HorizontalAlignment="Stretch"
|
|
Items="{Binding Operation.ImageType, Converter={StaticResource EnumToCollectionConverter}, Mode=OneTime}"
|
|
SelectedItem="{Binding Operation.ImageType, Converter={StaticResource FromValueDescriptionToEnumConverter}}"/>
|
|
|
|
<TextBlock Grid.Row="6" Grid.Column="0"
|
|
VerticalAlignment="Center"
|
|
Text="Rotate direction:"/>
|
|
<ComboBox Grid.Row="6" Grid.Column="2" Grid.ColumnSpan="3"
|
|
HorizontalAlignment="Stretch"
|
|
Items="{Binding Operation.RotateDirection, Converter={StaticResource EnumToCollectionConverter}, Mode=OneTime}"
|
|
SelectedItem="{Binding Operation.RotateDirection, Converter={StaticResource FromValueDescriptionToEnumConverter}}"/>
|
|
|
|
<TextBlock Grid.Row="8" Grid.Column="0"
|
|
VerticalAlignment="Center"
|
|
Text="Flip direction:"/>
|
|
<ComboBox Grid.Row="8" Grid.Column="2" Grid.ColumnSpan="3"
|
|
HorizontalAlignment="Stretch"
|
|
Items="{Binding Operation.FlipDirection, Converter={StaticResource EnumToCollectionConverter}, Mode=OneTime}"
|
|
SelectedItem="{Binding Operation.FlipDirection, Converter={StaticResource FromValueDescriptionToEnumConverter}}"/>
|
|
|
|
<CheckBox Grid.Row="10" Grid.Column="2"
|
|
ToolTip.Tip="Example:

|
|
Enabled: layer0010

|
|
Disabled: layer10"
|
|
Content="Pad layer index filename with left zeros"
|
|
IsChecked="{Binding Operation.PadLayerIndex}"/>
|
|
|
|
<CheckBox Grid.Row="12" Grid.Column="2"
|
|
Content="Crop image by selected ROI"
|
|
IsVisible="{Binding ParentWindow.IsROIVisible}"
|
|
IsChecked="{Binding Operation.CropByROI}"/>
|
|
</Grid>
|
|
</StackPanel>
|
|
</UserControl>
|