PowerToys/Wox/CustomQueryHotkeySetting.xaml

36 lines
2.1 KiB
Plaintext
Raw Normal View History

2015-01-02 23:07:49 +08:00
<Window x:Class="Wox.CustomQueryHotkeySetting"
2014-02-22 15:52:20 +08:00
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:wox="clr-namespace:Wox"
Icon="Images\app.png"
ResizeMode="NoResize"
WindowStartupLocation="CenterScreen"
Title="Custom Plugin Hotkey" Height="200" Width="674.766">
<Grid>
<Grid.RowDefinitions>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="150"></ColumnDefinition>
<ColumnDefinition></ColumnDefinition>
</Grid.ColumnDefinitions>
2015-01-02 23:07:49 +08:00
<TextBlock Margin="10" FontSize="14" Grid.Row="0" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Right" Text="{DynamicResource hotkey}"></TextBlock>
2014-02-22 15:52:20 +08:00
<wox:HotkeyControl x:Name="ctlHotkey" Margin="10" Grid.Column="1" />
2015-01-02 23:07:49 +08:00
<TextBlock Margin="10" FontSize="14" Grid.Row="1" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Right" Text="{DynamicResource actionKeyword}"></TextBlock>
2014-02-22 15:52:20 +08:00
<StackPanel Grid.Row="1" Orientation="Horizontal" Grid.Column="1" >
<TextBox x:Name="tbAction" Margin="10" Width="400" VerticalAlignment="Center" HorizontalAlignment="Left"></TextBox>
2015-01-02 23:07:49 +08:00
<Button x:Name="btnTestActionKeyword" Padding="10 5 10 5" Height="30" Click="BtnTestActionKeyword_OnClick" Content="{DynamicResource preview}"></Button>
2014-02-22 15:52:20 +08:00
</StackPanel>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row="2" Grid.Column="1">
2015-01-02 23:07:49 +08:00
<Button x:Name="btnCancel" Click="BtnCancel_OnClick" Margin="10 0 10 0" Width="80" Height="25" Content="{DynamicResource cancel}"></Button>
2014-02-22 15:52:20 +08:00
<Button x:Name="btnAdd" Margin="10 0 10 0" Width="80" Height="25" Click="btnAdd_OnClick">
2015-01-02 23:07:49 +08:00
<TextBlock x:Name="lblAdd" Text="{DynamicResource done}"></TextBlock>
2014-02-22 15:52:20 +08:00
</Button>
</StackPanel>
</Grid>
</Window>