2026-02-28 21:48:05 +01:00
|
|
|
<UserControl xmlns="https://github.com/avaloniaui"
|
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
2026-05-24 19:07:17 +02:00
|
|
|
xmlns:controls="clr-namespace:ImageCatalog_2.Controls"
|
2026-02-28 21:48:05 +01:00
|
|
|
x:Class="ImageCatalog_2.AvaloniaViews.GeneralTabView">
|
|
|
|
|
<ScrollViewer>
|
2026-03-12 23:40:41 +01:00
|
|
|
<StackPanel Margin="4" Spacing="8">
|
2026-02-28 21:48:05 +01:00
|
|
|
<TextBlock Text="Percorsi" FontWeight="Bold" />
|
2026-03-12 23:40:41 +01:00
|
|
|
<StackPanel Margin="0,2,0,0" Spacing="6">
|
2026-05-24 19:07:17 +02:00
|
|
|
<controls:PathPickerField Margin="0,0,0,2"
|
|
|
|
|
Label="Sorgente:"
|
|
|
|
|
Text="{Binding SourcePath, Mode=TwoWay}"
|
|
|
|
|
PreferenceKey="Picker.SourceFolder.LastPath"
|
|
|
|
|
PickerTitle="Seleziona cartella sorgente"
|
|
|
|
|
PickerMode="Folder"
|
|
|
|
|
AppendDirectorySeparator="True" />
|
|
|
|
|
<controls:PathPickerField Label="Destinazione:"
|
|
|
|
|
Text="{Binding DestinationPath, Mode=TwoWay}"
|
|
|
|
|
PreferenceKey="Picker.DestinationFolder.LastPath"
|
|
|
|
|
PickerTitle="Seleziona cartella destinazione"
|
|
|
|
|
PickerMode="Folder"
|
|
|
|
|
AppendDirectorySeparator="True" />
|
2026-02-28 21:48:05 +01:00
|
|
|
</StackPanel>
|
|
|
|
|
|
2026-03-12 23:40:41 +01:00
|
|
|
<Grid ColumnDefinitions="*,*" ColumnSpacing="24" Margin="0,4,0,0">
|
|
|
|
|
<StackPanel Grid.Column="0" Spacing="8">
|
|
|
|
|
<TextBlock Text="Opzioni" FontWeight="Bold" />
|
|
|
|
|
<StackPanel Margin="0,2,0,0" Spacing="3">
|
|
|
|
|
<CheckBox Content="Forza JPEG" IsChecked="{Binding ForceJpeg}" />
|
|
|
|
|
<CheckBox Content="Aggiorna sottodirectory" IsChecked="{Binding UpdateSubdirectories}" />
|
|
|
|
|
<CheckBox Content="Crea sottocartelle" IsChecked="{Binding CreateSubfolders}" />
|
|
|
|
|
<CheckBox Content="Sovrascrivi immagini" IsChecked="{Binding OverwriteImages}" />
|
|
|
|
|
</StackPanel>
|
2026-02-28 21:48:05 +01:00
|
|
|
|
2026-03-12 23:40:41 +01:00
|
|
|
<TextBlock Text="Elaborazione" FontWeight="Bold" />
|
|
|
|
|
<Grid ColumnDefinitions="Auto,74,Auto,74" ColumnSpacing="8" RowDefinitions="Auto">
|
|
|
|
|
<TextBlock Text="Threads:" VerticalAlignment="Center" Grid.Column="0" />
|
|
|
|
|
<TextBox Text="{Binding ThreadsCount, Mode=TwoWay}" Width="74" Grid.Column="1" />
|
|
|
|
|
<TextBlock Text="Chunk:" VerticalAlignment="Center" Grid.Column="2" />
|
|
|
|
|
<TextBox Text="{Binding ChunkSize, Mode=TwoWay}" Width="74" Grid.Column="3" />
|
|
|
|
|
</Grid>
|
|
|
|
|
</StackPanel>
|
2026-02-28 21:48:05 +01:00
|
|
|
|
2026-03-12 23:40:41 +01:00
|
|
|
<StackPanel Grid.Column="1" Spacing="8">
|
|
|
|
|
<TextBlock Text="Divisione cartelle" FontWeight="Bold" />
|
|
|
|
|
<Grid ColumnDefinitions="Auto,78,Auto,*" ColumnSpacing="8" RowDefinitions="Auto">
|
|
|
|
|
<TextBlock Text="File per cartella:" VerticalAlignment="Center" Grid.Column="0" />
|
|
|
|
|
<TextBox Text="{Binding FilesPerFolder}" Width="78" Grid.Column="1" />
|
|
|
|
|
<TextBlock Text="Suffisso:" VerticalAlignment="Center" Grid.Column="2" />
|
|
|
|
|
<TextBox Text="{Binding FolderSuffix}" MinWidth="120" Grid.Column="3" />
|
|
|
|
|
</Grid>
|
2026-02-28 21:48:05 +01:00
|
|
|
|
2026-03-12 23:40:41 +01:00
|
|
|
<TextBlock Text="Numerazione" FontWeight="Bold" />
|
|
|
|
|
<StackPanel Margin="0,2,0,0" Spacing="6">
|
|
|
|
|
<StackPanel Orientation="Horizontal" Spacing="12">
|
|
|
|
|
<RadioButton Content="Progressiva" IsChecked="{Binding UseProgressiveNumbering}" GroupName="Num" />
|
|
|
|
|
<RadioButton Content="Per file" IsChecked="{Binding UseFileNumbering}" GroupName="Num" />
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<Grid ColumnDefinitions="Auto,64,*" ColumnSpacing="8">
|
|
|
|
|
<TextBlock Text="Cifre:" VerticalAlignment="Center" Grid.Column="0" />
|
|
|
|
|
<TextBox Text="{Binding CounterDigits}" Width="64" Grid.Column="1" />
|
|
|
|
|
</Grid>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Grid>
|
2026-02-28 21:48:05 +01:00
|
|
|
</StackPanel>
|
|
|
|
|
</ScrollViewer>
|
|
|
|
|
</UserControl>
|