From c91d06fea5132c0bada82b581f96edea38f3bf43 Mon Sep 17 00:00:00 2001 From: Elliott Liggett Date: Fri, 27 Jan 2023 22:34:40 -0800 Subject: [PATCH] Added update of mode to CW sender. Modified cw sender UI slightly for spacing. --- cwsender.ui | 135 +++++++++++++++++++++++++++++++++------------------- wfmain.cpp | 2 +- 2 files changed, 88 insertions(+), 49 deletions(-) diff --git a/cwsender.ui b/cwsender.ui index 900684f..f328e0f 100644 --- a/cwsender.ui +++ b/cwsender.ui @@ -6,7 +6,7 @@ 0 0 - 636 + 886 451 @@ -18,7 +18,7 @@ - + Macros @@ -161,41 +161,6 @@ - - - - - 0 - 0 - - - - Type here to send text as CW - - - true - - - - - - QComboBox::InsertAtTop - - - - - - - Send - - - Return - - - true - - - @@ -212,17 +177,7 @@ - - - - Stop sending CW - - - Stop - - - - + QLayout::SetMinimumSize @@ -334,6 +289,90 @@ + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + + + + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + Send + + + Return + + + true + + + + + + + Stop sending CW + + + Stop + + + + + + + + 0 + 0 + + + + Type here to send text as CW + + + true + + + + + + QComboBox::InsertAtTop + + + + + + + diff --git a/wfmain.cpp b/wfmain.cpp index add58cd..1b869e2 100644 --- a/wfmain.cpp +++ b/wfmain.cpp @@ -5485,7 +5485,7 @@ void wfmain::receiveMode(unsigned char mode, unsigned char filter) currentModeInfo.filter = filter; currentModeInfo.reg = mode; rpt->handleUpdateCurrentMainMode(currentModeInfo); - + cw->handleCurrentModeUpdate(currentMode); if (!found) { qWarning(logSystem()) << __func__ << "Received mode " << mode << " but could not match to any index within the modeSelectCombo. ";