Again
This commit is contained in:
parent
68085e6157
commit
7117b2e4a8
13 changed files with 834 additions and 675 deletions
|
|
@ -5,12 +5,11 @@
|
|||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:wpfCatalog="clr-namespace:WPFCatalog"
|
||||
mc:Ignorable="d"
|
||||
d:DataContext="{d:DesignInstance wpfCatalog:MainWindowViewModel}"
|
||||
|
||||
|
||||
|
||||
Title="Image Catalog" Height="466" Width="772"
|
||||
|
||||
d:DataContext="{d:DesignInstance wpfCatalog:MainWindowViewModel}"
|
||||
>
|
||||
<!--d:DataContext="{d:DesignInstance wpfCatalog:MainWindowViewModel}"-->
|
||||
<Window.Resources>
|
||||
<Style x:Key="CommonStyle" TargetType="FrameworkElement">
|
||||
<Setter Property="Margin" Value="4" />
|
||||
|
|
@ -66,26 +65,35 @@
|
|||
<ColumnDefinition />
|
||||
<ColumnDefinition Width="400"/>
|
||||
<ColumnDefinition Width="30"/>
|
||||
<ColumnDefinition Width="30"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
|
||||
<Label Grid.Row="0" Grid.Column="0" Content="Sorgente"/>
|
||||
<TextBox Grid.Row="0" Grid.Column="1" x:Name="txtSorgente" Margin="0,5" Text="{Binding DirSorgente}" />
|
||||
<Button Grid.Row="0" Grid.Column="2" x:Name="btnOpenSorgente" Margin="5,5" Command="{Binding OpenSorgenteCommand}">
|
||||
<Button Grid.Row="0" Grid.Column="2" x:Name="btnSelectSorgente" Margin="5,5" Command="{Binding SelectSourceFolderCommand}">
|
||||
<Button.Content>
|
||||
<Image Source="Icons/document-open-6.png" />
|
||||
</Button.Content>
|
||||
</Button>
|
||||
|
||||
<Button Grid.Row="0" Grid.Column="3" x:Name="btnOpenSorgente" Margin="5,5" Command="{Binding OpenSourceFolderCommand}">
|
||||
<Button.Content>
|
||||
<Image Source="Icons/document-open-folder.png" />
|
||||
</Button.Content>
|
||||
</Button>
|
||||
|
||||
<Label Grid.Row="1" Grid.Column="0" Content="Destinazione"/>
|
||||
<TextBox Grid.Row="1" Grid.Column="1" x:Name="txtDestinazione" Margin="0,5" Text="{Binding DirDestinazione}"/>
|
||||
<Button Grid.Row="1" Grid.Column="2" x:Name="btnOpenDestinazione" Margin="5,5" Command="{Binding OpenDestinazioneCommand}">
|
||||
<Button Grid.Row="1" Grid.Column="2" x:Name="btnSelectDestinazione" Margin="5,5" Command="{Binding SelectDestinationFolderCommand}">
|
||||
<Button.Content>
|
||||
<Image Source="Icons/document-open-6.png" />
|
||||
</Button.Content>
|
||||
</Button>
|
||||
|
||||
<Button Grid.Row="1" Grid.Column="3" x:Name="btnOpenDestinazione" Margin="5.4,0,4.6,4.6" Command="{Binding OpenDestinationFolderCommand}" Height="19" VerticalAlignment="Bottom">
|
||||
<Button.Content>
|
||||
<Image Source="Icons/document-open-folder.png" />
|
||||
</Button.Content>
|
||||
</Button>
|
||||
<CheckBox Grid.Row="2" Grid.Column="1" Content="Aggiorna le sottodirectory" x:Name="chkAggiornaSottodirectory" IsChecked="{Binding DirAggiornaSottoDirectory}"/>
|
||||
|
||||
</Grid>
|
||||
|
|
@ -93,7 +101,7 @@
|
|||
</GroupBox>
|
||||
<GroupBox Header="Generale" Margin="2">
|
||||
<StackPanel Orientation="Vertical" >
|
||||
<CheckBox Content="Aggiorna JPG" x:Name="chkForzaJPG" IsChecked="{Binding GeneraleForzaJpg}" Margin="2"/>
|
||||
<CheckBox Content="Aggiorna JPG" x:Name="chkForzaJPG" IsChecked="{Binding GeneraleForzaJPG}" Margin="2"/>
|
||||
<CheckBox Content="Rotazione Automatica" x:Name="chkRotazioneAutomatica" IsChecked="{Binding GeneraleRotazioneAutomatica}" Margin="2"/>
|
||||
<CheckBox Content="Sovrascrivi File" x:Name="chkSovrascriviFile" IsChecked="{Binding GeneraleSovrascriviFile}" Margin="2"/>
|
||||
</StackPanel>
|
||||
|
|
@ -199,7 +207,8 @@
|
|||
<ColumnDefinition/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Label Grid.Row="0" Grid.Column="0" Content="Font"/>
|
||||
<ComboBox Grid.Row="0" Grid.Column="1" Grid.ColumnSpan="2" Width="100" HorizontalAlignment="Right" SelectedItem="{Binding CarattereFont}" /> <!--todo-->
|
||||
<ComboBox Grid.Row="0" Grid.Column="1" Grid.ColumnSpan="2" Width="100" HorizontalAlignment="Right" SelectedItem="{Binding CarattereFont}" />
|
||||
<!--todo-->
|
||||
|
||||
<CheckBox Grid.Row="0" Grid.Column="3" Content="Grassetto" VerticalAlignment="Center" IsChecked="{Binding CarattereGrassetto}" />
|
||||
|
||||
|
|
@ -278,7 +287,8 @@
|
|||
<TextBox Grid.Row="0" Grid.Column="2" Text="{Binding TestoApplicareTrasparenza}" />
|
||||
|
||||
<Label Grid.Row="1" Grid.Column="0" Content="Posizione" />
|
||||
<ComboBox Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2" /> <!--ToDo-->
|
||||
<ComboBox Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2" />
|
||||
<!--ToDo-->
|
||||
|
||||
<CheckBox Grid.Row="2" Grid.Column="1" Content="Orario" IsChecked="{Binding TestoApplicareOrario}"/>
|
||||
<CheckBox Grid.Row="2" Grid.Column="2" Content="Tempo Gara" IsChecked="{Binding TestoApplicareTempoGaraCheck}"/>
|
||||
|
|
@ -292,7 +302,8 @@
|
|||
<TextBox Grid.Row="1" Grid.Column="6" Grid.ColumnSpan="2" Text="{Binding TestoApplicareAllineamento}"/>
|
||||
|
||||
<Label Grid.Row="2" Grid.Column="5" Content="Partenza" />
|
||||
<ComboBox Grid.Row="2" Grid.Column="6" Grid.ColumnSpan="2" /> <!--todo-->
|
||||
<ComboBox Grid.Row="2" Grid.Column="6" Grid.ColumnSpan="2" />
|
||||
<!--todo-->
|
||||
</Grid>
|
||||
</StackPanel>
|
||||
</GroupBox>
|
||||
|
|
@ -392,10 +403,12 @@
|
|||
<TextBox Grid.Row="4" Grid.Column="1" Grid.ColumnSpan="2" Text="{Binding LogoMargine}" />
|
||||
|
||||
<Label Grid.Row="5" Grid.Column="0" Content="Posizione Orizzontale" />
|
||||
<ComboBox Grid.Row="5" Grid.Column="1" Grid.ColumnSpan="2" /> <!--todo-->
|
||||
<ComboBox Grid.Row="5" Grid.Column="1" Grid.ColumnSpan="2" />
|
||||
<!--todo-->
|
||||
|
||||
<Label Grid.Row="6" Grid.Column="0" Content="Posizione Verticale" />
|
||||
<ComboBox Grid.Row="6" Grid.Column="1" Grid.ColumnSpan="2" /> <!--todo-->
|
||||
<ComboBox Grid.Row="6" Grid.Column="1" Grid.ColumnSpan="2" />
|
||||
<!--todo-->
|
||||
|
||||
<Label Grid.Row="7" Grid.Column="0" Content="Colore Trasparente" />
|
||||
<Image Grid.Row="7" Grid.Column="1" Width="24" Height="24" HorizontalAlignment="Left" />
|
||||
|
|
@ -411,7 +424,14 @@
|
|||
</TabControl>
|
||||
<StackPanel DockPanel.Dock="Right" Orientation="Vertical">
|
||||
<GroupBox DockPanel.Dock="Right" Header="Statistiche">
|
||||
<Button Content="STOP" Width="192" Command="{Binding StopCommand}"/>
|
||||
<StackPanel Orientation="Vertical">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Button Content="Carica Impostazioni" Command="{Binding ImportSettingsCommand}"></Button>
|
||||
<Button Content="Salva Impostazioni" Command="{Binding ExportSettingsCommand}" ></Button>
|
||||
</StackPanel>
|
||||
<Button Content="Start"></Button>
|
||||
<Button Content="STOP" Command="{Binding StopCommand}"/>
|
||||
</StackPanel>
|
||||
</GroupBox>
|
||||
</StackPanel>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue