|
11 | 11 | xmlns:model="clr-namespace:SmartImage.UI.Model" |
12 | 12 | xmlns:diag="clr-namespace:System.Diagnostics;assembly=WindowsBase" |
13 | 13 | DataContext="{Binding RelativeSource={RelativeSource Self}}" |
14 | | - mc:Ignorable="d" Height="600" Width="1300" MinWidth="1300" MinHeight="300" Loaded="Wnd_Main_Loaded" |
| 14 | + mc:Ignorable="d" Height="600" Width="1315" MinWidth="1315" MinHeight="300" Loaded="Wnd_Main_Loaded" |
15 | 15 | Closed="Wnd_Main_Closed" |
16 | 16 | Closing="Wnd_Main_Closing" Title="SmartImage" Unloaded="Wnd_Main_Unloaded" Background="#FF191919" |
17 | 17 | KeyDown="Wnd_Main_KeyDown"> |
|
171 | 171 |
|
172 | 172 | <Button x:Name="Btn_Run" Content="Run" HorizontalAlignment="Left" Margin="499,8,0,0" |
173 | 173 | VerticalAlignment="Top" Click="Btn_Run_Click" Height="20" FontWeight="Bold" |
174 | | - Loaded="Btn_Run_Loaded" Width="35"> |
| 174 | + Loaded="Btn_Run_Loaded" Width="35" ToolTip="Run search"> |
175 | 175 |
|
176 | 176 | <Button.Style> |
177 | 177 | <Style TargetType="{x:Type Button}"> |
|
206 | 206 |
|
207 | 207 | <Button x:Name="Btn_Cancel" |
208 | 208 | BorderBrush="{DynamicResource Border2}" Content="Cancel" |
209 | | - HorizontalAlignment="Left" Margin="539,8,0,0" |
| 209 | + HorizontalAlignment="Left" Margin="539,8,0,0" ToolTip="Cancel current operation(s)" |
210 | 210 | VerticalAlignment="Top" Click="Btn_Cancel_Click" Height="20" Width="39"> |
211 | 211 |
|
212 | 212 | <Button.Style> |
|
242 | 242 | </Button> |
243 | 243 | <Button x:Name="Btn_Remove" Content="Remove" |
244 | 244 | HorizontalAlignment="Left" Margin="583,8,0,0" VerticalAlignment="Top" |
245 | | - Click="Btn_Remove_Click" Height="20" Width="46" |
246 | | - IsEnabled="{Binding Path=CurrentQueueItem.HasQuery, UpdateSourceTrigger=PropertyChanged, ElementName=Wnd_Main}"> |
| 245 | + Click="Btn_Remove_Click" Height="20" Width="46" ToolTip="Remove query from queue"> |
247 | 246 |
|
248 | 247 | <Button.Style> |
249 | 248 | <Style TargetType="{x:Type Button}"> |
|
278 | 277 | </Button> |
279 | 278 | <Button x:Name="Btn_Delete" Content="Delete" |
280 | 279 | HorizontalAlignment="Left" Margin="634,8,0,0" VerticalAlignment="Top" |
281 | | - Click="Btn_Delete_Click" Height="20" Width="39" IsEnabled="{Binding Path=CurrentQueueItem.CanDelete, UpdateSourceTrigger=PropertyChanged, ElementName=Wnd_Main}"> |
| 280 | + Click="Btn_Delete_Click" Height="20" Width="39" ToolTip="Delete query file (Recycle Bin)" |
| 281 | + IsEnabled="{Binding Path=CurrentQueueItem.CanDelete, UpdateSourceTrigger=PropertyChanged, ElementName=Wnd_Main}"> |
282 | 282 |
|
283 | 283 | <Button.Style> |
284 | 284 | <Style TargetType="{x:Type Button}"> |
|
454 | 454 | <TextBox x:Name="Tb_Upload" HorizontalAlignment="Left" Margin="57,37,0,0" TextWrapping="Wrap" |
455 | 455 | VerticalAlignment="Top" Width="437" IsReadOnly="True" Height="20" |
456 | 456 | MouseDoubleClick="Tb_Upload_MouseDoubleClick" Foreground="White" Background="Black" |
457 | | - Text="{Binding CurrentQueueItem.Query.Upload, Mode=OneWay, Converter={StaticResource urlConverter}, ElementName=Wnd_Main}"> |
| 457 | + Text="{Binding CurrentQueueItem.Query.Upload, Mode=OneWay, UpdateSourceTrigger=PropertyChanged, |
| 458 | + Converter={StaticResource urlConverter}, ElementName=Wnd_Main}"> |
458 | 459 |
|
459 | 460 | </TextBox> |
460 | 461 |
|
461 | 462 | <Button x:Name="Btn_Clear" Content="Clear" HorizontalAlignment="Left" Margin="501,0,0,0" |
462 | | - VerticalAlignment="Center" Height="20" Click="Btn_Clear_Click" /> |
| 463 | + VerticalAlignment="Center" Height="20" Click="Btn_Clear_Click" |
| 464 | + ToolTip="Clear query & results" IsEnabled="{Binding CurrentQueueItem.IsComplete}" /> |
463 | 465 |
|
464 | | - <Button x:Name="Btn_Restart" Content="Restart" HorizontalAlignment="Left" Margin="537,0,0,0" |
465 | | - VerticalAlignment="Center" Click="Btn_Restart_Click" |
466 | | - MouseEnter="Btn_Restart_MouseEnter" |
467 | | - MouseLeave="Btn_Restart_MouseLeave" Width="49" Height="20" /> |
| 466 | + <Button x:Name="Btn_Reload" Content="Reload" HorizontalAlignment="Left" Margin="537,0,0,0" |
| 467 | + VerticalAlignment="Center" Click="Btn_Reload_Click" |
| 468 | + MouseEnter="Btn_Reload_MouseEnter" |
| 469 | + MouseLeave="Btn_Reload_MouseLeave" Width="49" Height="20" |
| 470 | + ToolTip="Clear query & results, then reload query & config" IsEnabled="{Binding CanReload, UpdateSourceTrigger=PropertyChanged}"/> |
468 | 471 |
|
469 | 472 | <Button x:Name="Btn_Reset" Content="Reset" HorizontalAlignment="Left" Margin="591,0,0,0" |
470 | | - VerticalAlignment="Center" Click="Btn_Reset_Click" Width="41" Height="20" /> |
| 473 | + VerticalAlignment="Center" Click="Btn_Reset_Click" Width="41" Height="20" |
| 474 | + ToolTip="Reload & reset state" /> |
| 475 | + |
471 | 476 | <Button x:Name="Btn_Browse" Content="Browse" HorizontalAlignment="Left" Margin="637,0,0,0" |
472 | | - VerticalAlignment="Center" Click="Btn_Browse_Click" Height="20" Grid.ColumnSpan="2" /> |
| 477 | + VerticalAlignment="Center" Click="Btn_Browse_Click" Height="20" Grid.ColumnSpan="2" |
| 478 | + ToolTip="Browse for input(s)" /> |
473 | 479 |
|
474 | 480 | <Label x:Name="Lb_Info" Content="Info" HorizontalAlignment="Left" Margin="4,62,0,0" |
475 | 481 | VerticalAlignment="Top" Height="26" FontWeight="Bold" Foreground="White" |
|
594 | 600 |
|
595 | 601 | <Image x:Name="Img_Type" Width="20px" Height="20px" Stretch="None" Margin="48,5,0,0" |
596 | 602 | HorizontalAlignment="Left" VerticalAlignment="Top" Grid.Row="1" /> |
597 | | - <TextBlock x:Name="Tb_Status" HorizontalAlignment="Left" Margin="4,33,0,0" |
598 | 603 |
|
| 604 | + <TextBlock x:Name="Tb_Status" HorizontalAlignment="Left" Margin="4,33,0,0" |
599 | 605 | VerticalAlignment="Top" Foreground="White" FontStyle="Italic" Grid.Row="1" |
600 | | - Text="{Binding CurrentQueueItem.Status, UpdateSourceTrigger=PropertyChanged}" /> |
| 606 | + Text="{Binding CurrentQueueItem.Status, UpdateSourceTrigger=PropertyChanged, ElementName=Wnd_Main}" /> |
601 | 607 |
|
602 | 608 | <TextBlock x:Name="Tb_Status2" HorizontalAlignment="Left" Margin="115,49,0,0" |
603 | 609 | VerticalAlignment="Top" Foreground="White" Grid.Row="1" TextDecorations="Underline" |
604 | | - Text="{Binding CurrentQueueItem.Status2, UpdateSourceTrigger=PropertyChanged}" /> |
| 610 | + Text="{Binding CurrentQueueItem.Status2, UpdateSourceTrigger=PropertyChanged, ElementName=Wnd_Main}" /> |
| 611 | + |
605 | 612 | <Button x:Name="Btn_Filter" Content="Filter" HorizontalAlignment="Left" Margin="501,65,0,0" |
606 | | - VerticalAlignment="Top" Click="Btn_Filter_Click" /> |
| 613 | + VerticalAlignment="Top" Click="Btn_Filter_Click" |
| 614 | + IsEnabled="{Binding CurrentQueueItem.IsComplete}" /> |
| 615 | + |
607 | 616 | <TextBox x:Name="Tb_Search" HorizontalAlignment="Right" Margin="0,46,499,0" Grid.Row="1" |
608 | 617 | TextWrapping="Wrap" VerticalAlignment="Top" Width="158" |
609 | 618 | TextChanged="Tb_Search_TextChanged" Grid.ColumnSpan="2" /> |
| 619 | + |
610 | 620 | <ComboBox x:Name="Cb_SearchFields" HorizontalAlignment="Right" Margin="0,17,499,0" Grid.Row="1" |
611 | 621 | VerticalAlignment="Top" Width="148" Grid.ColumnSpan="2" /> |
| 622 | + |
612 | 623 | <TextBlock x:Name="Tb_Preview" Grid.Column="1" HorizontalAlignment="Right" Margin="0,65,11,0" |
613 | 624 | Grid.Row="1" VerticalAlignment="Top" TextDecorations="Underline" Foreground="White" |
614 | | - Width="150" /> |
| 625 | + Width="150" ToolTip="Click preview to stop/close
Double click preview to open" /> |
615 | 626 | </Grid> |
616 | 627 | </TabItem> |
617 | 628 | <TabItem x:Name="Ti_Config" HorizontalAlignment="Center" Height="20" Header="Config" |
|
0 commit comments