N1MM's Send All: the whole series as one message — the heading, every
line with the operator's spacing between them, then the ending, with
`{TX}` and `{RX}` around it so it keys the transmitter and drops it
again. The shape is N1MM's, from `QTCWindow.cs:3609`. A line is the three
fields joined with hyphens, which is how N1MM writes them, and Snd n
sends one line again for a station that missed it.
One message rather than a button per line because a series is close to a
minute of transmission at 45 baud: the type-ahead buffer holds it and
paces the engine.
Three settings with N1MM's names and defaults — `WAESendAllHeadingText`,
`WAESendAllEndingText` and `WAESQTCSpacing` — on the QTC window's setup
dialog. `{ENTERLF}` is new to the expander and stands for a carriage
return and a line feed; `{QTC}` is filled in by the window, which is the
only place that knows which series is going out.
The messages are tested as text. Nothing has gone on the air.
Left out: N1MM's four SSB recordings, which need a voice keyer, and its
RTTY messages for the station taking traffic down, which are typed into
the digital window's transmit pane here.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PdAYHcdRktqKry7nk414TU
38 lines
2.2 KiB
XML
38 lines
2.2 KiB
XML
<Window xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
x:Class="Nonemm.App.Windows.QtcWindow"
|
|
Title="QTC" SizeToContent="WidthAndHeight" CanResize="False"
|
|
WindowStartupLocation="CenterOwner">
|
|
<!-- the background is what makes the panel hit-testable, so the right-click
|
|
menu comes up over the whole window rather than only over a control -->
|
|
<StackPanel Margin="10" Spacing="4" Background="Transparent">
|
|
<StackPanel.ContextMenu>
|
|
<ContextMenu>
|
|
<MenuItem Header="Setup…" Click="OnSetup" />
|
|
</ContextMenu>
|
|
</StackPanel.ContextMenu>
|
|
<StackPanel Name="DirectionPanel" Orientation="Horizontal" Spacing="8" Margin="0,0,0,4">
|
|
<RadioButton Name="ReceiveButton" Content="Receive" GroupName="direction" IsChecked="True" />
|
|
<RadioButton Name="SendButton" Content="Send" GroupName="direction" />
|
|
</StackPanel>
|
|
<TextBlock Text="QTC Header :" FontSize="11" Opacity="0.7" />
|
|
<StackPanel Orientation="Horizontal" Spacing="4">
|
|
<TextBox Name="HeaderBox" Width="170" />
|
|
<Button Name="ReadyButton" Content="RX Ready" Click="OnReady" />
|
|
<Button Name="HeaderAgainButton" Content="Hdr Agn" Click="OnHeaderAgain" />
|
|
<Button Name="HeaderCfmButton" Content="Cfm" Click="OnHeaderConfirm" />
|
|
<Button Name="SendAllButton" Content="Send All" Click="OnSendAll" />
|
|
</StackPanel>
|
|
<Grid Name="Lines" Margin="0,6,0,0" />
|
|
<TextBlock Name="KeysText" FontSize="11" Opacity="0.7" Margin="0,6,0,0" />
|
|
<TextBlock FontSize="11" Opacity="0.7" TextWrapping="Wrap" MaxWidth="420"
|
|
Text="Enter, Tab move forward — space moves within a QTC line. Green = saved, red = not filled, yellow = format error." />
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Spacing="6" Margin="0,6,0,0">
|
|
<TextBlock Name="StatusText" VerticalAlignment="Center" FontSize="11" Opacity="0.7" />
|
|
<Button Name="ClearButton" Content="Clear" Click="OnClear" />
|
|
<Button Name="CloseButton" Content="Close" Click="OnClose" IsDefault="True" />
|
|
<Button Content="Cancel" Click="OnCancel" />
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</Window>
|