Add the Avalonia application and the station network
The entry window types contacts and colours them as they are typed; the log, check, bandmap, score and packet windows read the same session. Contacts are shared with the other stations of a multi-operator entry in N1MM's contact message, so an N1MM station on the same network sees them too. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
26
src/Nonemm.App/Windows/LogWindow.axaml
Normal file
26
src/Nonemm.App/Windows/LogWindow.axaml
Normal file
@@ -0,0 +1,26 @@
|
||||
<local:RefreshableWindow xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:local="using:Nonemm.App.Windows"
|
||||
x:Class="Nonemm.App.Windows.LogWindow"
|
||||
Title="Log" Width="900" Height="420">
|
||||
<DockPanel>
|
||||
<TextBlock DockPanel.Dock="Bottom" Name="SummaryText" Margin="8,4" FontSize="11" Opacity="0.75" />
|
||||
<DataGrid Name="Rows" IsReadOnly="True" GridLinesVisibility="Horizontal"
|
||||
CanUserSortColumns="False" FontSize="12" FontFamily="monospace"
|
||||
x:DataType="local:LogRow">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Header="Time" Binding="{Binding Time}" Width="125" />
|
||||
<DataGridTextColumn Header="Freq" Binding="{Binding Frequency}" Width="95" />
|
||||
<DataGridTextColumn Header="Mode" Binding="{Binding Mode}" Width="60" />
|
||||
<DataGridTextColumn Header="Call" Binding="{Binding Call}" Width="120"
|
||||
Foreground="{Binding Colour}" />
|
||||
<DataGridTextColumn Header="Sent" Binding="{Binding Sent}" Width="100" />
|
||||
<DataGridTextColumn Header="Received" Binding="{Binding Received}" Width="160" />
|
||||
<DataGridTextColumn Header="Cty" Binding="{Binding Country}" Width="70" />
|
||||
<DataGridTextColumn Header="Pts" Binding="{Binding Points}" Width="60" />
|
||||
<DataGridTextColumn Header="Mult" Binding="{Binding Multipliers}" Width="70" />
|
||||
<DataGridTextColumn Header="Op" Binding="{Binding Operator}" Width="*" />
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
</DockPanel>
|
||||
</local:RefreshableWindow>
|
||||
Reference in New Issue
Block a user