2014-01-29 18:33:24 +08:00
|
|
|
<Window x:Class="Wox.SettingWidow"
|
2014-01-25 18:00:13 +08:00
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
Icon="Images\app.png"
|
2014-01-29 18:33:24 +08:00
|
|
|
Title="Wox Setting"
|
2014-01-25 18:00:13 +08:00
|
|
|
ResizeMode="NoResize"
|
|
|
|
WindowStartupLocation="CenterScreen"
|
|
|
|
Height="407.447" Width="843.989">
|
2014-01-26 00:37:15 +08:00
|
|
|
|
2014-01-28 11:19:27 +08:00
|
|
|
<TabControl Height="auto" >
|
|
|
|
<TabItem Header="Basic">
|
|
|
|
<StackPanel Orientation="Vertical" Margin="10">
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<TextBlock Text="Theme:" />
|
|
|
|
<ComboBox x:Name="themeComboBox" SelectionChanged="ThemeComboBox_OnSelectionChanged" HorizontalAlignment="Left" VerticalAlignment="Top" Width="120"/>
|
|
|
|
</StackPanel>
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<CheckBox x:Name="cbReplaceWinR" />
|
|
|
|
<TextBlock Text="Replace Win+R:" />
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
</TabItem>
|
|
|
|
<TabItem Header="Web Search">
|
|
|
|
<Grid>
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition Height="*"></RowDefinition>
|
|
|
|
<RowDefinition Height="50"></RowDefinition>
|
|
|
|
</Grid.RowDefinitions>
|
2014-01-29 22:44:57 +08:00
|
|
|
<ListView x:Name="webSearchView" Grid.Row="0">
|
2014-01-28 11:19:27 +08:00
|
|
|
<ListView.View>
|
|
|
|
<GridView>
|
|
|
|
<GridView.Columns>
|
2014-01-29 22:44:57 +08:00
|
|
|
<GridViewColumn Header="ActionWord" Width="180">
|
2014-01-28 11:19:27 +08:00
|
|
|
<GridViewColumn.CellTemplate>
|
|
|
|
<DataTemplate>
|
2014-01-29 22:44:57 +08:00
|
|
|
<TextBlock Text="{Binding Path=ActionWord}"></TextBlock>
|
2014-01-28 11:19:27 +08:00
|
|
|
</DataTemplate>
|
|
|
|
</GridViewColumn.CellTemplate>
|
|
|
|
</GridViewColumn>
|
2014-01-29 22:44:57 +08:00
|
|
|
<GridViewColumn Header="Url" Width="500">
|
2014-01-28 11:19:27 +08:00
|
|
|
<GridViewColumn.CellTemplate>
|
|
|
|
<DataTemplate>
|
2014-01-29 22:44:57 +08:00
|
|
|
<TextBlock Text="{Binding Path=Url}"></TextBlock>
|
2014-01-28 11:19:27 +08:00
|
|
|
</DataTemplate>
|
|
|
|
</GridViewColumn.CellTemplate>
|
|
|
|
</GridViewColumn>
|
|
|
|
</GridView.Columns>
|
|
|
|
</GridView>
|
|
|
|
</ListView.View>
|
|
|
|
</ListView>
|
2014-02-02 16:15:34 +08:00
|
|
|
<StackPanel Grid.Row="1" HorizontalAlignment="Right" Orientation="Horizontal">
|
|
|
|
<Button x:Name="btnDeleteWebSearch" Click="btnDeleteWebSearch_OnClick" Width="100" Margin="10">Delete</Button>
|
|
|
|
<Button x:Name="btnEditWebSearch" Click="btnEditWebSearch_OnClick" Width="100" Margin="10">Edit</Button>
|
|
|
|
<Button x:Name="btnAddWebSearch" Click="btnAddWebSearch_OnClick" Width="100" Margin="10">Add</Button>
|
|
|
|
</StackPanel>
|
2014-01-28 11:19:27 +08:00
|
|
|
</Grid>
|
|
|
|
</TabItem>
|
|
|
|
</TabControl>
|
2014-01-25 18:00:13 +08:00
|
|
|
</Window>
|