-
Notifications
You must be signed in to change notification settings - Fork 0
/
Options.xaml
100 lines (93 loc) · 6.89 KB
/
Options.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<Window x:Class="FSClient.Options" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Options" Width="620" Height="530"
Closing="Window_Closing" Icon="phone.ico" Loaded="Window_Loaded" ResizeMode="NoResize" WindowStyle="ThreeDBorderWindow">
<Window.Resources>
<Style x:Key="OptionHeaderStyle" TargetType="{x:Type TextBlock}">
<Setter Property="FontWeight" Value="Bold" />
<Setter Property="FontSize" Value="15" />
<Setter Property="VerticalAlignment" Value="Center" />
<Setter Property="HorizontalAlignment" Value="Right" />
</Style>
</Window.Resources>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="170" />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition Height="125" />
<RowDefinition Height="30" />
</Grid.RowDefinitions>
<Grid Grid.ColumnSpan="2">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="170" />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<StackPanel Grid.Column="0" Grid.ColumnSpan="2" HorizontalAlignment="Center" Orientation="Horizontal">
<Button Name="btnReloadDevices" Width="100" Height="23" Click="btnReloadDevices_Click" Content="Reload Devices" TabIndex="50" />
<Button Name="btnSofiaSettings" Width="100" Height="23" Margin="10,0,0,0" Click="btnSofiaSettings_Click" Content="Sofia Settings" TabIndex="51" />
<Button Name="btnEventSocketSettings" Width="125" Height="23" Margin="10,0,0,0" Click="btnEventSocketSettings_Click" Content="Event Socket Settings" TabIndex="52" />
<Button Name="btnConferenceSettings" Width="125" Height="23" Margin="10,0,0,0" Click="btnConferenceSettings_Click" Content="Conference Settings" TabIndex="53" />
<Button Name="btnPluginSettings" Width="100" Height="23" Margin="10,0,0,0" Click="btnPluginSettings_Click" Content="Plugin Settings" TabIndex="54" />
</StackPanel>
<TextBlock Grid.Row="1" Style="{DynamicResource OptionHeaderStyle}" Text="Headset Extras:" />
<ComboBox Name="comboHeadsetDevice" Grid.Row="1" Grid.Column="1" Width="340" Height="23" TabIndex="1" />
<TextBlock Grid.Row="2" Style="{DynamicResource OptionHeaderStyle}" Text="Main Input:" />
<ComboBox Name="comboHeadsetInput" Grid.Row="2" Grid.Column="1" Width="340" Height="23" TabIndex="2" />
<TextBlock Grid.Row="3" Style="{DynamicResource OptionHeaderStyle}" Text="Main Output:" />
<ComboBox Name="comboHeadsetOutput" Grid.Row="3" Grid.Column="1" Width="340" Height="23" TabIndex="3" />
<TextBlock Grid.Row="4" Style="{DynamicResource OptionHeaderStyle}" Text="Speakerphone Input:" />
<ComboBox Name="comboSpeakerInput" Grid.Row="4" Grid.Column="1" Width="340" Height="23" TabIndex="4" />
<TextBlock Grid.Row="5" Style="{DynamicResource OptionHeaderStyle}" Text="Speakerphone Output:" />
<ComboBox Name="comboSpeakerOutput" Grid.Row="5" Grid.Column="1" Width="340" Height="23" TabIndex="5" />
<TextBlock Grid.Row="6" Style="{DynamicResource OptionHeaderStyle}" Text="Ring Device:" />
<ComboBox Name="comboRingDevice" Grid.Row="6" Grid.Column="1" Width="340" Height="23" TabIndex="6" />
<TextBlock Grid.Row="7" Style="{DynamicResource OptionHeaderStyle}" Text="On Incoming Call:" />
<ComboBox Name="comboOnIncomingCall" Grid.Row="7" Grid.Column="1" Width="340" Height="23" TabIndex="6" />
<TextBlock Grid.Row="8" Style="{DynamicResource OptionHeaderStyle}" Text="Startup Layout:" />
<ComboBox Name="comboGUIStartup" Grid.Row="8" Grid.Column="1" Width="340" Height="23" TabIndex="15" />
<TextBlock Grid.Row="9" Style="{DynamicResource OptionHeaderStyle}" Text="Theme:" />
<ComboBox Name="comboTheme" Grid.Row="9" Grid.Column="1" Width="340" Height="23" TabIndex="16" />
<TextBlock Grid.Row="10" Style="{DynamicResource OptionHeaderStyle}" Text="Recording Path:" />
<StackPanel Grid.Row="10" Grid.Column="1" Orientation="Horizontal">
<TextBox Name="txtRecordingPath" Width="286" Height="23" Margin="10,0" AutomationProperties.Name="Path to store recordings in" TabIndex="17" />
<Button Name="btnPathBrowse" Height="25" AutomationProperties.Name="Browse for folder to store recordings in" Click="btnPathBrowse_Click" Content="Browse" TabIndex="18" />
</StackPanel>
<TextBlock Grid.Row="11" Style="{DynamicResource OptionHeaderStyle}" Text="Global Focus Hotkey:" />
<StackPanel Grid.Row="11" Grid.Column="1" Orientation="Horizontal" Margin="10,0,0,0">
<CheckBox Name="chkGlobalCntrl" Content="Cntrl" VerticalAlignment="Center" TabIndex="19" />
<CheckBox Name="chkGlobalShift" Content="Shift" VerticalAlignment="Center" Margin="5,0,0,0" TabIndex="20" />
<CheckBox Name="chkGlobalAlt" Content="Alt" VerticalAlignment="Center" Margin="5,0,0,0" TabIndex="21" />
<CheckBox Name="chkGlobalWin" Content="Win" VerticalAlignment="Center" Margin="5,0,0,0" TabIndex="22"/>
<TextBox Name="txtHotKey" Width="23" Height="23" MaxLength="1" Margin="5,0,0,0" TabIndex="23" />
</StackPanel>
</Grid>
<StackPanel Grid.Row="1" Grid.Column="1">
<CheckBox x:Name="chkIncomingBalloons" VerticalAlignment="Center" Content="Show Incoming Call Notification Balloons" FontSize="13.333" FontWeight="Bold" TabIndex="26" />
<CheckBox x:Name="chkClearDTMFS" VerticalAlignment="Center" Content="Clear Key Presses In Call Stats On Disconnect" FontSize="13.333" FontWeight="Bold" TabIndex="27" />
<CheckBox x:Name="chkUseNumbers" VerticalAlignment="Center" Content="Only Allow Numerical Input While Dialing" FontSize="13.333" FontWeight="Bold" TabIndex="28" />
<CheckBox x:Name="chkUpdatesOnStart" VerticalAlignment="Center" Content="Check for Updates on Startup" FontSize="13.333" FontWeight="Bold" TabIndex="29" />
<CheckBox x:Name="chkNAT" VerticalAlignment="Center" Content="UPNP NAT Startup Check(slows startup 5-10s)" FontSize="13.333" FontWeight="Bold" TabIndex="30" />
<CheckBox x:Name="chkDirectSip" VerticalAlignment="Center" Content="Direct SIP: Dialing" FontSize="13.333" FontWeight="Bold" TabIndex="31" />
<CheckBox x:Name="chkAlwaysOnTopDuringCall" VerticalAlignment="Center" Content="Window Always On Top During Call" FontSize="13.333" FontWeight="Bold" TabIndex="32" />
</StackPanel>
<Button Name="btnSave" Grid.Row="2" Grid.ColumnSpan="2" Width="75" Height="23" Margin="101,0,0,0"
HorizontalAlignment="Left" VerticalAlignment="Center" Click="btnSave_Click" Content="Save" IsDefault="True" TabIndex="40" />
<Button Name="btnCancel" Grid.Row="2" Grid.Column="1" Width="75" Height="23" Margin="172,0,0,0"
HorizontalAlignment="Left" VerticalAlignment="Center" Click="btnCancel_Click" Content="Cancel" IsCancel="True" TabIndex="41" />
</Grid>
</Window>