From 784b56cdf1636be617356561139ea9cefa7645ae Mon Sep 17 00:00:00 2001 From: tony mancill Date: Sat, 30 Oct 2021 11:14:35 -0700 Subject: New upstream version 2.5.1+repack --- widgets/about.cpp | 35 ++-- widgets/mainwindow.cpp | 23 +-- widgets/mainwindow.ui | 475 +++++++++++++++++++++++++++---------------------- 3 files changed, 296 insertions(+), 237 deletions(-) (limited to 'widgets') diff --git a/widgets/about.cpp b/widgets/about.cpp index 7fc55544..8542a515 100644 --- a/widgets/about.cpp +++ b/widgets/about.cpp @@ -14,23 +14,24 @@ CAboutDlg::CAboutDlg(QWidget *parent) : ui->setupUi(this); ui->labelTxt->setText ("

" + QString {"WSJT-X v" - + QCoreApplication::applicationVersion () - + " " + revision ()}.simplified () + "


" - "WSJT-X implements a number of digital modes designed for
" - "weak-signal Amateur Radio communication.

" - "© 2001-2021 by Joe Taylor, K1JT, Bill Somerville, G4WJS,
" - "Steve Franke, K9AN, and Nico Palermo, IV3NWV.

" - "We gratefully acknowledge contributions from AC6SL, AE4JY,
" - "DF2ET, DJ0OT, G3WDG, G4KLA, IW3RAB, K3WYC, KA1GT,
" - "KA6MAL, KA9Q, KB1ZMX, KD6EKQ, KI7MT, KK1D, ND0B, PY2SDR,
" - "VE1SKY, VK3ACF, VK4BDJ, VK7MO, W3DJS, W4TI, W4TV, and W9MDB.

" - "WSJT-X is licensed under the terms of Version 3
" - "of the GNU General Public License (GPL)

" - "" - "" - "" - "
" - "https://www.gnu.org/licenses/gpl-3.0.txt
"); + + QCoreApplication::applicationVersion () + + " " + revision ()}.simplified () + "
" + "WSJT-X implements a number of digital modes designed for
" + "weak-signal Amateur Radio communication.

" + "© 2001-2021 by Joe Taylor, K1JT, Bill Somerville, G4WJS,
" + "Steve Franke, K9AN, and Nico Palermo, IV3NWV.

" + "We gratefully acknowledge contributions from AC6SL, AE4JY,
" + "DF2ET, DJ0OT, G3WDG, G4KLA, IW3RAB, K3WYC, KA1GT,
" + "KA6MAL, KA9Q, KB1ZMX, KD6EKQ, KI7MT, KK1D, ND0B, PY2SDR,
" + "VE1SKY, VK3ACF, VK4BDJ, VK7MO, W3DJS, W3SZ, W4TI, W4TV,
" + "and W9MDB.

" + "WSJT-X is licensed under the terms of Version 3
" + "of the GNU General Public License (GPL)

" + "" + "" + "" + "
" + "https://www.gnu.org/licenses/gpl-3.0.txt
"); } CAboutDlg::~CAboutDlg() diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index c422e890..305d18d1 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -1024,15 +1024,14 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple, void MainWindow::not_GA_warning_message () { - - MessageBox::critical_message (this, - "This is a pre-release version of WSJT-X 2.5.0 made\n" - "available for testing purposes. By design it will\n" - "be nonfunctional after Sept 30, 2021."); - auto now = QDateTime::currentDateTimeUtc (); - if (now >= QDateTime {{2021, 9, 30}, {23, 59, 59, 999}, Qt::UTC}) { - Q_EMIT finished (); - } + // MessageBox::critical_message (this, + // "This is a pre-release version of WSJT-X " + version (false) + " made\n" + // "available for testing purposes. By design it will\n" + // "be nonfunctional after Nov 30, 2021."); + // auto now = QDateTime::currentDateTimeUtc (); + // if (now >= QDateTime {{2021, 11, 30}, {23, 59, 59, 999}, Qt::UTC}) { + // Q_EMIT finished (); + // } } void MainWindow::initialize_fonts () @@ -5371,6 +5370,8 @@ void MainWindow::genStdMsgs(QString rpt, bool unconditional) msgtype(t, ui->tx1); if (eme_short_codes) { t=t+" OOO"; + if(!bHisCall) t=hisCall + " " + m_baseCall + " OOO"; + if(!bMyCall) t=hisBase + " " + my_callsign + " OOO"; msgtype(t, ui->tx2); msgtype("RO", ui->tx3); msgtype("RRR", ui->tx4); @@ -5459,7 +5460,7 @@ void MainWindow::genStdMsgs(QString rpt, bool unconditional) } t=t0 + (m_send_RR73 ? "RR73" : "RRR"); - if((m_mode=="MSK144" and !m_bShMsgs) or m_mode=="FT8" or m_mode=="FT4" || m_mode == "FST4") { + if((m_mode=="MSK144" and !m_bShMsgs) or m_mode=="FT8" or m_mode=="FT4" || m_mode == "FST4" || m_mode == "Q65") { if(!bHisCall and bMyCall) t=hisCall + " <" + my_callsign + "> " + (m_send_RR73 ? "RR73" : "RRR"); if(bHisCall and !bMyCall) t="<" + hisCall + "> " + my_callsign + " " + (m_send_RR73 ? "RR73" : "RRR"); } @@ -5467,7 +5468,7 @@ void MainWindow::genStdMsgs(QString rpt, bool unconditional) msgtype(t, ui->tx4); t=t0 + "73"; - if((m_mode=="MSK144" and !m_bShMsgs) or m_mode=="FT8" or m_mode=="FT4" || m_mode == "FST4") { + if((m_mode=="MSK144" and !m_bShMsgs) or m_mode=="FT8" or m_mode=="FT4" || m_mode == "FST4" || m_mode == "Q65") { if(!bHisCall and bMyCall) t=hisCall + " <" + my_callsign + "> 73"; if(bHisCall and !bMyCall) t="<" + hisCall + "> " + my_callsign + " 73"; } diff --git a/widgets/mainwindow.ui b/widgets/mainwindow.ui index a07e7957..ef9c32bd 100644 --- a/widgets/mainwindow.ui +++ b/widgets/mainwindow.ui @@ -2,14 +2,6 @@ MainWindow - - - 0 - 0 - 1124 - 582 - - WSJT-X by K1JT @@ -560,40 +552,7 @@ - - - - - - 0 - 0 - - - - USB dial frequency - - - QLabel { - font-family: MS Shell Dlg 2; - font-size: 16pt; - color : yellow; - background-color : black; -} -QLabel[oob="true"] { - background-color: red; -} - - - 14.078 000 - - - Qt::AlignCenter - - - 5 - - - + @@ -643,94 +602,43 @@ QPushButton[state="ok"] { - - + + - <html><head/><body><p>Select operating band or enter frequency in MHz or enter kHz increment followed by k.</p></body></html> + Adjust Tx audio level - - Frequency entry + + 450 - - Select operating band or enter frequency in MHz or enter kHz increment followed by k. + + 0 - + + Qt::Vertical + + true - - QComboBox::NoInsert + + true - - QComboBox::AdjustToMinimumContentsLengthWithIcon + + QSlider::TicksBelow + + + 50 - - - - - - Qt::AlignCenter - - - % - - - NB - - - -2 - - - 25 - - - - - - - - 0 - 0 - - - - - 100 - 16777215 - - - - <html><head/><body><p>30dB recommended when only noise present<br/>Green when good<br/>Red when clipping may occur<br/>Yellow when too low</p></body></html> - - - Rx Signal - - - 30dB recommended when only noise present -Green when good -Red when clipping may occur -Yellow when too low - - - QFrame::Panel - - - QFrame::Sunken - - - - - - + - + 0 0 - + 0 @@ -745,12 +653,6 @@ Yellow when too low - - - 0 - 0 - - @@ -835,56 +737,8 @@ Yellow when too low - - - - Add callsign and locator to database - - - Add - - - - - - - - 0 - 0 - - - - true - - - Az: 251 16553 km - - - Qt::AlignCenter - - - 4 - - - - - - - Search for callsign in database - - - &Lookup - - - - - - 0 - 0 - - @@ -971,11 +825,17 @@ Yellow when too low + + + 0 + 0 + + Callsign of station to be worked - - + + 11 Qt::AlignCenter @@ -984,24 +844,73 @@ Yellow when too low + + + 0 + 0 + + Locator of station to be worked - + ` + + + 6 Qt::AlignCenter + + + + + + Search for callsign in database + + + &Lookup + + + + + + + Add callsign and locator to database + + + Add + + + + + + + true + + + Az: 251 16553 km + + + Qt::AlignCenter + + + 4 + + + + + - + - + 0 0 @@ -1037,36 +946,47 @@ Yellow when too low - - - - Adjust Tx audio level - - - 450 - - - 0 + + + + + 0 + 0 + - - Qt::Vertical + + USB dial frequency - - true + + QLabel { + font-family: MS Shell Dlg 2; + font-size: 16pt; + color : yellow; + background-color : black; +} +QLabel[oob="true"] { + background-color: red; +} - - true + + 14.078 000 - - QSlider::TicksBelow + + Qt::AlignCenter - - 50 + + 5 + + + 0 + 0 + + 0 @@ -1086,6 +1006,12 @@ Yellow when too low + + + 0 + 0 + + 0 @@ -1725,11 +1651,11 @@ When not checked you can view the calibration results. - - - 0 - 0 - + + + 0 + 0 + QTabWidget::West @@ -1746,7 +1672,7 @@ When not checked you can view the calibration results. - + @@ -1781,8 +1707,14 @@ When not checked you can view the calibration results. - - + + + 0 + 0 + + + + 30 @@ -1829,8 +1761,14 @@ Double click to toggle the use of the Tx1 message to start a QSO with a station - - + + + 0 + 0 + + + + 30 @@ -1871,7 +1809,17 @@ Double-click to reset to the standard 73 message - + + + + 0 + 0 + + + + 30 + + @@ -1903,10 +1851,30 @@ Double-click to reset to the standard 73 message - + + + + 0 + 0 + + + + 30 + + - + + + + 0 + 0 + + + + 30 + + @@ -2012,6 +1980,12 @@ Double click to toggle the use of the Tx1 message to start a QSO with a station + + + 0 + 0 + + Enter a free text message (maximum 13 characters) or select a predefined macro from the dropdown list. @@ -2322,6 +2296,12 @@ Double-click to reset to the standard 73 message + + + 0 + 0 + + 16777215 @@ -2808,6 +2788,85 @@ Double-click to reset to the standard 73 message + + + + + + Qt::AlignCenter + + + % + + + NB + + + -2 + + + 25 + + + + + + + + 0 + 0 + + + + + 100 + 16777215 + + + + <html><head/><body><p>30dB recommended when only noise present<br/>Green when good<br/>Red when clipping may occur<br/>Yellow when too low</p></body></html> + + + Rx Signal + + + 30dB recommended when only noise present +Green when good +Red when clipping may occur +Yellow when too low + + + QFrame::Panel + + + QFrame::Sunken + + + + + + + + + <html><head/><body><p>Select operating band or enter frequency in MHz or enter kHz increment followed by k.</p></body></html> + + + Frequency entry + + + Select operating band or enter frequency in MHz or enter kHz increment followed by k. + + + true + + + QComboBox::NoInsert + + + QComboBox::AdjustToMinimumContentsLengthWithIcon + + + @@ -2820,7 +2879,7 @@ Double-click to reset to the standard 73 message 0 0 - 1124 + 968 21 @@ -3493,8 +3552,6 @@ Double-click to reset to the standard 73 message sbNB dxCallEntry dxGridEntry - lookupButton - addButton txFirstCheckBox TxFreqSpinBox pbR2T -- cgit v1.2.3