mirror of
https://github.com/riegera2412/UVtools.git
synced 2026-07-10 18:42:33 +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]
65 lines
2.4 KiB
XML
65 lines
2.4 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.ToolScriptingControl">
|
|
<StackPanel Orientation="Vertical">
|
|
<Grid RowDefinitions="Auto"
|
|
ColumnDefinitions="Auto,10,500,5,Auto">
|
|
|
|
<TextBlock Grid.Row="0" Grid.Column="0"
|
|
Text="Script file:"
|
|
VerticalAlignment="Center"/>
|
|
|
|
<TextBox Grid.Row="0" Grid.Column="2"
|
|
IsReadOnly="True"
|
|
Text="{Binding Operation.FilePath}" />
|
|
|
|
<StackPanel Grid.Row="0" Grid.Column="4"
|
|
Orientation="Horizontal" Spacing="1">
|
|
<Button
|
|
ToolTip.Tip="Load script file"
|
|
VerticalAlignment="Center"
|
|
Command="{Binding LoadScript}"
|
|
i:Attached.Icon="fa-solid fa-file-import"/>
|
|
|
|
<Button
|
|
IsEnabled="{Binding Operation.HaveFile}"
|
|
ToolTip.Tip="Reloads the script"
|
|
VerticalAlignment="Center"
|
|
Command="{Binding ReloadScript}"
|
|
i:Attached.Icon="fa-solid fa-sync-alt"/>
|
|
|
|
<Button
|
|
IsEnabled="{Binding Operation.HaveFile}"
|
|
ToolTip.Tip="Open the script folder"
|
|
VerticalAlignment="Center"
|
|
Command="{Binding OpenScriptFolder}"
|
|
i:Attached.Icon="fa-solid fa-folder"/>
|
|
|
|
<Button
|
|
IsEnabled="{Binding Operation.HaveFile}"
|
|
ToolTip.Tip="Open the script file"
|
|
VerticalAlignment="Center"
|
|
Command="{Binding OpenScriptFile}"
|
|
i:Attached.Icon="fa-solid fa-file-code"/>
|
|
</StackPanel>
|
|
|
|
</Grid>
|
|
|
|
<StackPanel
|
|
Name="ScriptConfigurationPanel"
|
|
IsVisible="{Binding Operation.CanExecute}"
|
|
Margin="0,10" Spacing="5"/>
|
|
|
|
<Grid
|
|
Name="ScriptVariablesGrid"
|
|
IsVisible="{Binding Operation.CanExecute}"
|
|
ColumnDefinitions="Auto,10,Auto,5,Auto">
|
|
|
|
</Grid>
|
|
</StackPanel>
|
|
</UserControl>
|