Move the bandmap settings to a Configure Bandmap window

The spot timeouts, the QSY spot and CQ frequency distances and the
recent contact minutes leave the telnet Filters tab for a window under
Config. Each is a numeric box with a range.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-24 12:31:34 +00:00
co-authored by Claude Sonnet 5.5
parent 9d0de3b129
commit f31ee5bc03
6 changed files with 87 additions and 22 deletions
@@ -0,0 +1,36 @@
<Window xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="Nonemm.App.Dialogs.BandmapDialog"
Title="Configure Bandmap" Width="460" SizeToContent="Height"
WindowStartupLocation="CenterOwner" CanResize="False">
<StackPanel Margin="14" Spacing="6">
<TextBlock Text="Spots stay on the bandmap for" FontWeight="SemiBold" />
<Grid ColumnDefinitions="*,8,130" RowDefinitions="Auto,Auto" RowSpacing="6">
<TextBlock Text="CW and digital" VerticalAlignment="Center" />
<NumericUpDown Name="CwDigitalTimeoutBox" Grid.Column="2" Minimum="1" Maximum="600"
Increment="1" FormatString="0 &quot;min&quot;" />
<TextBlock Grid.Row="1" Text="Phone" VerticalAlignment="Center" />
<NumericUpDown Name="PhoneTimeoutBox" Grid.Row="1" Grid.Column="2" Minimum="1" Maximum="600"
Increment="1" FormatString="0 &quot;min&quot;" />
</Grid>
<TextBlock Text="Local spots" FontWeight="SemiBold" Margin="0,8,0,0" />
<Grid ColumnDefinitions="*,8,130" RowDefinitions="Auto,Auto,Auto" RowSpacing="6">
<TextBlock Text="Spot the call in the entry window when the radio moves more than"
TextWrapping="Wrap" VerticalAlignment="Center" />
<NumericUpDown Name="QsySpotBox" Grid.Column="2" Minimum="100" Maximum="50000"
Increment="100" FormatString="0 &quot;Hz&quot;" />
<TextBlock Grid.Row="1" Text="Go back to search and pounce when the radio moves off the CQ frequency by more than"
TextWrapping="Wrap" VerticalAlignment="Center" />
<NumericUpDown Name="CqLeaveBox" Grid.Row="1" Grid.Column="2" Minimum="100" Maximum="50000"
Increment="100" FormatString="0 &quot;Hz&quot;" />
<TextBlock Grid.Row="2" Text="On opening and resync, spot the contacts logged in the last (0 for none)"
TextWrapping="Wrap" VerticalAlignment="Center" />
<NumericUpDown Name="RecentSpotBox" Grid.Row="2" Grid.Column="2" Minimum="0" Maximum="600"
Increment="1" FormatString="0 &quot;min&quot;" />
</Grid>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Spacing="6" Margin="0,8,0,0">
<Button Content="Cancel" Click="OnCancel" />
<Button Content="Save" Click="OnSave" IsDefault="True" />
</StackPanel>
</StackPanel>
</Window>