Files
UVtools/UVtools.WPF/Controls/Tools/ToolEditParametersControl.axaml
T
Tiago Conceição e9ffb17e36 v2.6.2
* (Add) Edit print paramenters: Option to enable or disable the 'Propagate modifications to layers' when working with global parameters
* **(Fix) Change resolution:**
   * It was placing the object on random layers on the wrong position, shifting the object
   * Add informaton on the too description to warn about diferent pixel pitch for target printer
   * Add current pixel pitch in microns if available
* (Fix) Exposure time finder: Multiple exposures was getting bottom and normal time from base file instead of commum properties fields
2021-03-05 21:50:53 +00:00

93 lines
2.9 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"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="UVtools.WPF.Controls.Tools.ToolEditParametersControl">
<StackPanel Spacing="10">
<CheckBox
IsChecked="{Binding Operation.PropagateModificationsToLayers}"
IsVisible="{Binding !Operation.PerLayerOverride}"
ToolTip.Tip="If enabled it will propagate and update all layers based on the new values.
&#x0a;If disabled it will only set the modifications to the global settings / file header."
Content="Propagate modifications to layers"/>
<CheckBox
IsChecked="{Binding Operation.PerLayerOverride}"
IsVisible="{Binding SlicerFile.SupportPerLayerSettings}"
Content="Change settings per a layer range"/>
<StackPanel Orientation="Horizontal" Spacing="5" IsVisible="{Binding Operation.PerLayerOverride}">
<TextBlock
VerticalAlignment="Center"
Text="Sequentially set each"/>
<NumericUpDown
VerticalAlignment="Center"
Minimum="1"
Maximum="100000"
Increment="1"
Value="{Binding Operation.SetNumberOfLayer}"/>
<TextBlock
VerticalAlignment="Center"
Text="layers, and skip the next"/>
<NumericUpDown
VerticalAlignment="Center"
Minimum="0"
Maximum="100000"
Increment="1"
Value="{Binding Operation.SkipNumberOfLayer}"/>
<TextBlock
VerticalAlignment="Center"
Text="layers"/>
</StackPanel>
<Grid
Name="grid"
RowDefinitions="Auto"
ColumnDefinitions="Auto,Auto,*,Auto,Auto"
VerticalAlignment="Center"
ShowGridLines="True">
<TextBlock
Grid.Column="0"
VerticalAlignment="Center"
FontWeight="Bold"
Padding="15"
Text="Property"/>
<TextBlock
Grid.Column="1"
VerticalAlignment="Center"
HorizontalAlignment="Center"
FontWeight="Bold"
Padding="15"
Text="Old value"/>
<TextBlock
Grid.Column="2"
VerticalAlignment="Center"
HorizontalAlignment="Center"
FontWeight="Bold"
Padding="15"
Text="New value"/>
<TextBlock
Grid.Column="3"
VerticalAlignment="Center"
FontWeight="Bold"
Padding="15"
Text="Unit"/>
<TextBlock
Grid.Column="4"
VerticalAlignment="Center"
HorizontalAlignment="Center"
FontWeight="Bold"
Padding="15"
Text="Reset"/>
</Grid>
</StackPanel>
</UserControl>