From f71a5f2174820c42a4dbdc4dcc6a0450d294440d Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Mon, 24 Sep 2018 15:34:11 -0400 Subject: [PATCH] Turned off SELCAL until I can figure out an operating pattern --- mainwindow.cpp | 2 + mainwindow.ui | 531 ++++++++++++++++++++++++++++--------------------- 2 files changed, 301 insertions(+), 232 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index ead1ce6..9b9d846 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -9346,9 +9346,11 @@ void MainWindow::processCommandActivity() { continue; } +#if ENABLE_SELCAL if (isAllCall && ui->selcalButton->isChecked()) { continue; } +#endif // if this is an allcall, check to make sure we haven't replied to their allcall recently (in the past beacon interval) // that way we never get spammed by allcalls at a high frequency than what we would beacon diff --git a/mainwindow.ui b/mainwindow.ui index 66c6f8f..2664556 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -481,170 +481,14 @@ color : white; QFrame::Plain - - - - true - - - - 0 - 0 - - - - - 75 - 30 - - - - - 0 - 30 - - - - <html><head/><body><p>Insert a new entry into the log</p></body></html> - - - QPushButton { -font-family: helvetica; -font-weight: bold; -background-color: lightgray; -color: black; -border-style: solid; -border-radius:2px; -border-width:0px; -border-color: gray; -font-size:90%; -min-width:75px; -min-height:30px; -/*max-width:60px;*/ -max-height:30px; -} -QPushButton[state="error"] { -background-color: red; -} -QPushButton[state="warning"] { -background-color: orange; -} -QPushButton[state="ok"] { -background-color: #00ff00; -} - - - LOG - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - true - - - - 0 - 0 - - - - - 75 - 30 - - - - - 0 - 30 - - - - <html><head/><body><p>Enable or disable the automatic beacon</p></body></html> - - - QPushButton { -font-family: helvetica; -font-weight: bold; -background-color: lightgray; -color: black; -border-style: solid; -border-radius:2px; -border-width:0px; -border-color: gray; -font-size:90%; -min-width:75px; -min-height:30px; -/*max-width:60px;*/ -max-height:30px; -} -QPushButton[state="error"] { -background-color: red; -} -QPushButton[state="warning"] { -background-color: orange; -} -QPushButton[state="ok"] { -background-color: #00ff00; -} -QPushButton:checked { -background-color: #6699ff; -} - - - BCN - - - true - - - - + true + + false + 0 @@ -703,6 +547,95 @@ background-color: #6699ff; + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + true + + + + 0 + 0 + + + + + 75 + 30 + + + + + 0 + 30 + + + + <html><head/><body><p>Enable or disable spotting of callsigns heard to PSKReporter</p></body></html> + + + QPushButton { +font-family: helvetica; +font-weight: bold; +background-color: lightgray; +color: black; +border-style: solid; +border-radius:2px; +border-width:0px; +border-color: gray; +font-size:90%; +min-width:75px; +min-height:30px; +/*max-width:60px;*/ +max-height:30px; +} +QPushButton[state="error"] { +background-color: red; +} +QPushButton[state="warning"] { +background-color: orange; +} +QPushButton[state="ok"] { +background-color: #00ff00; +} +QPushButton:checked { +background-color: #00ff00; +} + + + SPOT + + + true + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + @@ -852,6 +785,148 @@ background-color: yellow; + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + true + + + + 0 + 0 + + + + + 75 + 30 + + + + + 16777215 + 30 + + + + <html><head/><body><p>Transmit a tuning tone</p></body></html> + + + QPushButton { +font-family: helvetica; +font-weight: bold; +background-color: lightgray; +color: black; +border-style: solid; +border-radius:2px; +border-width:0px; +border-color: gray; +font-size:90%; +min-width:75px; +min-height:30px; +/*max-width:60px;*/ +max-height:30px; +} +QPushButton[state="error"] { +background-color: red; +} +QPushButton[state="warning"] { +background-color: orange; +} +QPushButton[state="ok"] { +background-color: #00ff00; +} +QPushButton:checked { +background-color: #6699ff; +} + + + TUNE + + + true + + + + + + + true + + + false + + + + 0 + 0 + + + + + 75 + 30 + + + + + 0 + 30 + + + + <html><head/><body><p>Enable or disable automatic station replies to directed queries</p></body></html> + + + QPushButton { +font-family: helvetica; +font-weight: bold; +background-color: lightgray; +color: black; +border-style: solid; +border-radius:2px; +border-width:0px; +border-color: gray; +font-size:90%; +min-width:75px; +min-height:30px; +/*max-width:60px;*/ +max-height:30px; +} +QPushButton[state="error"] { +background-color: red; +} +QPushButton[state="warning"] { +background-color: orange; +} +QPushButton[state="ok"] { +background-color: #00ff00; +} +QPushButton:checked { +background-color: #6699ff; +} + + + ACTIVE + + + true + + + @@ -915,8 +990,8 @@ background-color: #6699ff; - - + + true @@ -939,7 +1014,7 @@ background-color: #6699ff; - <html><head/><body><p>Enable or disable spotting of callsigns heard to PSKReporter</p></body></html> + <html><head/><body><p>Enable or disable the automatic beacon</p></body></html> QPushButton { @@ -967,14 +1042,71 @@ QPushButton[state="ok"] { background-color: #00ff00; } QPushButton:checked { +background-color: #6699ff; +} + + + BEACON + + + true + + + + + + + true + + + + 0 + 0 + + + + + 75 + 30 + + + + + 0 + 30 + + + + <html><head/><body><p>Insert a new entry into the log</p></body></html> + + + QPushButton { +font-family: helvetica; +font-weight: bold; +background-color: lightgray; +color: black; +border-style: solid; +border-radius:2px; +border-width:0px; +border-color: gray; +font-size:90%; +min-width:75px; +min-height:30px; +/*max-width:60px;*/ +max-height:30px; +} +QPushButton[state="error"] { +background-color: red; +} +QPushButton[state="warning"] { +background-color: orange; +} +QPushButton[state="ok"] { background-color: #00ff00; } - SPOT - - - true + LOG @@ -1796,71 +1928,6 @@ background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #2ecc71, stop:1 #00FF - - - - true - - - - 0 - 0 - - - - - 0 - 30 - - - - - 16777215 - 16777215 - - - - <html><head/><body><p>Transmit a tuning tone</p></body></html> - - - QPushButton { -/* -font-family: helvetica; -font-weight: bold; -background-color: lightgray; -color: black; -border-style: solid; -border-radius:2px; -border-width:0px; -border-color: gray; -font-size:90%; -min-width:75px; -min-height:30px; -/*max-width:60px;*/ -max-height:30px; -*/ -} -QPushButton[state="error"] { -background-color: red; -} -QPushButton[state="warning"] { -background-color: orange; -} -QPushButton[state="ok"] { -background-color: #00ff00; -} -QPushButton:checked { -background-color: yellow; -} - - - Tune - - - true - - -