Add the Info window, following N1MM's source
The window shows the operator, the call-frame spot, country, bearing and sun lines, the WWV line and a message area. It draws both rate graphs against the goals and shows the QSO timer (seven modes), the band timer, the band-change count and the Run/Mult box. Goals use N1MM's `dhh goal` file format and its Import Goals rules, including statistics and CSV files. Logic that does not need the UI is in Nonemm.Contests (Goals, QsoTimer, RateBars) and Nonemm.Session (InfoLines), with tests. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<Window xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
x:Class="Nonemm.App.Dialogs.GoalsDialog"
|
||||
Title="Change QSO Goals by Hour" Width="340" Height="440"
|
||||
WindowStartupLocation="CenterOwner">
|
||||
<DockPanel Margin="14">
|
||||
<StackPanel DockPanel.Dock="Bottom" Orientation="Horizontal" HorizontalAlignment="Right"
|
||||
Spacing="6" Margin="0,12,0,0">
|
||||
<Button Content="Export…" Click="OnExport" />
|
||||
<Button Content="Cancel" Click="OnCancel" IsCancel="True" />
|
||||
<Button Content="Ok" Click="OnOk" IsDefault="True" />
|
||||
</StackPanel>
|
||||
<TextBlock DockPanel.Dock="Bottom" Name="ProblemText" Foreground="OrangeRed" Margin="0,6,0,0"
|
||||
TextWrapping="Wrap" />
|
||||
<TextBlock DockPanel.Dock="Top" Margin="0,0,0,6" TextWrapping="Wrap" FontSize="11" Opacity="0.75"
|
||||
Text="One goal per line: Hour (dhh), then Goal (Q's). dhh is the contest day, starting at 1, and the UTC clock hour: 112 is day 1, 12:00Z. A goal holds until the next line." />
|
||||
<TextBox Name="GoalsBox" AcceptsReturn="True" FontFamily="monospace" />
|
||||
</DockPanel>
|
||||
</Window>
|
||||
Reference in New Issue
Block a user