diff options
| author | Christoph Berg <myon@debian.org> | 2020-11-16 21:54:50 +0100 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2020-11-16 21:54:50 +0100 |
| commit | 77922fa33547ce24535f2e514c9a112dcb496f18 (patch) | |
| tree | 9f82b0ee01281b315f43a4c60d678927b4c6ca59 /widgets | |
| parent | 7aa3c56b01768ba7d38fccedc17b30a4046b3fbb (diff) | |
New upstream version 2.3.0~rc2+repackupstream/2.3.0_rc2+repack
Diffstat (limited to 'widgets')
| -rw-r--r-- | widgets/CheckableItemComboBox.cpp | 93 | ||||
| -rw-r--r-- | widgets/CheckableItemComboBox.hpp | 37 | ||||
| -rw-r--r-- | widgets/LazyFillComboBox.hpp | 16 | ||||
| -rw-r--r-- | widgets/about.cpp | 2 | ||||
| -rw-r--r-- | widgets/astro.h | 10 | ||||
| -rw-r--r-- | widgets/mainwindow.cpp | 460 | ||||
| -rw-r--r-- | widgets/mainwindow.h | 19 | ||||
| -rw-r--r-- | widgets/mainwindow.ui | 4588 | ||||
| -rw-r--r-- | widgets/plotter.cpp | 5 | ||||
| -rw-r--r-- | widgets/widgets.pri | 7 |
10 files changed, 2737 insertions, 2500 deletions
diff --git a/widgets/CheckableItemComboBox.cpp b/widgets/CheckableItemComboBox.cpp new file mode 100644 index 00000000..13115c99 --- /dev/null +++ b/widgets/CheckableItemComboBox.cpp @@ -0,0 +1,93 @@ +#include "CheckableItemComboBox.hpp" + +#include <QStyledItemDelegate> +#include <QStandardItemModel> +#include <QStandardItem> +#include <QLineEdit> +#include <QEvent> +#include <QListView> + +class CheckableItemComboBoxStyledItemDelegate + : public QStyledItemDelegate +{ +public: + explicit CheckableItemComboBoxStyledItemDelegate (QObject * parent = nullptr) + : QStyledItemDelegate {parent} + { + } + + void paint (QPainter * painter, QStyleOptionViewItem const& option, QModelIndex const& index) const override + { + QStyleOptionViewItem& mutable_option = const_cast<QStyleOptionViewItem&> (option); + mutable_option.showDecorationSelected = false; + QStyledItemDelegate::paint (painter, mutable_option, index); + } +}; + +CheckableItemComboBox::CheckableItemComboBox (QWidget * parent) + : LazyFillComboBox {parent} + , model_ {new QStandardItemModel()} +{ + setModel (model_.data ()); + + setEditable (true); + lineEdit ()->setReadOnly (true); + lineEdit ()->installEventFilter (this); + setItemDelegate (new CheckableItemComboBoxStyledItemDelegate {this}); + + connect (lineEdit(), &QLineEdit::selectionChanged, lineEdit(), &QLineEdit::deselect); + connect (static_cast<QListView *> (view ()), &QListView::pressed, this, &CheckableItemComboBox::item_pressed); + connect (model_.data (), &QStandardItemModel::dataChanged, this, &CheckableItemComboBox::model_data_changed); +} + +QStandardItem * CheckableItemComboBox::addCheckItem (QString const& label, QVariant const& data + , Qt::CheckState checkState) +{ + auto * item = new QStandardItem {label}; + item->setCheckState (checkState); + item->setData (data); + item->setFlags (Qt::ItemIsUserCheckable | Qt::ItemIsEnabled); + model_->appendRow (item); + update_text (); + return item; +} + +bool CheckableItemComboBox::eventFilter (QObject * object, QEvent * event) +{ + if (object == lineEdit() && event->type () == QEvent::MouseButtonPress) + { + showPopup(); + return true; + } + return false; +} + +void CheckableItemComboBox::update_text() +{ + QString text; + for (int i = 0; i < model_->rowCount (); ++i) + { + if (model_->item (i)->checkState () == Qt::Checked) + { + if (text.size ()) + { + text+= ", "; + } + text += model_->item (i)->data ().toString (); + } + } + lineEdit ()->setText (text); +} + +void CheckableItemComboBox::model_data_changed () +{ + update_text (); +} + +void CheckableItemComboBox::item_pressed (QModelIndex const& index) +{ + QStandardItem * item = model_->itemFromIndex (index); + item->setCheckState (item->checkState () == Qt::Checked ? Qt::Unchecked : Qt::Checked); +} + +#include "widgets/moc_CheckableItemComboBox.cpp" diff --git a/widgets/CheckableItemComboBox.hpp b/widgets/CheckableItemComboBox.hpp new file mode 100644 index 00000000..21e75116 --- /dev/null +++ b/widgets/CheckableItemComboBox.hpp @@ -0,0 +1,37 @@ +#ifndef CHECKABLE_ITEM_COMBO_BOX_HPP__ +#define CHECKABLE_ITEM_COMBO_BOX_HPP__ + +#include <QScopedPointer> + +#include "LazyFillComboBox.hpp" + +class QStandardItemModel; +class QStandardItem; + +/** + * @brief QComboBox with support of checkboxes + * http://stackoverflow.com/questions/8422760/combobox-of-checkboxes + */ +class CheckableItemComboBox + : public LazyFillComboBox +{ + Q_OBJECT + +public: + explicit CheckableItemComboBox (QWidget * parent = nullptr); + QStandardItem * addCheckItem (QString const& label, QVariant const& data, Qt::CheckState checkState); + +protected: + bool eventFilter (QObject *, QEvent *) override; + +private: + void update_text(); + + Q_SLOT void model_data_changed (); + Q_SLOT void item_pressed (QModelIndex const&); + +private: + QScopedPointer<QStandardItemModel> model_; +}; + +#endif diff --git a/widgets/LazyFillComboBox.hpp b/widgets/LazyFillComboBox.hpp index 7d905267..7ac828fe 100644 --- a/widgets/LazyFillComboBox.hpp +++ b/widgets/LazyFillComboBox.hpp @@ -10,7 +10,7 @@ class QWidget; // // QComboBox derivative that signals show and hide of the pop up list. // -class LazyFillComboBox final +class LazyFillComboBox : public QComboBox { Q_OBJECT @@ -24,6 +24,7 @@ public: { } +#if QT_VERSION >= QT_VERSION_CHECK (5, 12, 0) void showPopup () override { Q_EMIT about_to_show_popup (); @@ -35,6 +36,19 @@ public: QComboBox::hidePopup (); Q_EMIT popup_hidden (); } +#else + void mousePressEvent (QMouseEvent * e) override + { + Q_EMIT about_to_show_popup (); + QComboBox::mousePressEvent (e); + } + + void mouseReleaseEvent (QMouseEvent * e) override + { + QComboBox::mouseReleaseEvent (e); + Q_EMIT popup_hidden (); + } +#endif }; #endif diff --git a/widgets/about.cpp b/widgets/about.cpp index c8b63082..b8e0fab4 100644 --- a/widgets/about.cpp +++ b/widgets/about.cpp @@ -26,7 +26,7 @@ CAboutDlg::CAboutDlg(QWidget *parent) : "VE1SKY, VK3ACF, VK4BDJ, VK7MO, W4TI, W4TV, and W9MDB.<br /><br />" "WSJT-X is licensed under the terms of Version 3 <br />" "of the GNU General Public License (GPL) <br /><br />" - "<a href=" WSJTX_STRINGIZE (PROJECT_HOMEPAGE) ">" + "<a href=" TO_STRING__ (PROJECT_HOMEPAGE) ">" "<img src=\":/icon_128x128.png\" /></a>" "<a href=\"https://www.gnu.org/licenses/gpl-3.0.txt\">" "<img src=\":/gpl-v3-logo.svg\" height=\"80\" /><br />" diff --git a/widgets/astro.h b/widgets/astro.h index a2474072..2b544872 100644 --- a/widgets/astro.h +++ b/widgets/astro.h @@ -2,6 +2,8 @@ #ifndef ASTRO_H #define ASTRO_H +#include <utility> + #include <QDialog> #include <QScopedPointer> @@ -34,9 +36,17 @@ public: Correction (Correction const&) = default; Correction& operator = (Correction const&) = default; + // testing facility used to test Doppler corrections on + // terrestrial links + void reverse () + { + std::swap (rx, tx); + } + FrequencyDelta rx; FrequencyDelta tx; }; + Correction astroUpdate(QDateTime const& t, QString const& mygrid, QString const& hisgrid, diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index 682fb9ad..cd260df5 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -1,5 +1,6 @@ //---------------------------------------------------------- MainWindow #include "mainwindow.h" + #include <cinttypes> #include <cstring> #include <cmath> @@ -13,6 +14,7 @@ #include <QStringListModel> #include <QSettings> #include <QKeyEvent> +#include <QProcessEnvironment> #include <QSharedMemory> #include <QFileDialog> #include <QTextBlock> @@ -233,8 +235,9 @@ namespace MainWindow::MainWindow(QDir const& temp_directory, bool multiple, MultiSettings * multi_settings, QSharedMemory *shdmem, unsigned downSampleFactor, - QSplashScreen * splash, QWidget *parent) : + QSplashScreen * splash, QProcessEnvironment const& env, QWidget *parent) : QMainWindow(parent), + m_env {env}, m_network_manager {this}, m_valid {true}, m_splash {splash}, @@ -266,6 +269,7 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple, m_secBandChanged {0}, m_freqNominal {0}, m_freqTxNominal {0}, + m_reverse_Doppler {"1" == env.value ("WSJT_REVERSE_DOPPLER", "0")}, m_s6 {0.}, m_tRemaining {0.}, m_TRperiod {60.0}, @@ -414,6 +418,7 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple, m_messageClient {new MessageClient {QApplication::applicationName (), version (), revision (), m_config.udp_server_name (), m_config.udp_server_port (), + m_config.udp_interface_names (), m_config.udp_TTL (), this}}, m_psk_Reporter {&m_config, QString {"WSJT-X v" + version () + " " + m_revision}.simplified ()}, m_manual {&m_network_manager}, @@ -475,23 +480,6 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple, connect(m_soundInput, &SoundInput::error, this, &MainWindow::showSoundInError); connect(m_soundInput, &SoundInput::error, &m_config, &Configuration::invalidate_audio_input_device); // connect(m_soundInput, &SoundInput::status, this, &MainWindow::showStatusMessage); - connect (m_soundInput, &SoundInput::dropped_frames, this, [this] (qint32 dropped_frames, qint64 usec) { - if (dropped_frames > 48000 / 5) // 1/5 second - { - showStatusMessage (tr ("%1 (%2 sec) audio frames dropped").arg (dropped_frames).arg (usec / 1.e6, 5, 'f', 3)); - } - if (dropped_frames > 5 * 48000) // seconds - { - auto period = qt_truncate_date_time_to (QDateTime::currentDateTimeUtc ().addMSecs (-m_TRperiod / 2.), m_TRperiod * 1e3); - MessageBox::warning_message (this - , tr ("Audio Source") - , tr ("Reduce system load") - , tr ("Excessive dropped samples - %1 (%2 sec) audio frames dropped in period starting %3") - .arg (dropped_frames) - .arg (usec / 1.e6, 5, 'f', 3) - .arg (period.toString ("hh:mm:ss"))); - } - }); connect (&m_audioThread, &QThread::finished, m_soundInput, &QObject::deleteLater); connect (this, &MainWindow::finished, this, &MainWindow::close); @@ -782,6 +770,7 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple, connect (&m_config, &Configuration::transceiver_failure, this, &MainWindow::handle_transceiver_failure); connect (&m_config, &Configuration::udp_server_changed, m_messageClient, &MessageClient::set_server); connect (&m_config, &Configuration::udp_server_port_changed, m_messageClient, &MessageClient::set_server_port); + connect (&m_config, &Configuration::udp_TTL_changed, m_messageClient, &MessageClient::set_TTL); connect (&m_config, &Configuration::accept_udp_requests_changed, m_messageClient, &MessageClient::enable); connect (&m_config, &Configuration::enumerating_audio_devices, [this] () { showStatusMessage (tr ("Enumerating audio devices")); @@ -869,8 +858,8 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple, ui->labAz->setStyleSheet("border: 0px;"); ui->labAz->setText(""); auto t = "UTC dB DT Freq " + tr ("Message"); - ui->decodedTextLabel->setText(t); - ui->decodedTextLabel2->setText(t); + ui->lh_decodes_headings_label->setText(t); + ui->rh_decodes_headings_label->setText(t); readSettings(); //Restore user's setup parameters m_audioThread.start (m_audioThreadPriority); @@ -926,9 +915,9 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple, , "-a", QDir::toNativeSeparators (m_config.writeable_data_dir ().absolutePath ()) , "-t", QDir::toNativeSeparators (m_config.temp_dir ().absolutePath ()) }; - QProcessEnvironment env {QProcessEnvironment::systemEnvironment ()}; - env.insert ("OMP_STACKSIZE", "4M"); - proc_jt9.setProcessEnvironment (env); + QProcessEnvironment new_env {m_env}; + new_env.insert ("OMP_STACKSIZE", "4M"); + proc_jt9.setProcessEnvironment (new_env); proc_jt9.start(QDir::toNativeSeparators (m_appDir) + QDir::separator () + "jt9", jt9_args, QIODevice::ReadWrite | QIODevice::Unbuffered); @@ -1046,9 +1035,9 @@ void MainWindow::not_GA_warning_message () MessageBox::critical_message (this, "This is a pre-release version of WSJT-X 2.3.0 made\n" "available for testing purposes. By design it will\n" - "be nonfunctional after 0000 UTC on Nov 17, 2020."); + "be nonfunctional after 0000 UTC on Jan 19, 2021."); auto now = QDateTime::currentDateTimeUtc (); - if (now >= QDateTime {{2020, 11, 17}, {0, 0}, Qt::UTC}) { + if (now >= QDateTime {{2021, 1, 19}, {0, 0}, Qt::UTC}) { Q_EMIT finished (); } } @@ -1172,6 +1161,7 @@ void MainWindow::writeSettings() m_settings->setValue ("JT65AP", ui->actionEnable_AP_JT65->isChecked ()); m_settings->setValue("SplitterState",ui->splitter->saveState()); m_settings->setValue("Blanker",ui->sbNB->value()); + m_settings->setValue ("SWLView", ui->actionSWL_Mode->isChecked ()); { QList<QVariant> coeffs; // suitable for QSettings @@ -1277,6 +1267,8 @@ void MainWindow::readSettings() ui->actionEnable_AP_JT65->setChecked (m_settings->value ("JT65AP", false).toBool()); ui->splitter->restoreState(m_settings->value("SplitterState").toByteArray()); ui->sbNB->setValue(m_settings->value("Blanker",0).toInt()); + ui->actionSWL_Mode->setChecked (m_settings->value ("SWLView", false).toBool ()); + on_actionSWL_Mode_triggered (ui->actionSWL_Mode->isChecked ()); { auto const& coeffs = m_settings->value ("PhaseEqualizationCoefficients" , QList<QVariant> {0., 0., 0., 0., 0.}).toList (); @@ -1344,8 +1336,8 @@ void MainWindow::setDecodedTextFont (QFont const& font) ui->textBrowser4->displayFoxToBeCalled(" "); ui->textBrowser4->setText(""); auto style_sheet = "QLabel {" + font_as_stylesheet (font) + '}'; - ui->decodedTextLabel->setStyleSheet (ui->decodedTextLabel->styleSheet () + style_sheet); - ui->decodedTextLabel2->setStyleSheet (ui->decodedTextLabel2->styleSheet () + style_sheet); + ui->lh_decodes_headings_label->setStyleSheet (ui->lh_decodes_headings_label->styleSheet () + style_sheet); + ui->rh_decodes_headings_label->setStyleSheet (ui->rh_decodes_headings_label->styleSheet () + style_sheet); if (m_msgAvgWidget) { m_msgAvgWidget->changeFont (font); } @@ -1554,7 +1546,7 @@ void MainWindow::dataSink(qint64 frames) if(m_mode=="FT8" and !m_diskData and (m_ihsym==m_earlyDecode or m_ihsym==m_earlyDecode2)) return; if (!m_diskData) { - Q_EMIT reset_audio_input_stream (true); // signals dropped samples + Q_EMIT reset_audio_input_stream (true); // reports dropped samples } if(!m_diskData and (m_saveAll or m_saveDecoded or m_mode=="WSPR" or m_mode=="FST4W")) { //Always save unless "Save None"; may delete later @@ -1809,6 +1801,7 @@ void MainWindow::on_actionSettings_triggered() //Setup Dialog checkMSK144ContestType(); if (m_config.my_callsign () != callsign) { m_baseCall = Radio::base_callsign (m_config.my_callsign ()); + ui->tx1->setEnabled (elide_tx1_not_allowed () || ui->tx1->isEnabled ()); morse_(const_cast<char *> (m_config.my_callsign ().toLatin1().constData()), const_cast<int *> (icw), &m_ncw, m_config.my_callsign ().length()); } @@ -1854,8 +1847,8 @@ void MainWindow::on_actionSettings_triggered() //Setup Dialog m_config.transceiver_online (); if(!m_bFastMode) setXIT (ui->TxFreqSpinBox->value ()); if ((m_config.single_decode () && !m_mode.startsWith ("FST4")) || m_mode=="JT4") { - ui->label_6->setText(tr ("Single-Period Decodes")); - ui->label_7->setText(tr ("Average Decodes")); + ui->lh_decodes_title_label->setText(tr ("Single-Period Decodes")); + ui->rh_decodes_title_label->setText(tr ("Average Decodes")); } update_watchdog_label (); @@ -2575,6 +2568,15 @@ void MainWindow::on_actionCopyright_Notice_triggered() MessageBox::warning_message(this, message); } +void MainWindow::on_actionSWL_Mode_triggered (bool checked) +{ + ui->lower_panel_widget->setVisible (!checked); + if (checked) + { + hideMenus (false); // make sure we can be turned off + } +} + // This allows the window to shrink by removing certain things // and reducing space used by controls void MainWindow::hideMenus(bool checked) @@ -2593,12 +2595,10 @@ void MainWindow::hideMenus(bool checked) minimumSize().setWidth(770); } ui->menuBar->setVisible(!checked); - if(m_mode!="FreqCal" and m_mode!="WSPR" and m_mode!="Fst4W") { - ui->label_6->setVisible(!checked); - ui->label_7->setVisible(!checked); - ui->decodedTextLabel2->setVisible(!checked); + if(m_mode!="FreqCal" and m_mode!="WSPR" and m_mode!="FST4W") { + ui->lh_decodes_title_label->setVisible(!checked); } - ui->decodedTextLabel->setVisible(!checked); + ui->lh_decodes_headings_label->setVisible(!checked); ui->gridLayout_5->layout()->setSpacing(spacing); ui->horizontalLayout_2->layout()->setSpacing(spacing); ui->horizontalLayout_5->layout()->setSpacing(spacing); @@ -2611,7 +2611,7 @@ void MainWindow::hideMenus(bool checked) ui->horizontalLayout_12->layout()->setSpacing(spacing); ui->horizontalLayout_13->layout()->setSpacing(spacing); ui->horizontalLayout_14->layout()->setSpacing(spacing); - ui->verticalLayout->layout()->setSpacing(spacing); + ui->rh_decodes_widget->layout()->setSpacing(spacing); ui->verticalLayout_2->layout()->setSpacing(spacing); ui->verticalLayout_3->layout()->setSpacing(spacing); ui->verticalLayout_5->layout()->setSpacing(spacing); @@ -3019,34 +3019,19 @@ void MainWindow::decode() //decode() if( m_diskData ) { dec_data.params.lapcqonly=false; } - m_msec0=QDateTime::currentMSecsSinceEpoch(); if(!m_dataAvailable or m_TRperiod==0.0) return; ui->DecodeButton->setChecked (true); - if(!dec_data.params.nagain && m_diskData && (m_TRperiod >= 60.0)) { + if(!dec_data.params.nagain && m_diskData && m_TRperiod >= 60.) { dec_data.params.nutc=dec_data.params.nutc/100; } if(dec_data.params.nagain==0 && dec_data.params.newdat==1 && (!m_diskData)) { - qint64 nperiods=now.toMSecsSinceEpoch()/(1000.0*m_TRperiod); - m_dateTimeSeqStart=QDateTime::fromMSecsSinceEpoch(qint64(1000.0*nperiods*m_TRperiod)).toUTC(); - qint64 ms = QDateTime::currentMSecsSinceEpoch() % 86400000; - int imin=ms/60000; - int ihr=imin/60; - imin=imin % 60; - if(m_TRperiod>=60) imin=imin - (imin % (int(m_TRperiod)/60)); - dec_data.params.nutc=100*ihr + imin; - if(m_TRperiod < 60) { - qint64 ms=1000.0*(2.0-m_TRperiod); - if(m_mode=="FST4") ms=1000.0*(6.0-m_TRperiod); - //Adjust for FT8 early decode: - if(m_mode=="FT8" and m_ihsym==m_earlyDecode and !m_diskData) ms+=(m_hsymStop-m_earlyDecode)*288; - if(m_mode=="FT8" and m_ihsym==m_earlyDecode2 and !m_diskData) ms+=(m_hsymStop-m_earlyDecode2)*288; - QDateTime t=QDateTime::currentDateTimeUtc().addMSecs(ms); - ihr=t.toString("hh").toInt(); - imin=t.toString("mm").toInt(); - int isec=t.toString("ss").toInt(); - isec=isec - fmod(double(isec),m_TRperiod); - dec_data.params.nutc=10000*ihr + 100*imin + isec; - } + auto t_start = qt_truncate_date_time_to (QDateTime::currentDateTimeUtc (), m_TRperiod * 1.e3); + auto t = t_start.time (); + dec_data.params.nutc = t.hour () * 100 + t.minute (); + if (m_TRperiod < 60.) + { + dec_data.params.nutc = dec_data.params.nutc * 100 + t.second (); + } } if(m_nPick==1 and !m_diskData) { @@ -3135,7 +3120,7 @@ void MainWindow::decode() //decode() dec_data.params.nexp_decode = static_cast<int> (m_config.special_op_id()); if(m_config.single_decode()) dec_data.params.nexp_decode += 32; if(m_config.enable_VHF_features()) dec_data.params.nexp_decode += 64; - if(m_mode.startsWith("FST4")) dec_data.params.nexp_decode += 256*(ui->sbNB->value()+2); + if(m_mode.startsWith("FST4")) dec_data.params.nexp_decode += 256*(ui->sbNB->value()+3); ::memcpy(dec_data.params.datetime, m_dateTime.toLatin1()+" ", sizeof dec_data.params.datetime); ::memcpy(dec_data.params.mycall, (m_config.my_callsign()+" ").toLatin1(), sizeof dec_data.params.mycall); @@ -3263,7 +3248,14 @@ void MainWindow::decodeDone () if(m_mode=="QRA64") m_wideGraph->drawRed(0,0); if ("FST4W" == m_mode) { - uploadWSPRSpots (true); // DE station info and trigger posts + if (m_uploadWSPRSpots + && m_config.is_transceiver_online ()) { // need working rig control +#if QT_VERSION >= QT_VERSION_CHECK (5, 15, 0) + uploadTimer.start(QRandomGenerator::global ()->bounded (0, 20000)); // Upload delay +#else + uploadTimer.start(20000 * qrand()/((double)RAND_MAX + 1.0)); // Upload delay +#endif + } } auto tnow = QDateTime::currentDateTimeUtc (); double tdone = fmod(double(tnow.time().second()),m_TRperiod); @@ -3310,6 +3302,12 @@ void MainWindow::readFromStdout() //readFromStdout fSpread = text.toFloat (&haveFSpread); line_read = line_read.left (64); } + auto const& cs = m_config.my_callsign ().toLocal8Bit (); + if ("FST4W" == m_mode && ui->cbNoOwnCall->isChecked () + && (line_read.contains (" " + cs + " ") + || line_read.contains ("<" + cs + ">"))) { + continue; + } } if (m_mode!="FT8" and m_mode!="FT4" && !m_mode.startsWith ("FST4")) { @@ -3778,7 +3776,7 @@ void MainWindow::guiUpdate() } } else { - // For all modes other than WSPR and Fst4W + // For all modes other than WSPR and FST4W m_bTxTime = (t2p >= tx1) and (t2p < tx2); if(m_mode=="Echo") m_bTxTime = m_bTxTime and m_bEchoTxOK; if(m_mode=="FT8" and ui->tx5->currentText().contains("/B ")) { @@ -4046,7 +4044,9 @@ void MainWindow::guiUpdate() } genfst4_(message,&ichk,msgsent,const_cast<char *> (fst4msgbits), const_cast<int *>(itone), &iwspr, 37, 37); - int hmod=1; //No FST4/W submodes + int hmod=1; + if(m_config.x2ToneSpacing()) hmod=2; + if(m_config.x4ToneSpacing()) hmod=4; int nsps=720; if(m_TRperiod==30) nsps=1680; if(m_TRperiod==60) nsps=3888; @@ -4059,6 +4059,7 @@ void MainWindow::guiUpdate() float fsample=48000.0; float dfreq=hmod*fsample/nsps; float f0=ui->TxFreqSpinBox->value() - m_XIT + 1.5*dfreq; + if(m_mode=="FST4W") f0=ui->WSPRfreqSpinBox->value() - m_XIT + 1.5*dfreq; int nwave=(nsym+2)*nsps; int icmplx=0; gen_fst4wave_(const_cast<int *>(itone),&nsym,&nsps,&nwave, @@ -4216,7 +4217,15 @@ void MainWindow::guiUpdate() transmitDisplay (true); statusUpdate (); } - if(!m_btxok && m_btxok0 && g_iptt==1) stopTx(); + if(!m_btxok && m_btxok0 && g_iptt==1) + { + stopTx(); + if ("1" == m_env.value ("WSJT_TX_BOTH", "0")) + { + m_txFirst = !m_txFirst; + ui->txFirstCheckBox->setChecked (m_txFirst); + } + } if(m_startAnother) { if(m_mode=="MSK144") { @@ -4480,13 +4489,19 @@ void MainWindow::on_txrb1_toggled (bool status) } } -void MainWindow::on_txrb1_doubleClicked () +bool MainWindow::elide_tx1_not_allowed () const { - if(m_mode=="FT8" and SpecOp::HOUND == m_config.special_op_id()) return; - // skip Tx1, only allowed if not a type 2 compound callsign auto const& my_callsign = m_config.my_callsign (); - auto is_compound = my_callsign != m_baseCall; - ui->tx1->setEnabled ((is_compound && shortList (my_callsign)) || !ui->tx1->isEnabled ()); + return + (m_mode=="FT8" && SpecOp::HOUND == m_config.special_op_id()) + || ((m_mode.startsWith ("FT") || "MSK144" == m_mode || "Q65" == m_mode || "FST4" == m_mode) + && Radio::is_77bit_nonstandard_callsign (my_callsign)) + || (my_callsign != m_baseCall && !shortList (my_callsign)); +} + +void MainWindow::on_txrb1_doubleClicked () +{ + ui->tx1->setEnabled (elide_tx1_not_allowed () || !ui->tx1->isEnabled ()); if (!ui->tx1->isEnabled ()) { // leave time for clicks to complete before setting txrb2 QTimer::singleShot (500, ui->txrb2, SLOT (click ())); @@ -4563,11 +4578,7 @@ void MainWindow::on_txb1_clicked() void MainWindow::on_txb1_doubleClicked() { - if (m_mode=="FT8" and SpecOp::HOUND == m_config.special_op_id()) return; - // skip Tx1, only allowed if not a type 1 compound callsign - auto const& my_callsign = m_config.my_callsign (); - auto is_compound = my_callsign != m_baseCall; - ui->tx1->setEnabled ((is_compound && shortList (my_callsign)) || !ui->tx1->isEnabled ()); + ui->tx1->setEnabled (elide_tx1_not_allowed () || !ui->tx1->isEnabled ()); } void MainWindow::on_txb2_clicked() @@ -4905,34 +4916,38 @@ void MainWindow::processMessage (DecodedText const& message, Qt::KeyboardModifie m_QSOProgress=ROGER_REPORT; } } else { // no grid on end of msg - QString r=message_words.at (3); - if(m_QSOProgress >= ROGER_REPORT && (r=="RRR" || r.toInt()==73 || "RR73" == r)) { - if(m_mode=="FT4" and r=="RR73") m_dateTimeRcvdRR73=QDateTime::currentDateTimeUtc(); - m_bTUmsg=false; - m_nextCall=""; //### Temporary: disable use of "TU;" message - if(SpecOp::RTTY == m_config.special_op_id() and m_nextCall!="") { -// We're in RTTY contest and have "nextCall" queued up: send a "TU; ..." message + auto const& word_3 = message_words.at (3); + bool word_3_is_int; + auto word_3_as_number = word_3.toInt (&word_3_is_int); + if(m_QSOProgress >= ROGER_REPORT && ("RRR" == word_3 + || (word_3_is_int && word_3_as_number == 73) + || "RR73" == word_3)) { + if(m_mode=="FT4" and "RR73" == word_3) m_dateTimeRcvdRR73=QDateTime::currentDateTimeUtc(); + m_bTUmsg=false; + m_nextCall=""; //### Temporary: disable use of "TU;" message + if(SpecOp::RTTY == m_config.special_op_id() and m_nextCall!="") { + // We're in RTTY contest and have "nextCall" queued up: send a "TU; ..." message + logQSOTimer.start(0); + ui->tx3->setText(ui->tx3->text().remove("TU; ")); + useNextCall(); + QString t="TU; " + ui->tx3->text(); + ui->tx3->setText(t); + m_bTUmsg=true; + } else { + if(SpecOp::RTTY == m_config.special_op_id()) { logQSOTimer.start(0); - ui->tx3->setText(ui->tx3->text().remove("TU; ")); - useNextCall(); - QString t="TU; " + ui->tx3->text(); - ui->tx3->setText(t); - m_bTUmsg=true; + m_ntx=6; + ui->txrb6->setChecked(true); } else { - if(SpecOp::RTTY == m_config.special_op_id()) { - logQSOTimer.start(0); - m_ntx=6; - ui->txrb6->setChecked(true); - } else { - m_ntx=5; - ui->txrb5->setChecked(true); - } + m_ntx=5; + ui->txrb5->setChecked(true); } + } m_QSOProgress = SIGNOFF; } else if((m_QSOProgress >= REPORT || (m_QSOProgress >= REPLYING && (m_mode=="MSK144" or m_mode=="FT8" or m_mode=="FT4"))) - && r.mid(0,1)=="R") { + && word_3.startsWith ('R')) { m_ntx=4; m_QSOProgress = ROGERS; if(SpecOp::RTTY == m_config.special_op_id()) { @@ -4941,23 +4956,30 @@ void MainWindow::processMessage (DecodedText const& message, Qt::KeyboardModifie if(nRpt>=529 and nRpt<=599) m_xRcvd=t[n-2] + " " + t[n-1]; } ui->txrb4->setChecked(true); - } else if(m_QSOProgress>=CALLING and - ((r.toInt()>=-50 && r.toInt()<=49) or (r.toInt()>=529 && r.toInt()<=599))) { - if(SpecOp::EU_VHF==m_config.special_op_id() or - SpecOp::FIELD_DAY==m_config.special_op_id() or - SpecOp::RTTY==m_config.special_op_id()) { - setTxMsg(2); - m_QSOProgress=REPORT; - } else { - if(r.left(2)=="R-" or r.left(2)=="R+") { - setTxMsg(4); - m_QSOProgress=ROGERS; + } else if (m_QSOProgress >= CALLING) + { + if (word_3_is_int + && ((word_3_as_number >= -50 && word_3_as_number <= 49) + || (word_3_as_number >= 529 && word_3_as_number <= 599))) { + if(SpecOp::EU_VHF==m_config.special_op_id() or + SpecOp::FIELD_DAY==m_config.special_op_id() or + SpecOp::RTTY==m_config.special_op_id()) { + setTxMsg(2); + m_QSOProgress=REPORT; + } + else { + setTxMsg (3); + m_QSOProgress = ROGER_REPORT; + } } else { - setTxMsg(3); - m_QSOProgress=ROGER_REPORT; + if (word_3.startsWith ("R-") || word_3.startsWith ("R+")) { + setTxMsg(4); + m_QSOProgress=ROGERS; } } - } else { // nothing for us + } + else + { // nothing for us return; } } @@ -5736,7 +5758,8 @@ void MainWindow::on_genStdMsgsPushButton_clicked() //genStdMsgs button void MainWindow::on_logQSOButton_clicked() //Log QSO button { - if (SpecOp::FOX != m_config.special_op_id ()) + if (SpecOp::FOX != m_config.special_op_id () + && ui->cbAutoSeq->isVisible () && ui->cbAutoSeq->isEnabled () && ui->cbAutoSeq->isChecked ()) { // ensure that auto Tx is disabled even if clear DX call & grid // on 73 is not checked, unless in Fox mode where it is allowed @@ -5926,8 +5949,8 @@ void MainWindow::on_actionFST4_triggered() m_nsps=6912; //For symspec only m_FFTSize = m_nsps / 2; Q_EMIT FFTSize(m_FFTSize); - ui->label_6->setText(tr ("Band Activity")); - ui->label_7->setText(tr ("Rx Frequency")); + ui->lh_decodes_title_label->setText(tr ("Band Activity")); + ui->rh_decodes_title_label->setText(tr ("Rx Frequency")); WSPR_config(false); if(m_config.single_decode()) { // 012345678901234567890123456789012345 @@ -6012,13 +6035,13 @@ void MainWindow::on_actionFT4_triggered() VHF_features_enabled(bVHF); m_fastGraph->hide(); m_wideGraph->show(); - ui->decodedTextLabel2->setText(" UTC dB DT Freq " + tr ("Message")); + ui->rh_decodes_headings_label->setText(" UTC dB DT Freq " + tr ("Message")); m_wideGraph->setPeriod(m_TRperiod,m_nsps); m_modulator->setTRPeriod(m_TRperiod); // TODO - not thread safe m_detector->setTRPeriod(m_TRperiod); // TODO - not thread safe - ui->label_7->setText(tr ("Rx Frequency")); - ui->label_6->setText(tr ("Band Activity")); - ui->decodedTextLabel->setText( " UTC dB DT Freq " + tr ("Message")); + ui->rh_decodes_title_label->setText(tr ("Rx Frequency")); + ui->lh_decodes_title_label->setText(tr ("Band Activity")); + ui->lh_decodes_headings_label->setText( " UTC dB DT Freq " + tr ("Message")); displayWidgets(nWidgets("111010000100111000010000000110001000")); ui->txrb2->setEnabled(true); ui->txrb4->setEnabled(true); @@ -6056,17 +6079,17 @@ void MainWindow::on_actionFT8_triggered() m_TRperiod=15.0; m_fastGraph->hide(); m_wideGraph->show(); - ui->decodedTextLabel2->setText(" UTC dB DT Freq " + tr ("Message")); + ui->rh_decodes_headings_label->setText(" UTC dB DT Freq " + tr ("Message")); m_wideGraph->setPeriod(m_TRperiod,m_nsps); m_modulator->setTRPeriod(m_TRperiod); // TODO - not thread safe m_detector->setTRPeriod(m_TRperiod); // TODO - not thread safe - ui->label_7->setText(tr ("Rx Frequency")); + ui->rh_decodes_title_label->setText(tr ("Rx Frequency")); if(SpecOp::FOX==m_config.special_op_id()) { - ui->label_6->setText(tr ("Stations calling DXpedition %1").arg (m_config.my_callsign())); - ui->decodedTextLabel->setText( "Call Grid dB Freq Dist Age Continent"); + ui->lh_decodes_title_label->setText(tr ("Stations calling DXpedition %1").arg (m_config.my_callsign())); + ui->lh_decodes_headings_label->setText( "Call Grid dB Freq Dist Age Continent"); } else { - ui->label_6->setText(tr ("Band Activity")); - ui->decodedTextLabel->setText( " UTC dB DT Freq " + tr ("Message")); + ui->lh_decodes_title_label->setText(tr ("Band Activity")); + ui->lh_decodes_headings_label->setText( " UTC dB DT Freq " + tr ("Message")); } displayWidgets(nWidgets("111010000100111000010000100110001000")); ui->txrb2->setEnabled(true); @@ -6161,10 +6184,10 @@ void MainWindow::on_actionJT4_triggered() m_bFast9=false; setup_status_bar (bVHF); ui->sbSubmode->setMaximum(6); - ui->label_6->setText(tr ("Single-Period Decodes")); - ui->label_7->setText(tr ("Average Decodes")); - ui->decodedTextLabel->setText("UTC dB DT Freq " + tr ("Message")); - ui->decodedTextLabel2->setText("UTC dB DT Freq " + tr ("Message")); + ui->lh_decodes_title_label->setText(tr ("Single-Period Decodes")); + ui->rh_decodes_title_label->setText(tr ("Average Decodes")); + ui->lh_decodes_headings_label->setText("UTC dB DT Freq " + tr ("Message")); + ui->rh_decodes_headings_label->setText("UTC dB DT Freq " + tr ("Message")); if(bVHF) { ui->sbSubmode->setValue(m_nSubMode); } else { @@ -6213,22 +6236,22 @@ void MainWindow::on_actionJT9_triggered() m_fastGraph->showNormal(); ui->TxFreqSpinBox->setValue(700); ui->RxFreqSpinBox->setValue(700); - ui->decodedTextLabel->setText(" UTC dB T Freq " + tr ("Message")); - ui->decodedTextLabel2->setText(" UTC dB T Freq " + tr ("Message")); + ui->lh_decodes_headings_label->setText(" UTC dB T Freq " + tr ("Message")); + ui->rh_decodes_headings_label->setText(" UTC dB T Freq " + tr ("Message")); } else { ui->cbAutoSeq->setChecked(false); if (m_mode != "FST4") { m_TRperiod=60.0; - ui->decodedTextLabel->setText("UTC dB DT Freq " + tr ("Message")); - ui->decodedTextLabel2->setText("UTC dB DT Freq " + tr ("Message")); + ui->lh_decodes_headings_label->setText("UTC dB DT Freq " + tr ("Message")); + ui->rh_decodes_headings_label->setText("UTC dB DT Freq " + tr ("Message")); } } m_wideGraph->setPeriod(m_TRperiod,m_nsps); m_modulator->setTRPeriod(m_TRperiod); // TODO - not thread safe m_detector->setTRPeriod(m_TRperiod); // TODO - not thread safe - ui->label_6->setText(tr ("Band Activity")); - ui->label_7->setText(tr ("Rx Frequency")); + ui->lh_decodes_title_label->setText(tr ("Band Activity")); + ui->rh_decodes_title_label->setText(tr ("Rx Frequency")); if(bVHF) { displayWidgets(nWidgets("111110101000111110010000000000000000")); } else { @@ -6267,10 +6290,10 @@ void MainWindow::on_actionJT9_JT65_triggered() m_bFastMode=false; m_bFast9=false; ui->sbSubmode->setValue(0); - ui->label_6->setText(tr ("Band Activity")); - ui->label_7->setText(tr ("Rx Frequency")); - ui->decodedTextLabel->setText("UTC dB DT Freq " + tr ("Message")); - ui->decodedTextLabel2->setText("UTC dB DT Freq " + tr ("Message")); + ui->lh_decodes_title_label->setText(tr ("Band Activity")); + ui->rh_decodes_title_label->setText(tr ("Rx Frequency")); + ui->lh_decodes_headings_label->setText("UTC dB DT Freq " + tr ("Message")); + ui->rh_decodes_headings_label->setText("UTC dB DT Freq " + tr ("Message")); displayWidgets(nWidgets("111010000001111000010000000000001000")); fast_config(false); statusChanged(); @@ -6314,12 +6337,12 @@ void MainWindow::on_actionJT65_triggered() ui->sbSubmode->setMaximum(2); if(bVHF) { ui->sbSubmode->setValue(m_nSubMode); - ui->label_6->setText(tr ("Single-Period Decodes")); - ui->label_7->setText(tr ("Average Decodes")); + ui->lh_decodes_title_label->setText(tr ("Single-Period Decodes")); + ui->rh_decodes_title_label->setText(tr ("Average Decodes")); } else { ui->sbSubmode->setValue(0); - ui->label_6->setText(tr ("Band Activity")); - ui->label_7->setText(tr ("Rx Frequency")); + ui->lh_decodes_title_label->setText(tr ("Band Activity")); + ui->rh_decodes_title_label->setText(tr ("Rx Frequency")); } if(bVHF) { displayWidgets(nWidgets("111110010000110110101100010000000000")); @@ -6376,6 +6399,7 @@ void MainWindow::on_actionISCAT_triggered() m_hsymStop=103; m_toneSpacing=11025.0/256.0; WSPR_config(false); + ui->rh_decodes_widget->setVisible (false); switch_mode(Modes::ISCAT); m_wideGraph->setMode(m_mode); m_wideGraph->setModeTx(m_modeTx); @@ -6384,10 +6408,7 @@ void MainWindow::on_actionISCAT_triggered() if(m_wideGraph->isVisible()) m_wideGraph->hide(); setup_status_bar (true); ui->cbShMsgs->setChecked(false); - ui->label_7->setText(""); - ui->decodedTextBrowser2->setVisible(false); - ui->decodedTextLabel2->setVisible(false); - ui->decodedTextLabel->setText( + ui->lh_decodes_headings_label->setText( " UTC Sync dB DT DF F1 M N C T "); ui->tabWidget->setCurrentIndex(0); ui->sbSubmode->setMaximum(1); @@ -6442,13 +6463,13 @@ void MainWindow::on_actionMSK144_triggered() ui->RxFreqSpinBox->setMinimum(1400); ui->RxFreqSpinBox->setMaximum(1600); ui->RxFreqSpinBox->setSingleStep(10); - ui->decodedTextLabel->setText(" UTC dB T Freq " + tr ("Message")); - ui->decodedTextLabel2->setText(" UTC dB T Freq " + tr ("Message")); + ui->lh_decodes_headings_label->setText(" UTC dB T Freq " + tr ("Message")); + ui->rh_decodes_headings_label->setText(" UTC dB T Freq " + tr ("Message")); m_modulator->setTRPeriod(m_TRperiod); // TODO - not thread safe m_detector->setTRPeriod(m_TRperiod); // TODO - not thread safe m_fastGraph->setTRPeriod(m_TRperiod); - ui->label_6->setText(tr ("Band Activity")); - ui->label_7->setText(tr ("Tx Messages")); + ui->lh_decodes_title_label->setText(tr ("Band Activity")); + ui->rh_decodes_title_label->setText(tr ("Tx Messages")); ui->actionMSK144->setChecked(true); ui->rptSpinBox->setMinimum(-8); ui->rptSpinBox->setMaximum(24); @@ -6527,7 +6548,7 @@ void MainWindow::on_actionEcho_triggered() m_bFastMode=false; m_bFast9=false; WSPR_config(true); - ui->decodedTextLabel->setText(" UTC N Level Sig DF Width Q"); + ui->lh_decodes_headings_label->setText(" UTC N Level Sig DF Width Q"); displayWidgets(nWidgets("000000000000000000000010000000000000")); fast_config(false); statusChanged(); @@ -6552,7 +6573,7 @@ void MainWindow::on_actionFreqCal_triggered() ui->RxFreqSpinBox->setValue(1500); setup_status_bar (true); // 18:15:47 0 1 1500 1550.349 0.100 3.5 10.2 - ui->decodedTextLabel->setText(" UTC Freq CAL Offset fMeas DF Level S/N"); + ui->lh_decodes_headings_label->setText(" UTC Freq CAL Offset fMeas DF Level S/N"); ui->measure_check_box->setChecked (false); displayWidgets(nWidgets("001101000000000000000000000001000000")); statusChanged(); @@ -6585,23 +6606,19 @@ void MainWindow::switch_mode (Mode mode) ui->tabWidget->setVisible(!b); if(b) { ui->DX_controls_widget->setVisible(false); - ui->decodedTextBrowser2->setVisible(false); - ui->decodedTextLabel2->setVisible(false); - ui->label_6->setVisible(false); - ui->label_7->setVisible(false); + ui->rh_decodes_widget->setVisible (false); + ui->lh_decodes_title_label->setVisible(false); } } void MainWindow::WSPR_config(bool b) { - ui->decodedTextBrowser2->setVisible(!b); - ui->decodedTextLabel2->setVisible(!b and ui->cbMenus->isChecked()); + ui->rh_decodes_widget->setVisible(!b); ui->controls_stack_widget->setCurrentIndex (b && m_mode != "Echo" ? 1 : 0); ui->QSO_controls_widget->setVisible (!b); ui->DX_controls_widget->setVisible (!b); ui->WSPR_controls_widget->setVisible (b); - ui->label_6->setVisible(!b and ui->cbMenus->isChecked()); - ui->label_7->setVisible(!b and ui->cbMenus->isChecked()); + ui->lh_decodes_title_label->setVisible(!b and ui->cbMenus->isChecked()); ui->logQSOButton->setVisible(!b); ui->DecodeButton->setEnabled(!b); bool bFST4W=(m_mode=="FST4W"); @@ -6615,7 +6632,7 @@ void MainWindow::WSPR_config(bool b) QString t="UTC dB DT Freq Drift Call Grid dBm "; if(m_config.miles()) t += " mi"; if(!m_config.miles()) t += " km"; - ui->decodedTextLabel->setText(t); + ui->lh_decodes_headings_label->setText(t); if (m_config.is_transceiver_online ()) { m_config.transceiver_tx_frequency (0); // turn off split } @@ -6687,8 +6704,8 @@ void MainWindow::chk_FST4_freq_range() int diff=ui->sbF_High->value() - ui->sbF_Low->value(); if(diff<100 or diff>maxDiff) { - ui->sbF_Low->setStyleSheet("QSpinBox { background-color: red; }"); - ui->sbF_High->setStyleSheet("QSpinBox { background-color: red; }"); + ui->sbF_Low->setStyleSheet("QSpinBox { color: white; background-color: red; }"); + ui->sbF_High->setStyleSheet("QSpinBox { color: white; background-color: red; }"); } else { ui->sbF_Low->setStyleSheet(""); ui->sbF_High->setStyleSheet(""); @@ -7057,7 +7074,7 @@ void MainWindow::setFreq4(int rxFreq, int txFreq) } else { if (ui->TxFreqSpinBox->isEnabled ()) { ui->TxFreqSpinBox->setValue(txFreq); - if ("FT8" == m_mode || "FT4" == m_mode) + if ("FT8" == m_mode || "FT4" == m_mode || m_mode=="FST4") { // we need to regenerate the current transmit waveform for // GFSK modulated modes @@ -7238,11 +7255,13 @@ void MainWindow::transmit (double snr) if(m_TRperiod==300) nsps=21504; if(m_TRperiod==900) nsps=66560; if(m_TRperiod==1800) nsps=134400; - int hmod=1; //No FST4/W submodes + int hmod=1; + if(m_config.x2ToneSpacing()) hmod=2; + if(m_config.x4ToneSpacing()) hmod=4; double dfreq=hmod*12000.0/nsps; double f0=ui->WSPRfreqSpinBox->value() - m_XIT; if(m_mode=="FST4") f0=ui->TxFreqSpinBox->value() - m_XIT; - if(!m_tune) f0 += + 1.5*dfreq; + if(!m_tune) f0 += 1.5*dfreq; Q_EMIT sendMessage (m_mode, NUM_FST4_SYMBOLS,double(nsps),f0,toneSpacing, m_soundOutput,m_config.audio_output_channel(), true, false, snr, m_TRperiod); @@ -7415,7 +7434,7 @@ Type 1 Suffixes: /0 /1 /2 /3 /4 /5 /6 /7 /8 /9 /A /P)", {"Courier", 10}}); m_prefixes->raise (); } -bool MainWindow::shortList(QString callsign) +bool MainWindow::shortList(QString callsign) const { int n=callsign.length(); int i1=callsign.indexOf("/"); @@ -7521,18 +7540,18 @@ void MainWindow::on_sbTR_valueChanged(int value) { if (m_TRperiod < 60) { - ui->decodedTextLabel->setText(" UTC dB DT Freq " + tr ("Message")); + ui->lh_decodes_headings_label->setText(" UTC dB DT Freq " + tr ("Message")); if (m_mode != "FST4W") { - ui->decodedTextLabel2->setText(" UTC dB DT Freq " + tr ("Message")); + ui->rh_decodes_headings_label->setText(" UTC dB DT Freq " + tr ("Message")); } } else { - ui->decodedTextLabel->setText("UTC dB DT Freq " + tr ("Message")); + ui->lh_decodes_headings_label->setText("UTC dB DT Freq " + tr ("Message")); if (m_mode != "FST4W") { - ui->decodedTextLabel2->setText("UTC dB DT Freq " + tr ("Message")); + ui->rh_decodes_headings_label->setText("UTC dB DT Freq " + tr ("Message")); } } } @@ -7660,13 +7679,21 @@ void MainWindow::replyToCQ (QTime time, qint32 snr, float delta_time, quint32 de QString format_string {"%1 %2 %3 %4 %5 %6"}; auto const& time_string = time.toString ("~" == mode || "&" == mode || "+" == mode ? "hhmmss" : "hhmm"); + auto text = message_text; + auto ap_pos = text.lastIndexOf (QRegularExpression {R"((?:\?\s)?a[0-9]$)"}); + if (ap_pos >= 0) + { + // beware of decodes ending on shorter version of wanted call so + // add a space + text = text.left (ap_pos).trimmed () + ' '; + } auto message_line = format_string .arg (time_string) .arg (snr, 3) .arg (delta_time, 4, 'f', 1) .arg (delta_frequency, 4) .arg (mode, -2) - .arg (message_text); + .arg (text); QTextCursor start {ui->decodedTextBrowser->document ()}; start.movePosition (QTextCursor::End); auto cursor = ui->decodedTextBrowser->document ()->find (message_line, start, QTextDocument::FindBackward); @@ -7679,7 +7706,7 @@ void MainWindow::replyToCQ (QTime time, qint32 snr, float delta_time, quint32 de .arg ('-' + QString::number (delta_time, 'f', 1), 4) .arg (delta_frequency, 4) .arg (mode, -2) - .arg (message_text), start, QTextDocument::FindBackward); + .arg (text), start, QTextDocument::FindBackward); } if (!cursor.isNull ()) { @@ -7694,7 +7721,7 @@ void MainWindow::replyToCQ (QTime time, qint32 snr, float delta_time, quint32 de showNormal (); raise (); } - if (message_text.contains (QRegularExpression {R"(^(CQ |CQDX |QRZ ))"})) { + if (text.contains (QRegularExpression {R"(^(CQ |CQDX |QRZ ))"})) { // a message we are willing to accept and auto reply to m_bDoubleClicked = true; } @@ -7808,7 +7835,7 @@ void MainWindow::networkError (QString const& e) , MessageBox::Cancel)) { // retry server lookup - m_messageClient->set_server (m_config.udp_server_name ()); + m_messageClient->set_server (m_config.udp_server_name (), m_config.udp_interface_names ()); } } @@ -7969,35 +7996,38 @@ void MainWindow::uploadWSPRSpots (bool direct_post, QString const& decode_text) { // do not spot if disabled, replays, or if rig control not working if(!m_uploadWSPRSpots || m_diskData || !m_config.is_transceiver_online ()) return; - if(m_uploading) { + if(m_uploading && !decode_text.size ()) { qDebug() << "Previous upload has not completed, spots were lost"; wsprNet->abortOutstandingRequests (); m_uploading = false; } - QString rfreq = QString("%1").arg((m_dialFreqRxWSPR + 1500) / 1e6, 0, 'f', 6); + QString rfreq = QString("%1").arg((m_dialFreqRxWSPR + m_wideGraph->rxFreq ()) / 1e6, 0, 'f', 6); QString tfreq = QString("%1").arg((m_dialFreqRxWSPR + ui->TxFreqSpinBox->value()) / 1e6, 0, 'f', 6); auto pct = QString::number (ui->autoButton->isChecked () ? ui->sbTxPercent->value () : 0); - if (!direct_post) + if (direct_post) + { + // queues one FST4W spot + wsprNet->post (m_config.my_callsign (), m_config.my_grid (), rfreq, tfreq, + m_mode, m_TRperiod, pct, + QString::number (m_dBm), version (), decode_text); + } + else { + // queues spots for each decode in wspr_spots.txt wsprNet->upload (m_config.my_callsign (), m_config.my_grid (), rfreq, tfreq, m_mode, m_TRperiod, pct, QString::number (m_dBm), version (), m_config.writeable_data_dir ().absoluteFilePath ("wspr_spots.txt")); } - else - { - wsprNet->post (m_config.my_callsign (), m_config.my_grid (), rfreq, tfreq, - m_mode, m_TRperiod, pct, - QString::number (m_dBm), version (), decode_text); - } + // trigger upload of any queued spots if (!decode_text.size ()) { m_uploading = true; } } -void MainWindow::uploadResponse(QString response) +void MainWindow::uploadResponse(QString const& response) { if (response == "done") { m_uploading=false; @@ -8174,6 +8204,10 @@ void MainWindow::astroUpdate () correction.tx = correction.tx / 10 * 10; } m_astroCorrection = correction; + if (m_reverse_Doppler) + { + m_astroCorrection.reverse (); + } } else { @@ -8286,12 +8320,22 @@ void MainWindow::statusUpdate () const if (!ui || m_block_udp_status_updates) return; auto submode = current_submode (); auto ftol = ui->sbFtol->value (); - if (!(ui->sbFtol->isVisible () && ui->sbFtol->isEnabled ())) + if ("FST4W" == m_mode) + { + ftol = ui->sbFST4W_FTol->value (); + } + else if (!(ui->sbFtol->isVisible () && ui->sbFtol->isEnabled ())) { ftol = quint32_max; } auto tr_period = ui->sbTR->value (); - if (!(ui->sbTR->isVisible () && ui->sbTR->isEnabled ())) + auto rx_frequency = ui->RxFreqSpinBox->value (); + if ("FST4W" == m_mode) + { + tr_period = ui->sbTR_FST4W->value (); + rx_frequency = ui->sbFST4W_RxFreq->value (); + } + else if (!(ui->sbTR->isVisible () && ui->sbTR->isEnabled ())) { tr_period = quint32_max; } @@ -8299,7 +8343,7 @@ void MainWindow::statusUpdate () const QString::number (ui->rptSpinBox->value ()), m_modeTx, ui->autoButton->isChecked (), m_transmitting, m_decoderBusy, - ui->RxFreqSpinBox->value (), ui->TxFreqSpinBox->value (), + rx_frequency, ui->TxFreqSpinBox->value (), m_config.my_callsign (), m_config.my_grid (), m_hisGrid, m_tx_watchdog, submode != QChar::Null ? QString {submode} : QString {}, m_bFastMode, @@ -9088,15 +9132,15 @@ void MainWindow::write_all(QString txRx, QString message) QString msg; QString mode_string; - if (message[4]==' ') { + if (message.size () > 5 && message[4]==' ') { msg=message.mid(4,-1); } else { msg=message.mid(6,-1); } - if (message[19]=='#') { + if (message.size () > 19 && message[19]=='#') { mode_string="JT65 "; - } else if (message[19]=='@') { + } else if (message.size () > 19 && message[19]=='@') { mode_string="JT9 "; } else { mode_string=m_mode.leftJustified(6,' '); @@ -9205,9 +9249,19 @@ void MainWindow::remote_configure (QString const& mode, quint32 frequency_tolera { set_mode (mode); } - if (frequency_tolerance != quint32_max && ui->sbFtol->isVisible ()) + auto is_FST4W = "FST4W" == m_mode; + if (frequency_tolerance != quint32_max && (ui->sbFtol->isVisible () || is_FST4W)) { - ui->sbFtol->setValue (frequency_tolerance); + m_block_udp_status_updates = true; + if (is_FST4W) + { + ui->sbFST4W_FTol->setValue (frequency_tolerance); + } + else + { + ui->sbFtol->setValue (frequency_tolerance); + } + m_block_udp_status_updates = false; } if (submode.size () && ui->sbSubmode->isVisible ()) { @@ -9219,14 +9273,30 @@ void MainWindow::remote_configure (QString const& mode, quint32 frequency_tolera } if (tr_period != quint32_max && ui->sbTR->isVisible ()) { - ui->sbTR->setValue (tr_period); - ui->sbTR->interpretText (); + if (is_FST4W) + { + ui->sbTR_FST4W->setValue (tr_period); + ui->sbTR_FST4W->interpretText (); + } + else + { + ui->sbTR->setValue (tr_period); + ui->sbTR->interpretText (); + } } if (rx_df != quint32_max && ui->RxFreqSpinBox->isVisible ()) { m_block_udp_status_updates = true; - ui->RxFreqSpinBox->setValue (rx_df); - ui->RxFreqSpinBox->interpretText (); + if (is_FST4W) + { + ui->sbFST4W_RxFreq->setValue (rx_df); + ui->sbFST4W_RxFreq->interpretText (); + } + else + { + ui->RxFreqSpinBox->setValue (rx_df); + ui->RxFreqSpinBox->interpretText (); + } m_block_udp_status_updates = false; } if (dx_call.size () && ui->dxCallEntry->isVisible ()) diff --git a/widgets/mainwindow.h b/widgets/mainwindow.h index 071ffd90..c51a418d 100644 --- a/widgets/mainwindow.h +++ b/widgets/mainwindow.h @@ -26,6 +26,7 @@ #include <QFuture> #include <QFutureWatcher> +#include "NonInheritingProcess.hpp" #include "Audio/AudioDevice.hpp" #include "commons.h" #include "Radio.hpp" @@ -63,6 +64,7 @@ namespace Ui { class MainWindow; } +class QProcessEnvironment; class QSharedMemory; class QSplashScreen; class QSettings; @@ -103,7 +105,7 @@ public: explicit MainWindow(QDir const& temp_directory, bool multiple, MultiSettings *, QSharedMemory *shdmem, unsigned downSampleFactor, - QSplashScreen *, + QSplashScreen *, QProcessEnvironment const&, QWidget *parent = nullptr); ~MainWindow(); @@ -165,6 +167,7 @@ private slots: void on_actionSpecial_mouse_commands_triggered(); void on_actionSolve_FreqCal_triggered(); void on_actionCopyright_Notice_triggered(); + void on_actionSWL_Mode_triggered (bool checked); void on_DecodeButton_clicked (bool); void decode(); void decodeBusy(bool b); @@ -278,7 +281,7 @@ private slots: void WSPR_config(bool b); void uploadWSPRSpots (bool direct_post = false, QString const& decode_text = QString {}); void TxAgain(); - void uploadResponse(QString response); + void uploadResponse(QString const& response); void on_WSPRfreqSpinBox_valueChanged(int n); void on_sbFST4W_RxFreq_valueChanged(int n); void on_sbFST4W_FTol_valueChanged(int n); @@ -354,7 +357,9 @@ private: void foxTest(); void setColorHighlighting(); void chkFT4(); + bool elide_tx1_not_allowed () const; + QProcessEnvironment const& m_env; NetworkAccessManager m_network_manager; bool m_valid; QSplashScreen * m_splash; @@ -401,12 +406,12 @@ private: qint64 m_msErase; qint64 m_secBandChanged; qint64 m_freqMoon; - qint64 m_msec0; qint64 m_fullFoxCallTime; Frequency m_freqNominal; Frequency m_freqTxNominal; Astro::Correction m_astroCorrection; + bool m_reverse_Doppler; double m_s6; double m_tRemaining; @@ -572,9 +577,9 @@ private: QFutureWatcher<void> watcher3; QFutureWatcher<QString> m_saveWAVWatcher; - QProcess proc_jt9; - QProcess p1; - QProcess p3; + NonInheritingProcess proc_jt9; + NonInheritingProcess p1; + NonInheritingProcess p3; WSPRNet *wsprNet; @@ -706,7 +711,7 @@ private: void stub(); void statusChanged(); void fixStop(); - bool shortList(QString callsign); + bool shortList(QString callsign) const; void transmit (double snr = 99.); void rigFailure (QString const& reason); void pskSetLocal (); diff --git a/widgets/mainwindow.ui b/widgets/mainwindow.ui index 558fefe0..6ffcf9a2 100644 --- a/widgets/mainwindow.ui +++ b/widgets/mainwindow.ui @@ -7,7 +7,7 @@ <x>0</x> <y>0</y> <width>805</width> - <height>555</height> + <height>589</height> </rect> </property> <property name="sizePolicy"> @@ -23,16 +23,22 @@ <string notr="true"/> </property> <widget class="QWidget" name="centralWidget"> - <layout class="QVBoxLayout" name="verticalLayout_6" stretch="1,0,0"> + <layout class="QVBoxLayout" name="verticalLayout_6" stretch="0,0"> <item> <widget class="QSplitter" name="splitter"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>2</verstretch> + </sizepolicy> + </property> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <widget class="QWidget" name="layoutWidget"> <layout class="QVBoxLayout" name="verticalLayout_3"> <item> - <widget class="QLabel" name="label_6"> + <widget class="QLabel" name="lh_decodes_title_label"> <property name="maximumSize"> <size> <width>500</width> @@ -55,7 +61,7 @@ </widget> </item> <item> - <widget class="QLabel" name="decodedTextLabel"> + <widget class="QLabel" name="lh_decodes_headings_label"> <property name="minimumSize"> <size> <width>300</width> @@ -179,10 +185,22 @@ </item> </layout> </widget> - <widget class="QWidget" name="layoutWidget_1"> - <layout class="QVBoxLayout" name="verticalLayout"> + <widget class="QWidget" name="rh_decodes_widget" native="true"> + <layout class="QVBoxLayout" name="verticalLayout_9"> + <property name="leftMargin"> + <number>0</number> + </property> + <property name="topMargin"> + <number>0</number> + </property> + <property name="rightMargin"> + <number>0</number> + </property> + <property name="bottomMargin"> + <number>0</number> + </property> <item> - <widget class="QLabel" name="label_7"> + <widget class="QLabel" name="rh_decodes_title_label"> <property name="font"> <font> <pointsize>10</pointsize> @@ -199,7 +217,7 @@ </widget> </item> <item> - <widget class="QLabel" name="decodedTextLabel2"> + <widget class="QLabel" name="rh_decodes_headings_label"> <property name="minimumSize"> <size> <width>300</width> @@ -323,59 +341,74 @@ </widget> </item> <item> - <layout class="QHBoxLayout" name="horizontalLayout_2" stretch="0,2,2,2,2,2,2,2,2,2,1"> - <item> - <widget class="QCheckBox" name="cbCQonly"> - <property name="text"> - <string>CQ only</string> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="logQSOButton"> - <property name="minimumSize"> - <size> - <width>50</width> - <height>0</height> - </size> - </property> - <property name="toolTip"> - <string>Enter this QSO in log</string> - </property> - <property name="text"> - <string>Log &QSO</string> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="stopButton"> - <property name="minimumSize"> - <size> - <width>50</width> - <height>0</height> - </size> - </property> - <property name="toolTip"> - <string>Stop monitoring</string> - </property> - <property name="text"> - <string>&Stop</string> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="monitorButton"> - <property name="minimumSize"> - <size> - <width>50</width> - <height>0</height> - </size> - </property> - <property name="toolTip"> - <string>Toggle monitoring On/Off</string> - </property> - <property name="styleSheet"> - <string notr="true">QPushButton:checked { + <widget class="QWidget" name="lower_panel_widget" native="true"> + <layout class="QVBoxLayout" name="verticalLayout_4"> + <property name="leftMargin"> + <number>0</number> + </property> + <property name="topMargin"> + <number>0</number> + </property> + <property name="rightMargin"> + <number>0</number> + </property> + <property name="bottomMargin"> + <number>0</number> + </property> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_2" stretch="0,2,2,2,2,2,2,2,2,2,1"> + <item> + <widget class="QCheckBox" name="cbCQonly"> + <property name="text"> + <string>CQ only</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="logQSOButton"> + <property name="minimumSize"> + <size> + <width>50</width> + <height>0</height> + </size> + </property> + <property name="toolTip"> + <string>Enter this QSO in log</string> + </property> + <property name="text"> + <string>Log &QSO</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="stopButton"> + <property name="minimumSize"> + <size> + <width>50</width> + <height>0</height> + </size> + </property> + <property name="toolTip"> + <string>Stop monitoring</string> + </property> + <property name="text"> + <string>&Stop</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="monitorButton"> + <property name="minimumSize"> + <size> + <width>50</width> + <height>0</height> + </size> + </property> + <property name="toolTip"> + <string>Toggle monitoring On/Off</string> + </property> + <property name="styleSheet"> + <string notr="true">QPushButton:checked { color: #000000; background-color: #00ff00; border-style: outset; @@ -385,69 +418,69 @@ min-width: 5em; padding: 3px; }</string> - </property> - <property name="text"> - <string>&Monitor</string> - </property> - <property name="checkable"> - <bool>true</bool> - </property> - <property name="checked"> - <bool>false</bool> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="EraseButton"> - <property name="minimumSize"> - <size> - <width>50</width> - <height>0</height> - </size> - </property> - <property name="toolTip"> - <string><html><head/><body><p>Erase right window. Double-click to erase both windows.</p></body></html></string> - </property> - <property name="accessibleDescription"> - <string>Erase right window. Double-click to erase both windows.</string> - </property> - <property name="text"> - <string>&Erase</string> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="ClrAvgButton"> - <property name="enabled"> - <bool>true</bool> - </property> - <property name="toolTip"> - <string><html><head/><body><p>Clear the accumulating message average.</p></body></html></string> - </property> - <property name="accessibleDescription"> - <string>Clear the accumulating message average.</string> - </property> - <property name="text"> - <string>Clear Avg</string> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="DecodeButton"> - <property name="minimumSize"> - <size> - <width>50</width> - <height>0</height> - </size> - </property> - <property name="toolTip"> - <string><html><head/><body><p>Decode most recent Rx period at QSO Frequency</p></body></html></string> - </property> - <property name="accessibleDescription"> - <string>Decode most recent Rx period at QSO Frequency</string> - </property> - <property name="styleSheet"> - <string notr="true">QPushButton:checked { + </property> + <property name="text"> + <string>&Monitor</string> + </property> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="checked"> + <bool>false</bool> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="EraseButton"> + <property name="minimumSize"> + <size> + <width>50</width> + <height>0</height> + </size> + </property> + <property name="toolTip"> + <string><html><head/><body><p>Erase right window. Double-click to erase both windows.</p></body></html></string> + </property> + <property name="accessibleDescription"> + <string>Erase right window. Double-click to erase both windows.</string> + </property> + <property name="text"> + <string>&Erase</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="ClrAvgButton"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="toolTip"> + <string><html><head/><body><p>Clear the accumulating message average.</p></body></html></string> + </property> + <property name="accessibleDescription"> + <string>Clear the accumulating message average.</string> + </property> + <property name="text"> + <string>Clear Avg</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="DecodeButton"> + <property name="minimumSize"> + <size> + <width>50</width> + <height>0</height> + </size> + </property> + <property name="toolTip"> + <string><html><head/><body><p>Decode most recent Rx period at QSO Frequency</p></body></html></string> + </property> + <property name="accessibleDescription"> + <string>Decode most recent Rx period at QSO Frequency</string> + </property> + <property name="styleSheet"> + <string notr="true">QPushButton:checked { color: rgb(0, 0, 0); background-color: cyan; border-style: outset; @@ -457,31 +490,31 @@ min-width: 5em; padding: 3px; }</string> - </property> - <property name="text"> - <string>&Decode</string> - </property> - <property name="checkable"> - <bool>true</bool> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="autoButton"> - <property name="minimumSize"> - <size> - <width>50</width> - <height>0</height> - </size> - </property> - <property name="toolTip"> - <string><html><head/><body><p>Toggle Auto-Tx On/Off</p></body></html></string> - </property> - <property name="accessibleDescription"> - <string>Toggle Auto-Tx On/Off</string> - </property> - <property name="styleSheet"> - <string notr="true">QPushButton:checked { + </property> + <property name="text"> + <string>&Decode</string> + </property> + <property name="checkable"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="autoButton"> + <property name="minimumSize"> + <size> + <width>50</width> + <height>0</height> + </size> + </property> + <property name="toolTip"> + <string><html><head/><body><p>Toggle Auto-Tx On/Off</p></body></html></string> + </property> + <property name="accessibleDescription"> + <string>Toggle Auto-Tx On/Off</string> + </property> + <property name="styleSheet"> + <string notr="true">QPushButton:checked { color: rgb(0, 0, 0); background-color: red; border-style: outset; @@ -491,41 +524,41 @@ min-width: 5em; padding: 3px; }</string> - </property> - <property name="text"> - <string>E&nable Tx</string> - </property> - <property name="checkable"> - <bool>true</bool> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="stopTxButton"> - <property name="minimumSize"> - <size> - <width>50</width> - <height>0</height> - </size> - </property> - <property name="toolTip"> - <string>Stop transmitting immediately</string> - </property> - <property name="text"> - <string>&Halt Tx</string> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="tuneButton"> - <property name="toolTip"> - <string><html><head/><body><p>Toggle a pure Tx tone On/Off</p></body></html></string> - </property> - <property name="accessibleDescription"> - <string>Toggle a pure Tx tone On/Off</string> - </property> - <property name="styleSheet"> - <string notr="true">QPushButton:checked { + </property> + <property name="text"> + <string>E&nable Tx</string> + </property> + <property name="checkable"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="stopTxButton"> + <property name="minimumSize"> + <size> + <width>50</width> + <height>0</height> + </size> + </property> + <property name="toolTip"> + <string>Stop transmitting immediately</string> + </property> + <property name="text"> + <string>&Halt Tx</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="tuneButton"> + <property name="toolTip"> + <string><html><head/><body><p>Toggle a pure Tx tone On/Off</p></body></html></string> + </property> + <property name="accessibleDescription"> + <string>Toggle a pure Tx tone On/Off</string> + </property> + <property name="styleSheet"> + <string notr="true">QPushButton:checked { color: rgb(0, 0, 0); background-color: red; border-style: outset; @@ -535,42 +568,75 @@ min-width: 5em; padding: 3px; }</string> - </property> - <property name="text"> - <string>&Tune</string> - </property> - <property name="checkable"> - <bool>true</bool> - </property> - </widget> - </item> - <item> - <widget class="QCheckBox" name="cbMenus"> - <property name="text"> - <string>Menus</string> - </property> - <property name="checked"> - <bool>true</bool> - </property> - </widget> - </item> - </layout> - </item> - <item> - <layout class="QGridLayout" name="gridLayout_5" rowstretch="1,0,1,1"> - <item row="0" column="1" alignment="Qt::AlignHCenter|Qt::AlignVCenter"> - <widget class="QPushButton" name="readFreq"> - <property name="enabled"> - <bool>false</bool> - </property> - <property name="toolTip"> - <string><html><head/><body><p>If orange or red there has been a rig control failure, click to reset and read the dial frequency. S implies split mode.</p></body></html></string> - </property> - <property name="accessibleDescription"> - <string>If orange or red there has been a rig control failure, click to reset and read the dial frequency. S implies split mode.</string> - </property> - <property name="styleSheet"> - <string notr="true">QPushButton { + </property> + <property name="text"> + <string>&Tune</string> + </property> + <property name="checkable"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="cbMenus"> + <property name="text"> + <string>Menus</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + </widget> + </item> + </layout> + </item> + <item> + <layout class="QGridLayout" name="gridLayout_5" rowstretch="1,0,0,0"> + <item row="0" column="2"> + <widget class="QLabel" name="labDialFreq"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="toolTip"> + <string>USB dial frequency</string> + </property> + <property name="styleSheet"> + <string notr="true">QLabel { + font-family: MS Shell Dlg 2; + font-size: 16pt; + color : yellow; + background-color : black; +} +QLabel[oob="true"] { + background-color: red; +}</string> + </property> + <property name="text"> + <string>14.078 000</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + <property name="margin"> + <number>5</number> + </property> + </widget> + </item> + <item row="0" column="1" alignment="Qt::AlignHCenter|Qt::AlignVCenter"> + <widget class="QPushButton" name="readFreq"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="toolTip"> + <string><html><head/><body><p>If orange or red there has been a rig control failure, click to reset and read the dial frequency. S implies split mode.</p></body></html></string> + </property> + <property name="accessibleDescription"> + <string>If orange or red there has been a rig control failure, click to reset and read the dial frequency. S implies split mode.</string> + </property> + <property name="styleSheet"> + <string notr="true">QPushButton { font-family: helvetica; font-size: 9pt; font-weight: bold; @@ -594,56 +660,448 @@ QPushButton[state="warning"] { QPushButton[state="ok"] { background-color: #00ff00; }</string> - </property> - <property name="text"> - <string>?</string> - </property> - </widget> - </item> - <item row="0" column="0"> - <widget class="QComboBox" name="bandComboBox"> - <property name="toolTip"> - <string><html><head/><body><p>Select operating band or enter frequency in MHz or enter kHz increment followed by k.</p></body></html></string> - </property> - <property name="accessibleName"> - <string>Frequency entry</string> - </property> - <property name="accessibleDescription"> - <string>Select operating band or enter frequency in MHz or enter kHz increment followed by k.</string> - </property> - <property name="editable"> - <bool>true</bool> - </property> - <property name="insertPolicy"> - <enum>QComboBox::NoInsert</enum> - </property> - <property name="sizeAdjustPolicy"> - <enum>QComboBox::AdjustToMinimumContentsLength</enum> - </property> - </widget> - </item> - <item row="0" column="3" rowspan="4"> - <widget class="QStackedWidget" name="controls_stack_widget"> - <property name="currentIndex"> - <number>0</number> - </property> - <widget class="QWidget" name="page"> - <layout class="QHBoxLayout" name="horizontalLayout_8"> - <property name="leftMargin"> - <number>0</number> - </property> - <property name="topMargin"> - <number>0</number> - </property> - <property name="rightMargin"> - <number>0</number> - </property> - <property name="bottomMargin"> - <number>0</number> - </property> - <item> - <widget class="QWidget" name="QSO_controls_widget" native="true"> - <layout class="QHBoxLayout" name="horizontalLayout_6" stretch="0,0"> + </property> + <property name="text"> + <string>?</string> + </property> + </widget> + </item> + <item row="0" column="4"> + <widget class="QLabel" name="label"> + <property name="text"> + <string> Pwr</string> + </property> + </widget> + </item> + <item row="0" column="0"> + <widget class="QComboBox" name="bandComboBox"> + <property name="toolTip"> + <string><html><head/><body><p>Select operating band or enter frequency in MHz or enter kHz increment followed by k.</p></body></html></string> + </property> + <property name="accessibleName"> + <string>Frequency entry</string> + </property> + <property name="accessibleDescription"> + <string>Select operating band or enter frequency in MHz or enter kHz increment followed by k.</string> + </property> + <property name="editable"> + <bool>true</bool> + </property> + <property name="insertPolicy"> + <enum>QComboBox::NoInsert</enum> + </property> + <property name="sizeAdjustPolicy"> + <enum>QComboBox::AdjustToMinimumContentsLength</enum> + </property> + </widget> + </item> + <item row="1" column="0" rowspan="2"> + <layout class="QVBoxLayout" name="verticalLayout_11"> + <item> + <widget class="QSpinBox" name="sbNB"> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + <property name="suffix"> + <string> %</string> + </property> + <property name="prefix"> + <string>NB </string> + </property> + <property name="minimum"> + <number>-2</number> + </property> + <property name="maximum"> + <number>25</number> + </property> + </widget> + </item> + <item> + <widget class="SignalMeter" name="signal_meter_widget"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="maximumSize"> + <size> + <width>100</width> + <height>16777215</height> + </size> + </property> + <property name="toolTip"> + <string><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></string> + </property> + <property name="accessibleName"> + <string>Rx Signal</string> + </property> + <property name="accessibleDescription"> + <string>30dB recommended when only noise present +Green when good +Red when clipping may occur +Yellow when too low</string> + </property> + <property name="frameShape"> + <enum>QFrame::Panel</enum> + </property> + <property name="frameShadow"> + <enum>QFrame::Sunken</enum> + </property> + </widget> + </item> + </layout> + </item> + <item row="1" column="2"> + <widget class="QWidget" name="DX_controls_widget" native="true"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <layout class="QGridLayout" name="gridLayout_2"> + <property name="leftMargin"> + <number>0</number> + </property> + <property name="topMargin"> + <number>0</number> + </property> + <property name="rightMargin"> + <number>0</number> + </property> + <property name="bottomMargin"> + <number>0</number> + </property> + <item row="1" column="0"> + <widget class="QLabel" name="label_3"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="palette"> + <palette> + <active> + <colorrole role="Base"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>252</red> + <green>252</green> + <blue>252</blue> + </color> + </brush> + </colorrole> + <colorrole role="Window"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>159</red> + <green>175</green> + <blue>213</blue> + </color> + </brush> + </colorrole> + </active> + <inactive> + <colorrole role="Base"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>252</red> + <green>252</green> + <blue>252</blue> + </color> + </brush> + </colorrole> + <colorrole role="Window"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>159</red> + <green>175</green> + <blue>213</blue> + </color> + </brush> + </colorrole> + </inactive> + <disabled> + <colorrole role="Base"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>159</red> + <green>175</green> + <blue>213</blue> + </color> + </brush> + </colorrole> + <colorrole role="Window"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>159</red> + <green>175</green> + <blue>213</blue> + </color> + </brush> + </colorrole> + </disabled> + </palette> + </property> + <property name="autoFillBackground"> + <bool>true</bool> + </property> + <property name="text"> + <string>DX Call</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + <property name="margin"> + <number>5</number> + </property> + <property name="indent"> + <number>2</number> + </property> + <property name="buddy"> + <cstring>dxCallEntry</cstring> + </property> + </widget> + </item> + <item row="3" column="0" colspan="2"> + <widget class="QLabel" name="labAz"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="autoFillBackground"> + <bool>true</bool> + </property> + <property name="text"> + <string>Az: 251 16553 km</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + <property name="indent"> + <number>4</number> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QLineEdit" name="dxCallEntry"> + <property name="toolTip"> + <string>Callsign of station to be worked</string> + </property> + <property name="text"> + <string/> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QLabel" name="label_4"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="palette"> + <palette> + <active> + <colorrole role="Base"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>252</red> + <green>252</green> + <blue>252</blue> + </color> + </brush> + </colorrole> + <colorrole role="Window"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>159</red> + <green>175</green> + <blue>213</blue> + </color> + </brush> + </colorrole> + </active> + <inactive> + <colorrole role="Base"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>252</red> + <green>252</green> + <blue>252</blue> + </color> + </brush> + </colorrole> + <colorrole role="Window"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>159</red> + <green>175</green> + <blue>213</blue> + </color> + </brush> + </colorrole> + </inactive> + <disabled> + <colorrole role="Base"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>159</red> + <green>175</green> + <blue>213</blue> + </color> + </brush> + </colorrole> + <colorrole role="Window"> + <brush brushstyle="SolidPattern"> + <color alpha="255"> + <red>159</red> + <green>175</green> + <blue>213</blue> + </color> + </brush> + </colorrole> + </disabled> + </palette> + </property> + <property name="autoFillBackground"> + <bool>true</bool> + </property> + <property name="text"> + <string>DX Grid</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + <property name="margin"> + <number>5</number> + </property> + <property name="indent"> + <number>2</number> + </property> + <property name="buddy"> + <cstring>dxGridEntry</cstring> + </property> + </widget> + </item> + <item row="4" column="0"> + <widget class="QPushButton" name="lookupButton"> + <property name="toolTip"> + <string>Search for callsign in database</string> + </property> + <property name="text"> + <string>&Lookup</string> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="QLineEdit" name="dxGridEntry"> + <property name="toolTip"> + <string>Locator of station to be worked</string> + </property> + <property name="text"> + <string/> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + </item> + <item row="4" column="1"> + <widget class="QPushButton" name="addButton"> + <property name="toolTip"> + <string>Add callsign and locator to database</string> + </property> + <property name="text"> + <string>Add</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item row="2" column="2"> + <widget class="QLabel" name="labUTC"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="styleSheet"> + <string notr="true">QLabel { + font-family: MS Shell Dlg 2; + font-size: 16pt; + background-color : black; + color : yellow; +}</string> + </property> + <property name="frameShape"> + <enum>QFrame::StyledPanel</enum> + </property> + <property name="frameShadow"> + <enum>QFrame::Sunken</enum> + </property> + <property name="lineWidth"> + <number>2</number> + </property> + <property name="midLineWidth"> + <number>0</number> + </property> + <property name="text"> + <string><html><head/><body><p align="center"> 2015 Jun 17 </p><p align="center"> 01:23:45 </p></body></html></string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + <property name="margin"> + <number>5</number> + </property> + </widget> + </item> + <item row="1" column="4" rowspan="2"> + <widget class="QSlider" name="outAttenuation"> + <property name="toolTip"> + <string>Adjust Tx audio level</string> + </property> + <property name="maximum"> + <number>450</number> + </property> + <property name="value"> + <number>0</number> + </property> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="invertedAppearance"> + <bool>true</bool> + </property> + <property name="invertedControls"> + <bool>true</bool> + </property> + <property name="tickPosition"> + <enum>QSlider::TicksBelow</enum> + </property> + <property name="tickInterval"> + <number>50</number> + </property> + </widget> + </item> + <item row="0" column="3" rowspan="3"> + <widget class="QStackedWidget" name="controls_stack_widget"> + <property name="currentIndex"> + <number>0</number> + </property> + <widget class="QWidget" name="page"> + <layout class="QHBoxLayout" name="horizontalLayout_8"> <property name="leftMargin"> <number>0</number> </property> @@ -657,2104 +1115,1686 @@ QPushButton[state="ok"] { <number>0</number> </property> <item> - <layout class="QGridLayout" name="gridLayout_3"> - <item row="18" column="0" colspan="2"> - <layout class="QHBoxLayout" name="horizontalLayout_5"> - <item> - <widget class="QCheckBox" name="cbShMsgs"> - <property name="toolTip"> - <string><html><head/><body><p>Check to use short-format messages.</p></body></html></string> - </property> - <property name="accessibleDescription"> - <string>Check to use short-format messages.</string> - </property> - <property name="text"> - <string>Sh</string> - </property> - </widget> - </item> - <item> - <widget class="QCheckBox" name="cbFast9"> - <property name="toolTip"> - <string><html><head/><body><p>Check to enable JT9 fast modes</p></body></html></string> - </property> - <property name="accessibleDescription"> - <string>Check to enable JT9 fast modes</string> - </property> - <property name="text"> - <string>Fast</string> - </property> - </widget> - </item> - <item> - <widget class="QCheckBox" name="cbAutoSeq"> - <property name="toolTip"> - <string><html><head/><body><p>Check to enable automatic sequencing of Tx messages based on received messages.</p></body></html></string> - </property> - <property name="accessibleDescription"> - <string>Check to enable automatic sequencing of Tx messages based on received messages.</string> - </property> - <property name="text"> - <string>Auto Seq</string> - </property> - </widget> - </item> - <item> - <widget class="QCheckBox" name="cbFirst"> - <property name="toolTip"> - <string><html><head/><body><p>Check to call the first decoded responder to my CQ.</p></body></html></string> - </property> - <property name="accessibleDescription"> - <string>Check to call the first decoded responder to my CQ.</string> - </property> - <property name="text"> - <string>Call 1st</string> - </property> - </widget> - </item> - <item> - <widget class="QCheckBox" name="cbTx6"> - <property name="enabled"> - <bool>false</bool> - </property> - <property name="toolTip"> - <string>Check to generate "@1250 (SEND MSGS)" in Tx6.</string> - </property> - <property name="text"> - <string>Tx6</string> - </property> - </widget> - </item> - </layout> - </item> - <item row="8" column="1"> - <widget class="LettersSpinBox" name="sbSubmode"> - <property name="toolTip"> - <string><html><head/><body><p>Submode determines tone spacing; A is narrowest.</p></body></html></string> - </property> - <property name="accessibleDescription"> - <string>Submode determines tone spacing; A is narrowest.</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - <property name="prefix"> - <string>Submode </string> - </property> - <property name="minimum"> - <number>0</number> - </property> - <property name="maximum"> - <number>7</number> - </property> - </widget> - </item> - <item row="17" column="0" colspan="2"> - <layout class="QHBoxLayout" name="horizontalLayout_11"> - <item> - <widget class="QSpinBox" name="sbCQTxFreq"> - <property name="enabled"> - <bool>false</bool> - </property> - <property name="toolTip"> - <string><html><head/><body><p>Frequency to call CQ on in kHz above the current MHz</p></body></html></string> - </property> - <property name="accessibleDescription"> - <string>Frequency to call CQ on in kHz above the current MHz</string> - </property> - <property name="prefix"> - <string>Tx CQ </string> - </property> - <property name="minimum"> - <number>1</number> - </property> - <property name="maximum"> - <number>999</number> - </property> - <property name="value"> - <number>260</number> - </property> - </widget> - </item> - <item> - <widget class="QCheckBox" name="cbCQTx"> - <property name="enabled"> - <bool>false</bool> - </property> - <property name="toolTip"> - <string><html><head/><body><p>Check this to call CQ on the &quot;Tx CQ&quot; frequency. Rx will be on the current frequency and the CQ message wiill include the current Rx frequency so callers know which frequency to reply on.</p><p>Not available to nonstandard callsign holders.</p></body></html></string> - </property> - <property name="accessibleDescription"> - <string>Check this to call CQ on the "Tx CQ" frequency. Rx will be on the current frequency and the CQ message wiill include the current Rx frequency so callers know which frequency to reply on. -Not available to nonstandard callsign holders.</string> - </property> - <property name="text"> - <string/> - </property> - </widget> - </item> - <item> - <widget class="QCheckBox" name="cbRxAll"> - <property name="text"> - <string>Rx All Freqs</string> - </property> - </widget> - </item> - </layout> - </item> - <item row="0" column="1"> - <widget class="QPushButton" name="pbTxMode"> - <property name="enabled"> - <bool>true</bool> - </property> - <property name="sizePolicy"> - <sizepolicy hsizetype="Maximum" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="toolTip"> - <string>Toggle Tx mode</string> - </property> - <property name="text"> - <string>Tx JT9 @</string> - </property> - </widget> - </item> - <item row="19" column="0" colspan="2"> - <layout class="QHBoxLayout" name="horizontalLayout_15"> - <item> - <widget class="QLabel" name="labDXped"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="maximumSize"> - <size> - <width>100</width> - <height>16777215</height> - </size> - </property> - <property name="text"> - <string>Fox</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - </widget> - </item> - <item> - <widget class="QCheckBox" name="cbSWL"> - <property name="toolTip"> - <string><html><head/><body><p>Check to monitor Sh messages.</p></body></html></string> - </property> - <property name="accessibleDescription"> - <string>Check to monitor Sh messages.</string> - </property> - <property name="text"> - <string>SWL</string> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="pbBestSP"> - <property name="styleSheet"> - <string notr="true">QPushButton:checked { - color: rgb(0, 0, 0); - background-color: red; - border-style: outset; - border-width: 1px; - border-radius: 5px; - border-color: black; - min-width: 5em; - padding: 3px; -}</string> - </property> - <property name="text"> - <string>Best S+P</string> - </property> - <property name="checkable"> - <bool>true</bool> - </property> - </widget> - </item> - <item> - <widget class="QCheckBox" name="measure_check_box"> - <property name="toolTip"> - <string><html><head/><body><p>Check this to start recording calibration data.<br/>While measuring calibration correction is disabled.<br/>When not checked you can view the calibration results.</p></body></html></string> - </property> - <property name="accessibleDescription"> - <string>Check this to start recording calibration data. -While measuring calibration correction is disabled. -When not checked you can view the calibration results.</string> - </property> - <property name="text"> - <string>Measure</string> - </property> - </widget> - </item> - </layout> - </item> - <item row="1" column="0"> - <widget class="QSpinBox" name="TxFreqSpinBox"> - <property name="toolTip"> - <string>Audio Tx frequency</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - <property name="suffix"> - <string> Hz</string> - </property> - <property name="prefix"> - <string>Tx </string> - </property> - <property name="minimum"> - <number>200</number> - </property> - <property name="maximum"> - <number>5000</number> - </property> - <property name="value"> - <number>1500</number> - </property> - </widget> - </item> - <item row="7" column="1"> - <widget class="QSpinBox" name="sbSerialNumber"> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - <property name="prefix"> - <string>Tx# </string> - </property> - <property name="minimum"> - <number>1</number> - </property> - <property name="maximum"> - <number>4095</number> - </property> - </widget> - </item> - <item row="20" column="0"> - <spacer name="verticalSpacer_4"> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>40</height> - </size> - </property> - </spacer> - </item> - <item row="1" column="1"> - <widget class="QCheckBox" name="cbHoldTxFreq"> - <property name="toolTip"> - <string><html><head/><body><p>Check to keep Tx frequency fixed when double-clicking on decoded text.</p></body></html></string> - </property> - <property name="accessibleDescription"> - <string>Check to keep Tx frequency fixed when double-clicking on decoded text.</string> - </property> - <property name="text"> - <string>Hold Tx Freq</string> - </property> - </widget> - </item> - <item row="0" column="0"> - <widget class="QCheckBox" name="txFirstCheckBox"> - <property name="toolTip"> - <string><html><head/><body><p>Check to Tx in even-numbered minutes or sequences, starting at 0; uncheck for odd sequences.</p></body></html></string> - </property> - <property name="accessibleDescription"> - <string>Check to Tx in even-numbered minutes or sequences, starting at 0; uncheck for odd sequences.</string> - </property> - <property name="text"> - <string>Tx even/1st</string> - </property> - </widget> - </item> - <item row="9" column="1"> - <widget class="QSpinBox" name="syncSpinBox"> - <property name="toolTip"> - <string><html><head/><body><p>Synchronizing threshold. Lower numbers accept weaker sync signals.</p></body></html></string> - </property> - <property name="accessibleDescription"> - <string>Synchronizing threshold. Lower numbers accept weaker sync signals.</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - <property name="prefix"> - <string>Sync </string> - </property> - <property name="minimum"> - <number>-1</number> - </property> - <property name="maximum"> - <number>10</number> - </property> - <property name="value"> - <number>1</number> - </property> - </widget> - </item> - <item row="6" column="1"> - <widget class="QLabel" name="labNextCall"> - <property name="toolTip"> - <string><html><head/><body><p>Double-click on another caller to queue that call for your next QSO.</p></body></html></string> - </property> - <property name="accessibleDescription"> - <string>Double-click on another caller to queue that call for your next QSO.</string> - </property> - <property name="text"> - <string>Next Call</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - </widget> - </item> - <item row="5" column="1"> - <widget class="QSpinBox" name="sbF_High"> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - <property name="suffix"> - <string/> - </property> - <property name="prefix"> - <string>F High </string> - </property> - <property name="minimum"> - <number>100</number> - </property> - <property name="maximum"> - <number>5000</number> - </property> - <property name="singleStep"> - <number>100</number> - </property> - <property name="value"> - <number>1400</number> - </property> - </widget> - </item> - <item row="4" column="1"> - <widget class="QSpinBox" name="sbF_Low"> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - <property name="prefix"> - <string>F Low </string> - </property> - <property name="minimum"> - <number>100</number> - </property> - <property name="maximum"> - <number>5000</number> - </property> - <property name="singleStep"> - <number>100</number> - </property> - <property name="value"> - <number>600</number> - </property> - </widget> - </item> - <item row="5" column="0"> - <widget class="QSpinBox" name="RxFreqSpinBox"> - <property name="toolTip"> - <string>Audio Rx frequency</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - <property name="suffix"> - <string> Hz</string> - </property> - <property name="prefix"> - <string>Rx </string> - </property> - <property name="minimum"> - <number>200</number> - </property> - <property name="maximum"> - <number>5000</number> - </property> - <property name="value"> - <number>1500</number> - </property> - </widget> - </item> - <item row="4" column="0"> - <layout class="QHBoxLayout" name="horizontalLayout_4"> - <item> - <widget class="QPushButton" name="pbR2T"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Maximum" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="minimumSize"> - <size> - <width>20</width> - <height>0</height> - </size> - </property> - <property name="maximumSize"> - <size> - <width>50</width> - <height>20</height> - </size> - </property> - <property name="toolTip"> - <string>Set Tx frequency to Rx Frequency</string> - </property> - <property name="accessibleName"> - <string>Set Tx frequency to Rx Frequency</string> - </property> - <property name="text"> - <string>â–²</string> - </property> - </widget> - </item> - <item> - <widget class="HintedSpinBox" name="sbFtol"> - <property name="toolTip"> - <string>Frequency tolerance (Hz)</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - <property name="prefix"> - <string>F Tol </string> - </property> - <property name="minimum"> - <number>1</number> - </property> - <property name="maximum"> - <number>1000</number> - </property> - <property name="value"> - <number>10</number> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="pbT2R"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Maximum" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="minimumSize"> - <size> - <width>20</width> - <height>0</height> - </size> - </property> - <property name="maximumSize"> - <size> - <width>50</width> - <height>20</height> - </size> - </property> - <property name="toolTip"> - <string>Set Rx frequency to Tx Frequency</string> - </property> - <property name="accessibleName"> - <string>Set Rx frequency to Tx Frequency</string> - </property> - <property name="text"> - <string>â–¼</string> - </property> - </widget> - </item> - </layout> - </item> - <item row="6" column="0"> - <widget class="QSpinBox" name="rptSpinBox"> - <property name="toolTip"> - <string><html><head/><body><p>Signal report: Signal-to-noise ratio in 2500 Hz reference bandwidth (dB).</p></body></html></string> - </property> - <property name="accessibleDescription"> - <string>Signal report: Signal-to-noise ratio in 2500 Hz reference bandwidth (dB).</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - <property name="prefix"> - <string> Report </string> - </property> - <property name="minimum"> - <number>-50</number> - </property> - <property name="maximum"> - <number>49</number> - </property> - <property name="value"> - <number>-15</number> - </property> - </widget> - </item> - <item row="7" column="0"> - <widget class="RestrictedSpinBox" name="sbTR"> - <property name="toolTip"> - <string><html><head/><body><p>Tx/Rx or Frequency calibration sequence length</p></body></html></string> - </property> - <property name="accessibleDescription"> - <string>Tx/Rx or Frequency calibration sequence length</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - <property name="suffix"> - <string> s</string> - </property> - <property name="prefix"> - <string>T/R </string> - </property> - <property name="minimum"> - <number>5</number> - </property> - <property name="maximum"> - <number>1800</number> - </property> - <property name="value"> - <number>30</number> - </property> - </widget> - </item> - </layout> - </item> - <item> - <widget class="QTabWidget" name="tabWidget"> - <property name="minimumSize"> - <size> - <width>0</width> - <height>0</height> - </size> - </property> - <property name="tabPosition"> - <enum>QTabWidget::West</enum> - </property> - <property name="tabShape"> - <enum>QTabWidget::Triangular</enum> - </property> - <property name="currentIndex"> - <number>0</number> - </property> - <widget class="QWidget" name="tab"> - <attribute name="title"> - <string>1</string> - </attribute> - <layout class="QGridLayout" name="gridLayout_7"> - <item row="0" column="0"> - <layout class="QGridLayout" name="gridLayout_6"> - <item row="2" column="1"> - <widget class="QRadioButton" name="txrb2"> - <property name="toolTip"> - <string>Send this message in next Tx interval</string> - </property> - <property name="styleSheet"> - <string notr="true">margin-left: 10%; margin-right: 0%</string> - </property> - <property name="text"> - <string/> - </property> - <property name="shortcut"> - <string>Ctrl+2</string> - </property> - </widget> - </item> - <item row="1" column="1"> - <widget class="DoubleClickableRadioButton" name="txrb1"> - <property name="toolTip"> - <string><html><head/><body><p>Send this message in next Tx interval</p><p>Double click to toggle the use of the Tx1 message to start a QSO with a station (not allowed for type 1 compound call holders)</p></body></html></string> - </property> - <property name="accessibleDescription"> - <string>Send this message in next Tx interval -Double click to toggle the use of the Tx1 message to start a QSO with a station (not allowed for type 1 compound call holders)</string> - </property> - <property name="styleSheet"> - <string notr="true">margin-left: 10%; margin-right: 0%</string> - </property> - <property name="text"> - <string/> - </property> - <property name="shortcut"> - <string>Ctrl+1</string> - </property> - </widget> - </item> - <item row="2" column="2"> - <widget class="QPushButton" name="txb2"> - <property name="toolTip"> - <string>Switch to this Tx message NOW</string> - </property> - <property name="styleSheet"> - <string notr="true">padding-left: 15%; padding-right: 15%; padding-top: 3%; padding-bottom: 3%</string> - </property> - <property name="text"> - <string>Tx &2</string> - </property> - <property name="shortcut"> - <string>Alt+2</string> - </property> - </widget> - </item> - <item row="2" column="0"> - <widget class="QLineEdit" name="tx2"/> - </item> - <item row="1" column="2"> - <widget class="DoubleClickablePushButton" name="txb1"> - <property name="toolTip"> - <string><html><head/><body><p>Switch to this Tx message NOW</p><p>Double click to toggle the use of the Tx1 message to start a QSO with a station (not allowed for type 1 compound call holders)</p></body></html></string> - </property> - <property name="accessibleDescription"> - <string>Switch to this Tx message NOW -Double click to toggle the use of the Tx1 message to start a QSO with a station (not allowed for type 1 compound call holders)</string> - </property> - <property name="layoutDirection"> - <enum>Qt::LeftToRight</enum> - </property> - <property name="styleSheet"> - <string notr="true">padding-left: 15%; padding-right: 15%; padding-top: 3%; padding-bottom: 3%</string> - </property> - <property name="text"> - <string>Tx &1</string> - </property> - <property name="shortcut"> - <string>Alt+1</string> - </property> - </widget> - </item> - <item row="6" column="1"> - <widget class="QRadioButton" name="txrb6"> - <property name="toolTip"> - <string>Send this message in next Tx interval</string> - </property> - <property name="styleSheet"> - <string notr="true">margin-left: 10%; margin-right: 0%</string> - </property> - <property name="text"> - <string/> - </property> - <property name="shortcut"> - <string>Ctrl+6</string> - </property> - <property name="checked"> - <bool>true</bool> - </property> - </widget> - </item> - <item row="3" column="0"> - <widget class="QLineEdit" name="tx3"/> - </item> - <item row="5" column="1"> - <widget class="DoubleClickableRadioButton" name="txrb5"> - <property name="toolTip"> - <string><html><head/><body><p>Send this message in next Tx interval</p><p>Double-click to reset to the standard 73 message</p></body></html></string> - </property> - <property name="accessibleDescription"> - <string>Send this message in next Tx interval -Double-click to reset to the standard 73 message</string> - </property> - <property name="styleSheet"> - <string notr="true">margin-left: 10%; margin-right: 0%</string> - </property> - <property name="text"> - <string/> - </property> - <property name="shortcut"> - <string>Ctrl+5</string> - </property> - </widget> - </item> - <item row="3" column="1"> - <widget class="QRadioButton" name="txrb3"> - <property name="toolTip"> - <string>Send this message in next Tx interval</string> - </property> - <property name="styleSheet"> - <string notr="true">margin-left: 10%; margin-right: 0%</string> - </property> - <property name="text"> - <string/> - </property> - <property name="shortcut"> - <string>Ctrl+3</string> - </property> - </widget> - </item> - <item row="3" column="2"> - <widget class="QPushButton" name="txb3"> - <property name="toolTip"> - <string>Switch to this Tx message NOW</string> - </property> - <property name="styleSheet"> - <string notr="true">padding-left: 15%; padding-right: 15%; padding-top: 3%; padding-bottom: 3%</string> - </property> - <property name="text"> - <string>Tx &3</string> - </property> - <property name="shortcut"> - <string>Alt+3</string> - </property> - </widget> - </item> - <item row="4" column="1"> - <widget class="DoubleClickableRadioButton" name="txrb4"> - <property name="toolTip"> - <string><html><head/><body><p>Send this message in next Tx interval</p><p>Double-click to toggle between RRR and RR73 messages in Tx4 (not allowed for type 2 compound call holders)</p><p>RR73 messages should only be used when you are reasonably confident that no message repetitions will be required</p></body></html></string> - </property> - <property name="accessibleDescription"> - <string>Send this message in next Tx interval -Double-click to toggle between RRR and RR73 messages in Tx4 (not allowed for type 2 compound call holders) -RR73 messages should only be used when you are reasonably confident that no message repetitions will be required</string> - </property> - <property name="styleSheet"> - <string notr="true">margin-left: 10%; margin-right: 0%</string> - </property> - <property name="text"> - <string/> - </property> - <property name="shortcut"> - <string>Ctrl+4</string> - </property> - </widget> - </item> - <item row="4" column="2"> - <widget class="DoubleClickablePushButton" name="txb4"> - <property name="toolTip"> - <string><html><head/><body><p>Switch to this Tx message NOW</p><p>Double-click to toggle between RRR and RR73 messages in Tx4 (not allowed for type2 compound call holders)</p><p>RR73 messages should only be used when you are reasonably confident that no message repetitions will be required</p></body></html></string> - </property> - <property name="accessibleDescription"> - <string>Switch to this Tx message NOW -Double-click to toggle between RRR and RR73 messages in Tx4 (not allowed for type2 compound call holders) -RR73 messages should only be used when you are reasonably confident that no message repetitions will be required</string> - </property> - <property name="styleSheet"> - <string notr="true">padding-left: 15%; padding-right: 15%; padding-top: 3%; padding-bottom: 3%</string> - </property> - <property name="text"> - <string>Tx &4</string> - </property> - <property name="shortcut"> - <string>Alt+4</string> - </property> - </widget> - </item> - <item row="5" column="2"> - <widget class="DoubleClickablePushButton" name="txb5"> - <property name="toolTip"> - <string><html><head/><body><p>Switch to this Tx message NOW</p><p>Double-click to reset to the standard 73 message</p></body></html></string> - </property> - <property name="accessibleDescription"> - <string>Switch to this Tx message NOW -Double-click to reset to the standard 73 message</string> - </property> - <property name="styleSheet"> - <string notr="true">padding-left: 15%; padding-right: 15%; padding-top: 3%; padding-bottom: 3%</string> - </property> - <property name="text"> - <string>Tx &5</string> - </property> - <property name="shortcut"> - <string>Alt+5</string> - </property> - </widget> - </item> - <item row="4" column="0"> - <widget class="QLineEdit" name="tx4"/> - </item> - <item row="0" column="2"> - <widget class="QLabel" name="label_2"> - <property name="toolTip"> - <string>Switch to this Tx message NOW</string> - </property> - <property name="text"> - <string>Now</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - </widget> - </item> - <item row="0" column="0"> - <widget class="QPushButton" name="genStdMsgsPushButton"> - <property name="toolTip"> - <string>Generate standard messages for minimal QSO</string> - </property> - <property name="text"> - <string>Generate Std Msgs</string> - </property> - </widget> - </item> - <item row="6" column="2"> - <widget class="QPushButton" name="txb6"> - <property name="toolTip"> - <string>Switch to this Tx message NOW</string> - </property> - <property name="styleSheet"> - <string notr="true">padding-left: 15%; padding-right: 15%; padding-top: 3%; padding-bottom: 3%</string> - </property> - <property name="text"> - <string>Tx &6</string> - </property> - <property name="shortcut"> - <string>Alt+6</string> - </property> - </widget> - </item> - <item row="5" column="0"> - <widget class="QComboBox" name="tx5"> - <property name="toolTip"> - <string>Enter a free text message (maximum 13 characters) -or select a predefined macro from the dropdown list. -Press ENTER to add the current text to the predefined -list. The list can be maintained in Settings (F2).</string> - </property> - <property name="editable"> - <bool>true</bool> - </property> - <property name="insertPolicy"> - <enum>QComboBox::InsertAtBottom</enum> - </property> - </widget> - </item> - <item row="6" column="0"> - <widget class="QLineEdit" name="tx6"> - <property name="text"> - <string/> - </property> - </widget> - </item> - <item row="1" column="0"> - <widget class="QLineEdit" name="tx1"> - <property name="text"> - <string/> - </property> - </widget> - </item> - <item row="0" column="1"> - <widget class="QLabel" name="label_5"> - <property name="toolTip"> - <string>Queue up the next Tx message</string> - </property> - <property name="text"> - <string>Next</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - </widget> - </item> - </layout> - </item> - </layout> - </widget> - <widget class="QWidget" name="tab_3"> - <attribute name="title"> - <string>2</string> - </attribute> - <layout class="QGridLayout" name="gridLayout_11"> - <item row="0" column="1" rowspan="2"> - <layout class="QGridLayout" name="gridLayout_10"> - <item row="2" column="0"> - <widget class="QSpinBox" name="sbMax_dB"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="maximumSize"> - <size> - <width>16777215</width> - <height>16777215</height> - </size> - </property> - <property name="prefix"> - <string>Max dB </string> - </property> - <property name="minimum"> - <number>-15</number> - </property> - <property name="maximum"> - <number>70</number> - </property> - <property name="value"> - <number>30</number> - </property> - </widget> - </item> - <item row="4" column="0"> - <widget class="QComboBox" name="comboBoxCQ"> - <property name="currentText"> - <string>CQ</string> - </property> - <item> - <property name="text"> - <string>CQ</string> + <widget class="QWidget" name="QSO_controls_widget" native="true"> + <layout class="QHBoxLayout" name="horizontalLayout_6" stretch="0,0"> + <property name="leftMargin"> + <number>0</number> + </property> + <property name="topMargin"> + <number>0</number> + </property> + <property name="rightMargin"> + <number>0</number> + </property> + <property name="bottomMargin"> + <number>0</number> + </property> + <item> + <layout class="QGridLayout" name="gridLayout_3"> + <item row="4" column="0"> + <layout class="QHBoxLayout" name="horizontalLayout_4"> + <item> + <widget class="QPushButton" name="pbR2T"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Maximum" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> </property> - </item> - <item> - <property name="text"> - <string>CQ AF</string> + <property name="minimumSize"> + <size> + <width>20</width> + <height>0</height> + </size> </property> - </item> - <item> - <property name="text"> - <string>CQ AN</string> + <property name="maximumSize"> + <size> + <width>50</width> + <height>20</height> + </size> </property> - </item> - <item> - <property name="text"> - <string>CQ AS</string> + <property name="toolTip"> + <string>Set Tx frequency to Rx Frequency</string> </property> - </item> - <item> - <property name="text"> - <string>CQ EU</string> + <property name="accessibleName"> + <string>Set Tx frequency to Rx Frequency</string> </property> - </item> - <item> <property name="text"> - <string>CQ NA</string> + <string>â–²</string> </property> - </item> - <item> - <property name="text"> - <string>CQ OC</string> + </widget> + </item> + <item> + <widget class="HintedSpinBox" name="sbFtol"> + <property name="toolTip"> + <string>Frequency tolerance (Hz)</string> </property> - </item> - <item> - <property name="text"> - <string>CQ SA</string> + <property name="alignment"> + <set>Qt::AlignCenter</set> </property> - </item> - <item> - <property name="text"> - <string>CQ 0</string> + <property name="prefix"> + <string>F Tol </string> </property> - </item> - <item> - <property name="text"> - <string>CQ 1</string> + <property name="minimum"> + <number>1</number> </property> - </item> - <item> - <property name="text"> - <string>CQ 2</string> + <property name="maximum"> + <number>1000</number> </property> - </item> - <item> - <property name="text"> - <string>CQ 3</string> + <property name="value"> + <number>10</number> </property> - </item> - <item> - <property name="text"> - <string>CQ 4</string> + </widget> + </item> + <item> + <widget class="QPushButton" name="pbT2R"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Maximum" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> </property> - </item> - <item> - <property name="text"> - <string>CQ 5</string> + <property name="minimumSize"> + <size> + <width>20</width> + <height>0</height> + </size> </property> - </item> - <item> - <property name="text"> - <string>CQ 6</string> + <property name="maximumSize"> + <size> + <width>50</width> + <height>20</height> + </size> </property> - </item> - <item> - <property name="text"> - <string>CQ 7</string> + <property name="toolTip"> + <string>Set Rx frequency to Tx Frequency</string> </property> - </item> - <item> - <property name="text"> - <string>CQ 8</string> + <property name="accessibleName"> + <string>Set Rx frequency to Tx Frequency</string> </property> - </item> - <item> <property name="text"> - <string>CQ 9</string> + <string>â–¼</string> </property> - </item> - </widget> - </item> - <item row="6" column="0"> - <widget class="QPushButton" name="pbFoxReset"> - <property name="text"> - <string>Reset</string> - </property> - </widget> - </item> - <item row="1" column="0"> - <widget class="QSpinBox" name="sbNlist"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="maximumSize"> - <size> - <width>16777215</width> - <height>16777215</height> - </size> - </property> - <property name="prefix"> - <string>N List </string> - </property> - <property name="minimum"> - <number>5</number> - </property> - <property name="maximum"> - <number>100</number> - </property> - <property name="value"> - <number>12</number> - </property> - </widget> - </item> - <item row="3" column="0"> - <widget class="QSpinBox" name="sbNslots"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="maximumSize"> - <size> - <width>16777215</width> - <height>16777215</height> - </size> - </property> - <property name="suffix"> - <string/> - </property> - <property name="prefix"> - <string>N Slots </string> - </property> - <property name="minimum"> - <number>1</number> - </property> - <property name="maximum"> - <number>5</number> - </property> - <property name="value"> - <number>1</number> - </property> - <property name="displayIntegerBase"> - <number>10</number> - </property> - </widget> - </item> - <item row="0" column="0"> - <widget class="QComboBox" name="comboBoxHoundSort"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="maximumSize"> - <size> - <width>16777215</width> - <height>16777215</height> - </size> - </property> - <property name="currentText"> - <string>Random</string> - </property> - <property name="maxVisibleItems"> - <number>5</number> - </property> - <item> - <property name="text"> - <string>Random</string> + </widget> + </item> + </layout> + </item> + <item row="0" column="1"> + <widget class="QPushButton" name="pbTxMode"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Maximum" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="toolTip"> + <string>Toggle Tx mode</string> + </property> + <property name="text"> + <string>Tx JT9 @</string> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QSpinBox" name="TxFreqSpinBox"> + <property name="toolTip"> + <string>Audio Tx frequency</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + <property name="suffix"> + <string> Hz</string> + </property> + <property name="prefix"> + <string>Tx </string> + </property> + <property name="minimum"> + <number>200</number> + </property> + <property name="maximum"> + <number>5000</number> + </property> + <property name="value"> + <number>1500</number> + </property> + </widget> + </item> + <item row="8" column="1"> + <widget class="LettersSpinBox" name="sbSubmode"> + <property name="toolTip"> + <string><html><head/><body><p>Submode determines tone spacing; A is narrowest.</p></body></html></string> + </property> + <property name="accessibleDescription"> + <string>Submode determines tone spacing; A is narrowest.</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + <property name="prefix"> + <string>Submode </string> + </property> + <property name="minimum"> + <number>0</number> + </property> + <property name="maximum"> + <number>7</number> + </property> + </widget> + </item> + <item row="5" column="1"> + <widget class="QSpinBox" name="sbF_High"> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + <property name="suffix"> + <string/> + </property> + <property name="prefix"> + <string>F High </string> + </property> + <property name="minimum"> + <number>100</number> + </property> + <property name="maximum"> + <number>5000</number> + </property> + <property name="singleStep"> + <number>50</number> + </property> + <property name="value"> + <number>1400</number> + </property> + </widget> + </item> + <item row="18" column="0" colspan="2"> + <layout class="QHBoxLayout" name="horizontalLayout_5"> + <item> + <widget class="QCheckBox" name="cbShMsgs"> + <property name="toolTip"> + <string><html><head/><body><p>Check to use short-format messages.</p></body></html></string> </property> - </item> - <item> - <property name="text"> - <string>Call</string> + <property name="accessibleDescription"> + <string>Check to use short-format messages.</string> </property> - </item> - <item> <property name="text"> - <string>Grid</string> + <string>Sh</string> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="cbFast9"> + <property name="toolTip"> + <string><html><head/><body><p>Check to enable JT9 fast modes</p></body></html></string> + </property> + <property name="accessibleDescription"> + <string>Check to enable JT9 fast modes</string> </property> - </item> - <item> <property name="text"> - <string>S/N (dB)</string> + <string>Fast</string> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="cbAutoSeq"> + <property name="toolTip"> + <string><html><head/><body><p>Check to enable automatic sequencing of Tx messages based on received messages.</p></body></html></string> + </property> + <property name="accessibleDescription"> + <string>Check to enable automatic sequencing of Tx messages based on received messages.</string> </property> - </item> - <item> <property name="text"> - <string>Distance</string> + <string>Auto Seq</string> </property> - </item> - </widget> - </item> - <item row="7" column="0"> - <spacer name="verticalSpacer"> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>40</height> - </size> - </property> - </spacer> - </item> - <item row="5" column="0"> - <widget class="QCheckBox" name="cbMoreCQs"> - <property name="text"> - <string>More CQs</string> - </property> - </widget> - </item> - </layout> - </item> - <item row="0" column="0"> - <widget class="DisplayText" name="textBrowser4"> - <property name="maximumSize"> - <size> - <width>16777215</width> - <height>16777215</height> - </size> - </property> - </widget> - </item> - </layout> - </widget> - </widget> - </item> - </layout> - </widget> - </item> - </layout> - </widget> - <widget class="QWidget" name="page_2"> - <layout class="QVBoxLayout" name="verticalLayout_5"> - <property name="leftMargin"> - <number>0</number> - </property> - <property name="topMargin"> - <number>0</number> - </property> - <property name="rightMargin"> - <number>0</number> - </property> - <property name="bottomMargin"> - <number>0</number> - </property> - <item> - <widget class="QWidget" name="widget_2" native="true"> - <layout class="QHBoxLayout" name="horizontalLayout_9"> - <property name="leftMargin"> - <number>0</number> - </property> - <property name="topMargin"> - <number>0</number> - </property> - <property name="rightMargin"> - <number>0</number> - </property> - <property name="bottomMargin"> - <number>0</number> - </property> - <item> - <widget class="QWidget" name="WSPR_controls_widget" native="true"> - <layout class="QGridLayout" name="gridLayout_9"> - <item row="1" column="0"> - <spacer name="horizontalSpacer_7"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>40</width> - <height>20</height> - </size> - </property> - </spacer> - </item> - <item row="1" column="2"> - <spacer name="horizontalSpacer_6"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>40</width> - <height>20</height> - </size> - </property> - </spacer> - </item> - <item row="2" column="1"> - <spacer name="verticalSpacer_2"> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>40</height> - </size> - </property> - </spacer> - </item> - <item row="1" column="1"> - <layout class="QHBoxLayout" name="horizontalLayout_12"> - <item> - <layout class="QVBoxLayout" name="verticalLayout_7"> + </widget> + </item> <item> - <widget class="QSpinBox" name="WSPRfreqSpinBox"> - <property name="alignment"> - <set>Qt::AlignCenter</set> + <widget class="QCheckBox" name="cbFirst"> + <property name="toolTip"> + <string><html><head/><body><p>Check to call the first decoded responder to my CQ.</p></body></html></string> </property> - <property name="suffix"> - <string> Hz</string> + <property name="accessibleDescription"> + <string>Check to call the first decoded responder to my CQ.</string> </property> - <property name="prefix"> - <string>Tx </string> + <property name="text"> + <string>Call 1st</string> </property> - <property name="minimum"> - <number>1400</number> + </widget> + </item> + <item> + <widget class="QCheckBox" name="cbTx6"> + <property name="enabled"> + <bool>false</bool> </property> - <property name="maximum"> - <number>1600</number> + <property name="toolTip"> + <string>Check to generate "@1250 (SEND MSGS)" in Tx6.</string> </property> - <property name="value"> - <number>1500</number> + <property name="text"> + <string>Tx6</string> </property> </widget> </item> + </layout> + </item> + <item row="4" column="1"> + <widget class="QSpinBox" name="sbF_Low"> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + <property name="prefix"> + <string>F Low </string> + </property> + <property name="minimum"> + <number>100</number> + </property> + <property name="maximum"> + <number>5000</number> + </property> + <property name="singleStep"> + <number>50</number> + </property> + <property name="value"> + <number>600</number> + </property> + </widget> + </item> + <item row="6" column="1"> + <widget class="QLabel" name="labNextCall"> + <property name="toolTip"> + <string><html><head/><body><p>Double-click on another caller to queue that call for your next QSO.</p></body></html></string> + </property> + <property name="accessibleDescription"> + <string>Double-click on another caller to queue that call for your next QSO.</string> + </property> + <property name="text"> + <string>Next Call</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + </item> + <item row="5" column="0"> + <widget class="QSpinBox" name="RxFreqSpinBox"> + <property name="toolTip"> + <string>Audio Rx frequency</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + <property name="suffix"> + <string> Hz</string> + </property> + <property name="prefix"> + <string>Rx </string> + </property> + <property name="minimum"> + <number>200</number> + </property> + <property name="maximum"> + <number>5000</number> + </property> + <property name="value"> + <number>1500</number> + </property> + </widget> + </item> + <item row="7" column="0"> + <widget class="RestrictedSpinBox" name="sbTR"> + <property name="toolTip"> + <string><html><head/><body><p>Tx/Rx or Frequency calibration sequence length</p></body></html></string> + </property> + <property name="accessibleDescription"> + <string>Tx/Rx or Frequency calibration sequence length</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + <property name="suffix"> + <string> s</string> + </property> + <property name="prefix"> + <string>T/R </string> + </property> + <property name="minimum"> + <number>5</number> + </property> + <property name="maximum"> + <number>1800</number> + </property> + <property name="value"> + <number>30</number> + </property> + </widget> + </item> + <item row="17" column="0" colspan="2"> + <layout class="QHBoxLayout" name="horizontalLayout_11"> <item> - <widget class="QSpinBox" name="sbFST4W_RxFreq"> - <property name="alignment"> - <set>Qt::AlignCenter</set> + <widget class="QSpinBox" name="sbCQTxFreq"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="toolTip"> + <string><html><head/><body><p>Frequency to call CQ on in kHz above the current MHz</p></body></html></string> </property> - <property name="suffix"> - <string> Hz</string> + <property name="accessibleDescription"> + <string>Frequency to call CQ on in kHz above the current MHz</string> </property> <property name="prefix"> - <string>Rx </string> + <string>Tx CQ </string> </property> <property name="minimum"> - <number>100</number> + <number>1</number> </property> <property name="maximum"> - <number>4900</number> - </property> - <property name="singleStep"> - <number>100</number> + <number>999</number> </property> <property name="value"> - <number>1500</number> + <number>260</number> </property> </widget> </item> <item> - <widget class="HintedSpinBox" name="sbFST4W_FTol"> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - <property name="suffix"> - <string> Hz</string> - </property> - <property name="prefix"> - <string>F Tol </string> + <widget class="QCheckBox" name="cbCQTx"> + <property name="enabled"> + <bool>false</bool> </property> - <property name="minimum"> - <number>100</number> + <property name="toolTip"> + <string><html><head/><body><p>Check this to call CQ on the &quot;Tx CQ&quot; frequency. Rx will be on the current frequency and the CQ message wiill include the current Rx frequency so callers know which frequency to reply on.</p><p>Not available to nonstandard callsign holders.</p></body></html></string> </property> - <property name="maximum"> - <number>500</number> + <property name="accessibleDescription"> + <string>Check this to call CQ on the "Tx CQ" frequency. Rx will be on the current frequency and the CQ message wiill include the current Rx frequency so callers know which frequency to reply on. +Not available to nonstandard callsign holders.</string> </property> - <property name="singleStep"> - <number>100</number> + <property name="text"> + <string/> </property> </widget> </item> <item> - <widget class="QComboBox" name="RoundRobin"> - <property name="editable"> - <bool>true</bool> - </property> - <property name="currentIndex"> - <number>0</number> + <widget class="QCheckBox" name="cbRxAll"> + <property name="text"> + <string>Rx All Freqs</string> </property> - <item> - <property name="text"> - <string>Random</string> - </property> - </item> - <item> - <property name="text"> - <string>1/2</string> - </property> - </item> - <item> - <property name="text"> - <string>2/2</string> - </property> - </item> - <item> - <property name="text"> - <string>1/3</string> - </property> - </item> - <item> - <property name="text"> - <string>2/3</string> - </property> - </item> - <item> - <property name="text"> - <string>3/3</string> - </property> - </item> - <item> - <property name="text"> - <string>1/4</string> - </property> - </item> - <item> - <property name="text"> - <string>2/4</string> - </property> - </item> - <item> - <property name="text"> - <string>3/4</string> - </property> - </item> - <item> - <property name="text"> - <string>4/4</string> - </property> - </item> - <item> - <property name="text"> - <string>1/5</string> - </property> - </item> - <item> - <property name="text"> - <string>2/5</string> - </property> - </item> - <item> - <property name="text"> - <string>3/5</string> - </property> - </item> - <item> - <property name="text"> - <string>4/5</string> - </property> - </item> - <item> - <property name="text"> - <string>5/5</string> - </property> - </item> - <item> - <property name="text"> - <string>1/6</string> - </property> - </item> - <item> - <property name="text"> - <string>2/6</string> - </property> - </item> - <item> - <property name="text"> - <string>3/6</string> - </property> - </item> - <item> - <property name="text"> - <string>4/6</string> - </property> - </item> - <item> - <property name="text"> - <string>5/6</string> - </property> - </item> - <item> - <property name="text"> - <string>6/6</string> - </property> - </item> </widget> </item> + </layout> + </item> + <item row="7" column="1"> + <widget class="QSpinBox" name="sbSerialNumber"> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + <property name="prefix"> + <string>Tx# </string> + </property> + <property name="minimum"> + <number>1</number> + </property> + <property name="maximum"> + <number>4095</number> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QCheckBox" name="cbHoldTxFreq"> + <property name="toolTip"> + <string><html><head/><body><p>Check to keep Tx frequency fixed when double-clicking on decoded text.</p></body></html></string> + </property> + <property name="accessibleDescription"> + <string>Check to keep Tx frequency fixed when double-clicking on decoded text.</string> + </property> + <property name="text"> + <string>Hold Tx Freq</string> + </property> + </widget> + </item> + <item row="9" column="1"> + <widget class="QSpinBox" name="syncSpinBox"> + <property name="toolTip"> + <string><html><head/><body><p>Synchronizing threshold. Lower numbers accept weaker sync signals.</p></body></html></string> + </property> + <property name="accessibleDescription"> + <string>Synchronizing threshold. Lower numbers accept weaker sync signals.</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + <property name="prefix"> + <string>Sync </string> + </property> + <property name="minimum"> + <number>-1</number> + </property> + <property name="maximum"> + <number>10</number> + </property> + <property name="value"> + <number>1</number> + </property> + </widget> + </item> + <item row="0" column="0"> + <widget class="QCheckBox" name="txFirstCheckBox"> + <property name="toolTip"> + <string><html><head/><body><p>Check to Tx in even-numbered minutes or sequences, starting at 0; uncheck for odd sequences.</p></body></html></string> + </property> + <property name="accessibleDescription"> + <string>Check to Tx in even-numbered minutes or sequences, starting at 0; uncheck for odd sequences.</string> + </property> + <property name="text"> + <string>Tx even/1st</string> + </property> + </widget> + </item> + <item row="19" column="0" colspan="2"> + <layout class="QHBoxLayout" name="horizontalLayout_15"> <item> - <widget class="QSpinBox" name="sbTxPercent"> - <property name="toolTip"> - <string>Percentage of minute sequences devoted to transmitting.</string> + <widget class="QLabel" name="labDXped"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> </property> - <property name="styleSheet"> - <string notr="true">QSpinBox:enabled[notx="true"] { - color: rgb(0, 0, 0); - background-color: rgb(255, 255, 0); -}</string> + <property name="maximumSize"> + <size> + <width>100</width> + <height>16777215</height> + </size> + </property> + <property name="text"> + <string>Fox</string> </property> <property name="alignment"> <set>Qt::AlignCenter</set> </property> - <property name="suffix"> - <string> %</string> + </widget> + </item> + <item> + <widget class="QCheckBox" name="cbSWL"> + <property name="toolTip"> + <string><html><head/><body><p>Check to monitor Sh messages.</p></body></html></string> </property> - <property name="prefix"> - <string>Tx Pct </string> + <property name="accessibleDescription"> + <string>Check to monitor Sh messages.</string> </property> - <property name="maximum"> - <number>100</number> + <property name="text"> + <string>SWL</string> </property> </widget> </item> <item> - <widget class="RestrictedSpinBox" name="sbTR_FST4W"> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - <property name="suffix"> - <string> s</string> - </property> - <property name="prefix"> - <string>T/R </string> + <widget class="QPushButton" name="pbBestSP"> + <property name="styleSheet"> + <string notr="true">QPushButton:checked { + color: rgb(0, 0, 0); + background-color: red; + border-style: outset; + border-width: 1px; + border-radius: 5px; + border-color: black; + min-width: 5em; + padding: 3px; +}</string> </property> - <property name="minimum"> - <number>15</number> + <property name="text"> + <string>Best S+P</string> </property> - <property name="maximum"> - <number>1800</number> + <property name="checkable"> + <bool>true</bool> </property> </widget> </item> <item> - <widget class="QGroupBox" name="band_hopping_group_box"> - <property name="title"> - <string>Band Hopping</string> + <widget class="QCheckBox" name="measure_check_box"> + <property name="toolTip"> + <string><html><head/><body><p>Check this to start recording calibration data.<br/>While measuring calibration correction is disabled.<br/>When not checked you can view the calibration results.</p></body></html></string> </property> - <property name="checkable"> - <bool>true</bool> + <property name="accessibleDescription"> + <string>Check this to start recording calibration data. +While measuring calibration correction is disabled. +When not checked you can view the calibration results.</string> + </property> + <property name="text"> + <string>Measure</string> </property> - <layout class="QHBoxLayout" name="horizontalLayout_7"> - <item> - <widget class="QPushButton" name="band_hopping_schedule_push_button"> - <property name="toolTip"> - <string>Choose bands and times of day for band-hopping.</string> - </property> - <property name="text"> - <string>Schedule ...</string> - </property> - </widget> - </item> - </layout> </widget> </item> </layout> </item> - <item> - <layout class="QVBoxLayout" name="verticalLayout_8"> - <item> - <layout class="QVBoxLayout" name="verticalLayout_2"> - <item> - <layout class="QHBoxLayout" name="horizontalLayout_10"> - <item> - <widget class="QCheckBox" name="cbUploadWSPR_Spots"> - <property name="toolTip"> - <string>Upload decoded messages to WSPRnet.org.</string> - </property> - <property name="styleSheet"> - <string notr="true">QCheckBox:unchecked { - color: rgb(0, 0, 0); - background-color: rgb(255, 255, 0); -}</string> - </property> - <property name="text"> - <string>Upload spots</string> - </property> - </widget> - </item> - </layout> + <item row="6" column="0"> + <widget class="QSpinBox" name="rptSpinBox"> + <property name="toolTip"> + <string><html><head/><body><p>Signal report: Signal-to-noise ratio in 2500 Hz reference bandwidth (dB).</p></body></html></string> + </property> + <property name="accessibleDescription"> + <string>Signal report: Signal-to-noise ratio in 2500 Hz reference bandwidth (dB).</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + <property name="prefix"> + <string> Report </string> + </property> + <property name="minimum"> + <number>-50</number> + </property> + <property name="maximum"> + <number>49</number> + </property> + <property name="value"> + <number>-15</number> + </property> + </widget> + </item> + <item row="20" column="0"> + <spacer name="verticalSpacer_4"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + <item> + <widget class="QTabWidget" name="tabWidget"> + <property name="minimumSize"> + <size> + <width>0</width> + <height>0</height> + </size> + </property> + <property name="tabPosition"> + <enum>QTabWidget::West</enum> + </property> + <property name="tabShape"> + <enum>QTabWidget::Triangular</enum> + </property> + <property name="currentIndex"> + <number>0</number> + </property> + <widget class="QWidget" name="tab"> + <attribute name="title"> + <string>1</string> + </attribute> + <layout class="QGridLayout" name="gridLayout_7"> + <item row="0" column="0"> + <layout class="QGridLayout" name="gridLayout_6"> + <item row="2" column="1"> + <widget class="QRadioButton" name="txrb2"> + <property name="toolTip"> + <string>Send this message in next Tx interval</string> + </property> + <property name="styleSheet"> + <string notr="true">margin-left: 10%; margin-right: 0%</string> + </property> + <property name="text"> + <string/> + </property> + <property name="shortcut"> + <string>Ctrl+2</string> + </property> + </widget> </item> - <item> - <widget class="QCheckBox" name="WSPR_prefer_type_1_check_box"> + <item row="1" column="1"> + <widget class="DoubleClickableRadioButton" name="txrb1"> <property name="toolTip"> - <string><html><head/><body><p>6 digit locators cause 2 different messages to be sent, the second contains the full locator but only a hashed callsign, other stations must have decoded the first once before they can decode your call in the second. Check this option to only send 4 digit locators if it will avoid the two message protocol.</p></body></html></string> + <string><html><head/><body><p>Send this message in next Tx interval</p><p>Double click to toggle the use of the Tx1 message to start a QSO with a station (not allowed for type 1 compound call holders)</p></body></html></string> </property> <property name="accessibleDescription"> - <string>6 digit locators cause 2 different messages to be sent, the second contains the full locator but only a hashed callsign, other stations must have decoded the first once before they can decode your call in the second. Check this option to only send 4 digit locators if it will avoid the two message protocol.</string> + <string>Send this message in next Tx interval +Double click to toggle the use of the Tx1 message to start a QSO with a station (not allowed for type 1 compound call holders)</string> + </property> + <property name="styleSheet"> + <string notr="true">margin-left: 10%; margin-right: 0%</string> + </property> + <property name="text"> + <string/> + </property> + <property name="shortcut"> + <string>Ctrl+1</string> + </property> + </widget> + </item> + <item row="2" column="2"> + <widget class="QPushButton" name="txb2"> + <property name="toolTip"> + <string>Switch to this Tx message NOW</string> + </property> + <property name="styleSheet"> + <string notr="true">padding-left: 15%; padding-right: 15%; padding-top: 3%; padding-bottom: 3%</string> + </property> + <property name="text"> + <string>Tx &2</string> + </property> + <property name="shortcut"> + <string>Alt+2</string> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QLineEdit" name="tx2"/> + </item> + <item row="1" column="2"> + <widget class="DoubleClickablePushButton" name="txb1"> + <property name="toolTip"> + <string><html><head/><body><p>Switch to this Tx message NOW</p><p>Double click to toggle the use of the Tx1 message to start a QSO with a station (not allowed for type 1 compound call holders)</p></body></html></string> + </property> + <property name="accessibleDescription"> + <string>Switch to this Tx message NOW +Double click to toggle the use of the Tx1 message to start a QSO with a station (not allowed for type 1 compound call holders)</string> + </property> + <property name="layoutDirection"> + <enum>Qt::LeftToRight</enum> + </property> + <property name="styleSheet"> + <string notr="true">padding-left: 15%; padding-right: 15%; padding-top: 3%; padding-bottom: 3%</string> + </property> + <property name="text"> + <string>Tx &1</string> + </property> + <property name="shortcut"> + <string>Alt+1</string> + </property> + </widget> + </item> + <item row="6" column="1"> + <widget class="QRadioButton" name="txrb6"> + <property name="toolTip"> + <string>Send this message in next Tx interval</string> + </property> + <property name="styleSheet"> + <string notr="true">margin-left: 10%; margin-right: 0%</string> </property> <property name="text"> - <string>Prefer Type 1 messages</string> + <string/> + </property> + <property name="shortcut"> + <string>Ctrl+6</string> </property> <property name="checked"> <bool>true</bool> </property> </widget> </item> - <item> - <widget class="QCheckBox" name="cbNoOwnCall"> + <item row="3" column="0"> + <widget class="QLineEdit" name="tx3"/> + </item> + <item row="5" column="1"> + <widget class="DoubleClickableRadioButton" name="txrb5"> + <property name="toolTip"> + <string><html><head/><body><p>Send this message in next Tx interval</p><p>Double-click to reset to the standard 73 message</p></body></html></string> + </property> + <property name="accessibleDescription"> + <string>Send this message in next Tx interval +Double-click to reset to the standard 73 message</string> + </property> + <property name="styleSheet"> + <string notr="true">margin-left: 10%; margin-right: 0%</string> + </property> + <property name="text"> + <string/> + </property> + <property name="shortcut"> + <string>Ctrl+5</string> + </property> + </widget> + </item> + <item row="3" column="1"> + <widget class="QRadioButton" name="txrb3"> + <property name="toolTip"> + <string>Send this message in next Tx interval</string> + </property> + <property name="styleSheet"> + <string notr="true">margin-left: 10%; margin-right: 0%</string> + </property> + <property name="text"> + <string/> + </property> + <property name="shortcut"> + <string>Ctrl+3</string> + </property> + </widget> + </item> + <item row="3" column="2"> + <widget class="QPushButton" name="txb3"> + <property name="toolTip"> + <string>Switch to this Tx message NOW</string> + </property> + <property name="styleSheet"> + <string notr="true">padding-left: 15%; padding-right: 15%; padding-top: 3%; padding-bottom: 3%</string> + </property> + <property name="text"> + <string>Tx &3</string> + </property> + <property name="shortcut"> + <string>Alt+3</string> + </property> + </widget> + </item> + <item row="4" column="1"> + <widget class="DoubleClickableRadioButton" name="txrb4"> + <property name="toolTip"> + <string><html><head/><body><p>Send this message in next Tx interval</p><p>Double-click to toggle between RRR and RR73 messages in Tx4 (not allowed for type 2 compound call holders)</p><p>RR73 messages should only be used when you are reasonably confident that no message repetitions will be required</p></body></html></string> + </property> + <property name="accessibleDescription"> + <string>Send this message in next Tx interval +Double-click to toggle between RRR and RR73 messages in Tx4 (not allowed for type 2 compound call holders) +RR73 messages should only be used when you are reasonably confident that no message repetitions will be required</string> + </property> + <property name="styleSheet"> + <string notr="true">margin-left: 10%; margin-right: 0%</string> + </property> + <property name="text"> + <string/> + </property> + <property name="shortcut"> + <string>Ctrl+4</string> + </property> + </widget> + </item> + <item row="4" column="2"> + <widget class="DoubleClickablePushButton" name="txb4"> + <property name="toolTip"> + <string><html><head/><body><p>Switch to this Tx message NOW</p><p>Double-click to toggle between RRR and RR73 messages in Tx4 (not allowed for type2 compound call holders)</p><p>RR73 messages should only be used when you are reasonably confident that no message repetitions will be required</p></body></html></string> + </property> + <property name="accessibleDescription"> + <string>Switch to this Tx message NOW +Double-click to toggle between RRR and RR73 messages in Tx4 (not allowed for type2 compound call holders) +RR73 messages should only be used when you are reasonably confident that no message repetitions will be required</string> + </property> + <property name="styleSheet"> + <string notr="true">padding-left: 15%; padding-right: 15%; padding-top: 3%; padding-bottom: 3%</string> + </property> + <property name="text"> + <string>Tx &4</string> + </property> + <property name="shortcut"> + <string>Alt+4</string> + </property> + </widget> + </item> + <item row="5" column="2"> + <widget class="DoubleClickablePushButton" name="txb5"> + <property name="toolTip"> + <string><html><head/><body><p>Switch to this Tx message NOW</p><p>Double-click to reset to the standard 73 message</p></body></html></string> + </property> + <property name="accessibleDescription"> + <string>Switch to this Tx message NOW +Double-click to reset to the standard 73 message</string> + </property> + <property name="styleSheet"> + <string notr="true">padding-left: 15%; padding-right: 15%; padding-top: 3%; padding-bottom: 3%</string> + </property> + <property name="text"> + <string>Tx &5</string> + </property> + <property name="shortcut"> + <string>Alt+5</string> + </property> + </widget> + </item> + <item row="4" column="0"> + <widget class="QLineEdit" name="tx4"/> + </item> + <item row="0" column="2"> + <widget class="QLabel" name="label_2"> + <property name="toolTip"> + <string>Switch to this Tx message NOW</string> + </property> + <property name="text"> + <string>Now</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + </item> + <item row="0" column="0"> + <widget class="QPushButton" name="genStdMsgsPushButton"> + <property name="toolTip"> + <string>Generate standard messages for minimal QSO</string> + </property> + <property name="text"> + <string>Generate Std Msgs</string> + </property> + </widget> + </item> + <item row="6" column="2"> + <widget class="QPushButton" name="txb6"> + <property name="toolTip"> + <string>Switch to this Tx message NOW</string> + </property> + <property name="styleSheet"> + <string notr="true">padding-left: 15%; padding-right: 15%; padding-top: 3%; padding-bottom: 3%</string> + </property> + <property name="text"> + <string>Tx &6</string> + </property> + <property name="shortcut"> + <string>Alt+6</string> + </property> + </widget> + </item> + <item row="5" column="0"> + <widget class="QComboBox" name="tx5"> + <property name="toolTip"> + <string>Enter a free text message (maximum 13 characters) +or select a predefined macro from the dropdown list. +Press ENTER to add the current text to the predefined +list. The list can be maintained in Settings (F2).</string> + </property> + <property name="editable"> + <bool>true</bool> + </property> + <property name="insertPolicy"> + <enum>QComboBox::InsertAtBottom</enum> + </property> + </widget> + </item> + <item row="6" column="0"> + <widget class="QLineEdit" name="tx6"> + <property name="text"> + <string/> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLineEdit" name="tx1"> + <property name="text"> + <string/> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QLabel" name="label_5"> + <property name="toolTip"> + <string>Queue up the next Tx message</string> + </property> <property name="text"> - <string>No own call decodes</string> + <string>Next</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </widget> + <widget class="QWidget" name="tab_3"> + <attribute name="title"> + <string>2</string> + </attribute> + <layout class="QGridLayout" name="gridLayout_11"> + <item row="0" column="1" rowspan="2"> + <layout class="QGridLayout" name="gridLayout_10"> + <item row="2" column="0"> + <widget class="QSpinBox" name="sbMax_dB"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="maximumSize"> + <size> + <width>16777215</width> + <height>16777215</height> + </size> + </property> + <property name="prefix"> + <string>Max dB </string> + </property> + <property name="minimum"> + <number>-15</number> + </property> + <property name="maximum"> + <number>70</number> + </property> + <property name="value"> + <number>30</number> </property> </widget> </item> - <item> - <layout class="QHBoxLayout" name="horizontalLayout_13"> + <item row="4" column="0"> + <widget class="QComboBox" name="comboBoxCQ"> + <property name="currentText"> + <string>CQ</string> + </property> <item> - <widget class="QPushButton" name="pbTxNext"> - <property name="toolTip"> - <string><html><head/><body><p>Transmit during the next sequence.</p></body></html></string> - </property> - <property name="styleSheet"> - <string notr="true">QPushButton:checked { - color: rgb(0, 0, 0); - background-color: red; - border-style: outset; - border-width: 1px; - border-radius: 5px; - border-color: black; - min-width: 5em; - padding: 3px; -}</string> - </property> - <property name="text"> - <string>Tx Next</string> - </property> - <property name="checkable"> - <bool>true</bool> - </property> - </widget> + <property name="text"> + <string>CQ</string> + </property> </item> <item> - <spacer name="horizontalSpacer_2"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>40</width> - <height>20</height> - </size> - </property> - </spacer> + <property name="text"> + <string>CQ AF</string> + </property> + </item> + <item> + <property name="text"> + <string>CQ AN</string> + </property> + </item> + <item> + <property name="text"> + <string>CQ AS</string> + </property> + </item> + <item> + <property name="text"> + <string>CQ EU</string> + </property> + </item> + <item> + <property name="text"> + <string>CQ NA</string> + </property> + </item> + <item> + <property name="text"> + <string>CQ OC</string> + </property> + </item> + <item> + <property name="text"> + <string>CQ SA</string> + </property> + </item> + <item> + <property name="text"> + <string>CQ 0</string> + </property> </item> - </layout> + <item> + <property name="text"> + <string>CQ 1</string> + </property> + </item> + <item> + <property name="text"> + <string>CQ 2</string> + </property> + </item> + <item> + <property name="text"> + <string>CQ 3</string> + </property> + </item> + <item> + <property name="text"> + <string>CQ 4</string> + </property> + </item> + <item> + <property name="text"> + <string>CQ 5</string> + </property> + </item> + <item> + <property name="text"> + <string>CQ 6</string> + </property> + </item> + <item> + <property name="text"> + <string>CQ 7</string> + </property> + </item> + <item> + <property name="text"> + <string>CQ 8</string> + </property> + </item> + <item> + <property name="text"> + <string>CQ 9</string> + </property> + </item> + </widget> </item> - <item> - <layout class="QHBoxLayout" name="horizontalLayout_14"> + <item row="6" column="0"> + <widget class="QPushButton" name="pbFoxReset"> + <property name="text"> + <string>Reset</string> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QSpinBox" name="sbNlist"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="maximumSize"> + <size> + <width>16777215</width> + <height>16777215</height> + </size> + </property> + <property name="prefix"> + <string>N List </string> + </property> + <property name="minimum"> + <number>5</number> + </property> + <property name="maximum"> + <number>100</number> + </property> + <property name="value"> + <number>12</number> + </property> + </widget> + </item> + <item row="3" column="0"> + <widget class="QSpinBox" name="sbNslots"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="maximumSize"> + <size> + <width>16777215</width> + <height>16777215</height> + </size> + </property> + <property name="suffix"> + <string/> + </property> + <property name="prefix"> + <string>N Slots </string> + </property> + <property name="minimum"> + <number>1</number> + </property> + <property name="maximum"> + <number>5</number> + </property> + <property name="value"> + <number>1</number> + </property> + <property name="displayIntegerBase"> + <number>10</number> + </property> + </widget> + </item> + <item row="0" column="0"> + <widget class="QComboBox" name="comboBoxHoundSort"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="maximumSize"> + <size> + <width>16777215</width> + <height>16777215</height> + </size> + </property> + <property name="currentText"> + <string>Random</string> + </property> + <property name="maxVisibleItems"> + <number>5</number> + </property> <item> - <widget class="QComboBox" name="TxPowerComboBox"> - <property name="toolTip"> - <string>Set Tx power in dBm (dB above 1 mW) as part of your WSPR message.</string> - </property> - </widget> + <property name="text"> + <string>Random</string> + </property> </item> <item> - <spacer name="horizontalSpacer_3"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>40</width> - <height>20</height> - </size> - </property> - </spacer> + <property name="text"> + <string>Call</string> + </property> </item> - </layout> + <item> + <property name="text"> + <string>Grid</string> + </property> + </item> + <item> + <property name="text"> + <string>S/N (dB)</string> + </property> + </item> + <item> + <property name="text"> + <string>Distance</string> + </property> + </item> + </widget> + </item> + <item row="7" column="0"> + <spacer name="verticalSpacer"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> + <item row="5" column="0"> + <widget class="QCheckBox" name="cbMoreCQs"> + <property name="text"> + <string>More CQs</string> + </property> + </widget> </item> </layout> </item> + <item row="0" column="0"> + <widget class="DisplayText" name="textBrowser4"> + <property name="maximumSize"> + <size> + <width>16777215</width> + <height>16777215</height> + </size> + </property> + </widget> + </item> </layout> - </item> - </layout> - </item> - <item row="0" column="1"> - <spacer name="verticalSpacer_3"> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>40</height> - </size> - </property> - </spacer> + </widget> + </widget> </item> </layout> </widget> </item> </layout> </widget> - </item> - </layout> - </widget> - </widget> - </item> - <item row="0" column="2"> - <widget class="QLabel" name="labDialFreq"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="toolTip"> - <string>USB dial frequency</string> - </property> - <property name="styleSheet"> - <string notr="true">QLabel { - font-family: MS Shell Dlg 2; - font-size: 16pt; - color : yellow; - background-color : black; -} -QLabel[oob="true"] { - background-color: red; + <widget class="QWidget" name="page_2"> + <layout class="QVBoxLayout" name="verticalLayout_5"> + <property name="leftMargin"> + <number>0</number> + </property> + <property name="topMargin"> + <number>0</number> + </property> + <property name="rightMargin"> + <number>0</number> + </property> + <property name="bottomMargin"> + <number>0</number> + </property> + <item> + <widget class="QWidget" name="widget_2" native="true"> + <layout class="QHBoxLayout" name="horizontalLayout_9"> + <property name="leftMargin"> + <number>0</number> + </property> + <property name="topMargin"> + <number>0</number> + </property> + <property name="rightMargin"> + <number>0</number> + </property> + <property name="bottomMargin"> + <number>0</number> + </property> + <item> + <widget class="QWidget" name="WSPR_controls_widget" native="true"> + <layout class="QGridLayout" name="gridLayout_9"> + <item row="1" column="0"> + <spacer name="horizontalSpacer_7"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item row="1" column="2"> + <spacer name="horizontalSpacer_6"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item row="2" column="1"> + <spacer name="verticalSpacer_2"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> + <item row="1" column="1"> + <layout class="QHBoxLayout" name="horizontalLayout_12"> + <item> + <layout class="QVBoxLayout" name="verticalLayout_7"> + <item> + <widget class="QSpinBox" name="WSPRfreqSpinBox"> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + <property name="suffix"> + <string> Hz</string> + </property> + <property name="prefix"> + <string>Tx </string> + </property> + <property name="minimum"> + <number>1400</number> + </property> + <property name="maximum"> + <number>1600</number> + </property> + <property name="value"> + <number>1500</number> + </property> + </widget> + </item> + <item> + <widget class="QSpinBox" name="sbFST4W_RxFreq"> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + <property name="suffix"> + <string> Hz</string> + </property> + <property name="prefix"> + <string>Rx </string> + </property> + <property name="minimum"> + <number>100</number> + </property> + <property name="maximum"> + <number>4900</number> + </property> + <property name="singleStep"> + <number>100</number> + </property> + <property name="value"> + <number>1500</number> + </property> + </widget> + </item> + <item> + <widget class="HintedSpinBox" name="sbFST4W_FTol"> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + <property name="suffix"> + <string> Hz</string> + </property> + <property name="prefix"> + <string>F Tol </string> + </property> + <property name="minimum"> + <number>100</number> + </property> + <property name="maximum"> + <number>500</number> + </property> + <property name="singleStep"> + <number>100</number> + </property> + </widget> + </item> + <item> + <widget class="QComboBox" name="RoundRobin"> + <property name="editable"> + <bool>true</bool> + </property> + <property name="currentIndex"> + <number>0</number> + </property> + <item> + <property name="text"> + <string>Random</string> + </property> + </item> + <item> + <property name="text"> + <string>1/2</string> + </property> + </item> + <item> + <property name="text"> + <string>2/2</string> + </property> + </item> + <item> + <property name="text"> + <string>1/3</string> + </property> + </item> + <item> + <property name="text"> + <string>2/3</string> + </property> + </item> + <item> + <property name="text"> + <string>3/3</string> + </property> + </item> + <item> + <property name="text"> + <string>1/4</string> + </property> + </item> + <item> + <property name="text"> + <string>2/4</string> + </property> + </item> + <item> + <property name="text"> + <string>3/4</string> + </property> + </item> + <item> + <property name="text"> + <string>4/4</string> + </property> + </item> + <item> + <property name="text"> + <string>1/5</string> + </property> + </item> + <item> + <property name="text"> + <string>2/5</string> + </property> + </item> + <item> + <property name="text"> + <string>3/5</string> + </property> + </item> + <item> + <property name="text"> + <string>4/5</string> + </property> + </item> + <item> + <property name="text"> + <string>5/5</string> + </property> + </item> + <item> + <property name="text"> + <string>1/6</string> + </property> + </item> + <item> + <property name="text"> + <string>2/6</string> + </property> + </item> + <item> + <property name="text"> + <string>3/6</string> + </property> + </item> + <item> + <property name="text"> + <string>4/6</string> + </property> + </item> + <item> + <property name="text"> + <string>5/6</string> + </property> + </item> + <item> + <property name="text"> + <string>6/6</string> + </property> + </item> + </widget> + </item> + <item> + <widget class="QSpinBox" name="sbTxPercent"> + <property name="toolTip"> + <string>Percentage of minute sequences devoted to transmitting.</string> + </property> + <property name="styleSheet"> + <string notr="true">QSpinBox:enabled[notx="true"] { + color: rgb(0, 0, 0); + background-color: rgb(255, 255, 0); }</string> - </property> - <property name="text"> - <string>14.078 000</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - <property name="margin"> - <number>5</number> - </property> - </widget> - </item> - <item row="0" column="4"> - <widget class="QLabel" name="label"> - <property name="text"> - <string> Pwr</string> - </property> - </widget> - </item> - <item row="3" column="2"> - <widget class="QLabel" name="labUTC"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="styleSheet"> - <string notr="true">QLabel { - font-family: MS Shell Dlg 2; - font-size: 16pt; - background-color : black; - color : yellow; + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + <property name="suffix"> + <string> %</string> + </property> + <property name="prefix"> + <string>Tx Pct </string> + </property> + <property name="maximum"> + <number>100</number> + </property> + </widget> + </item> + <item> + <widget class="RestrictedSpinBox" name="sbTR_FST4W"> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + <property name="suffix"> + <string> s</string> + </property> + <property name="prefix"> + <string>T/R </string> + </property> + <property name="minimum"> + <number>15</number> + </property> + <property name="maximum"> + <number>1800</number> + </property> + </widget> + </item> + <item> + <widget class="QGroupBox" name="band_hopping_group_box"> + <property name="title"> + <string>Band Hopping</string> + </property> + <property name="checkable"> + <bool>true</bool> + </property> + <layout class="QHBoxLayout" name="horizontalLayout_7"> + <item> + <widget class="QPushButton" name="band_hopping_schedule_push_button"> + <property name="toolTip"> + <string>Choose bands and times of day for band-hopping.</string> + </property> + <property name="text"> + <string>Schedule ...</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + </layout> + </item> + <item> + <layout class="QVBoxLayout" name="verticalLayout_8"> + <item> + <layout class="QVBoxLayout" name="verticalLayout_2"> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_10"> + <item> + <widget class="QCheckBox" name="cbUploadWSPR_Spots"> + <property name="toolTip"> + <string>Upload decoded messages to WSPRnet.org.</string> + </property> + <property name="styleSheet"> + <string notr="true">QCheckBox:unchecked { + color: rgb(0, 0, 0); + background-color: rgb(255, 255, 0); }</string> - </property> - <property name="frameShape"> - <enum>QFrame::StyledPanel</enum> - </property> - <property name="frameShadow"> - <enum>QFrame::Sunken</enum> - </property> - <property name="lineWidth"> - <number>2</number> - </property> - <property name="midLineWidth"> - <number>0</number> - </property> - <property name="text"> - <string><html><head/><body><p align="center"> 2015 Jun 17 </p><p align="center"> 01:23:45 </p></body></html></string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - <property name="margin"> - <number>5</number> - </property> - </widget> - </item> - <item row="2" column="0" rowspan="2"> - <widget class="SignalMeter" name="signal_meter_widget"> - <property name="sizePolicy"> - <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="maximumSize"> - <size> - <width>100</width> - <height>16777215</height> - </size> - </property> - <property name="toolTip"> - <string><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></string> - </property> - <property name="accessibleName"> - <string>Rx Signal</string> - </property> - <property name="accessibleDescription"> - <string>30dB recommended when only noise present -Green when good -Red when clipping may occur -Yellow when too low</string> - </property> - <property name="frameShape"> - <enum>QFrame::Panel</enum> - </property> - <property name="frameShadow"> - <enum>QFrame::Sunken</enum> - </property> - </widget> - </item> - <item row="1" column="4" rowspan="3"> - <widget class="QSlider" name="outAttenuation"> - <property name="toolTip"> - <string>Adjust Tx audio level</string> - </property> - <property name="maximum"> - <number>450</number> - </property> - <property name="value"> - <number>0</number> - </property> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="invertedAppearance"> - <bool>true</bool> - </property> - <property name="invertedControls"> - <bool>true</bool> - </property> - <property name="tickPosition"> - <enum>QSlider::TicksBelow</enum> - </property> - <property name="tickInterval"> - <number>50</number> - </property> - </widget> - </item> - <item row="1" column="0"> - <widget class="QSpinBox" name="sbNB"> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - <property name="suffix"> - <string> %</string> - </property> - <property name="prefix"> - <string>NB </string> - </property> - <property name="minimum"> - <number>-2</number> - </property> - <property name="maximum"> - <number>25</number> - </property> - </widget> - </item> - <item row="2" column="2"> - <widget class="QWidget" name="DX_controls_widget" native="true"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <layout class="QGridLayout" name="gridLayout_2"> - <property name="leftMargin"> - <number>0</number> - </property> - <property name="topMargin"> - <number>0</number> - </property> - <property name="rightMargin"> - <number>0</number> - </property> - <property name="bottomMargin"> - <number>0</number> - </property> - <item row="1" column="0"> - <widget class="QLabel" name="label_3"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="palette"> - <palette> - <active> - <colorrole role="Base"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>252</red> - <green>252</green> - <blue>252</blue> - </color> - </brush> - </colorrole> - <colorrole role="Window"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>159</red> - <green>175</green> - <blue>213</blue> - </color> - </brush> - </colorrole> - </active> - <inactive> - <colorrole role="Base"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>252</red> - <green>252</green> - <blue>252</blue> - </color> - </brush> - </colorrole> - <colorrole role="Window"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>159</red> - <green>175</green> - <blue>213</blue> - </color> - </brush> - </colorrole> - </inactive> - <disabled> - <colorrole role="Base"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>159</red> - <green>175</green> - <blue>213</blue> - </color> - </brush> - </colorrole> - <colorrole role="Window"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>159</red> - <green>175</green> - <blue>213</blue> - </color> - </brush> - </colorrole> - </disabled> - </palette> - </property> - <property name="autoFillBackground"> - <bool>true</bool> - </property> - <property name="text"> - <string>DX Call</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - <property name="margin"> - <number>5</number> - </property> - <property name="indent"> - <number>2</number> - </property> - <property name="buddy"> - <cstring>dxCallEntry</cstring> - </property> - </widget> - </item> - <item row="3" column="0" colspan="2"> - <widget class="QLabel" name="labAz"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="autoFillBackground"> - <bool>true</bool> - </property> - <property name="text"> - <string>Az: 251 16553 km</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - <property name="indent"> - <number>4</number> - </property> - </widget> - </item> - <item row="2" column="0"> - <widget class="QLineEdit" name="dxCallEntry"> - <property name="toolTip"> - <string>Callsign of station to be worked</string> - </property> - <property name="text"> - <string/> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - </widget> - </item> - <item row="1" column="1"> - <widget class="QLabel" name="label_4"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="palette"> - <palette> - <active> - <colorrole role="Base"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>252</red> - <green>252</green> - <blue>252</blue> - </color> - </brush> - </colorrole> - <colorrole role="Window"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>159</red> - <green>175</green> - <blue>213</blue> - </color> - </brush> - </colorrole> - </active> - <inactive> - <colorrole role="Base"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>252</red> - <green>252</green> - <blue>252</blue> - </color> - </brush> - </colorrole> - <colorrole role="Window"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>159</red> - <green>175</green> - <blue>213</blue> - </color> - </brush> - </colorrole> - </inactive> - <disabled> - <colorrole role="Base"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>159</red> - <green>175</green> - <blue>213</blue> - </color> - </brush> - </colorrole> - <colorrole role="Window"> - <brush brushstyle="SolidPattern"> - <color alpha="255"> - <red>159</red> - <green>175</green> - <blue>213</blue> - </color> - </brush> - </colorrole> - </disabled> - </palette> - </property> - <property name="autoFillBackground"> - <bool>true</bool> - </property> - <property name="text"> - <string>DX Grid</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - <property name="margin"> - <number>5</number> - </property> - <property name="indent"> - <number>2</number> - </property> - <property name="buddy"> - <cstring>dxGridEntry</cstring> - </property> - </widget> - </item> - <item row="4" column="0"> - <widget class="QPushButton" name="lookupButton"> - <property name="toolTip"> - <string>Search for callsign in database</string> - </property> - <property name="text"> - <string>&Lookup</string> - </property> - </widget> - </item> - <item row="2" column="1"> - <widget class="QLineEdit" name="dxGridEntry"> - <property name="toolTip"> - <string>Locator of station to be worked</string> - </property> - <property name="text"> - <string/> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - </widget> - </item> - <item row="4" column="1"> - <widget class="QPushButton" name="addButton"> - <property name="toolTip"> - <string>Add callsign and locator to database</string> - </property> - <property name="text"> - <string>Add</string> - </property> + </property> + <property name="text"> + <string>Upload spots</string> + </property> + </widget> + </item> + </layout> + </item> + <item> + <widget class="QCheckBox" name="WSPR_prefer_type_1_check_box"> + <property name="toolTip"> + <string><html><head/><body><p>6 digit locators cause 2 different messages to be sent, the second contains the full locator but only a hashed callsign, other stations must have decoded the first once before they can decode your call in the second. Check this option to only send 4 digit locators if it will avoid the two message protocol.</p></body></html></string> + </property> + <property name="accessibleDescription"> + <string>6 digit locators cause 2 different messages to be sent, the second contains the full locator but only a hashed callsign, other stations must have decoded the first once before they can decode your call in the second. Check this option to only send 4 digit locators if it will avoid the two message protocol.</string> + </property> + <property name="text"> + <string>Prefer Type 1 messages</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="cbNoOwnCall"> + <property name="text"> + <string>No own call decodes</string> + </property> + </widget> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_13"> + <item> + <widget class="QPushButton" name="pbTxNext"> + <property name="toolTip"> + <string><html><head/><body><p>Transmit during the next sequence.</p></body></html></string> + </property> + <property name="styleSheet"> + <string notr="true">QPushButton:checked { + color: rgb(0, 0, 0); + background-color: red; + border-style: outset; + border-width: 1px; + border-radius: 5px; + border-color: black; + min-width: 5em; + padding: 3px; +}</string> + </property> + <property name="text"> + <string>Tx Next</string> + </property> + <property name="checkable"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer_2"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_14"> + <item> + <widget class="QComboBox" name="TxPowerComboBox"> + <property name="toolTip"> + <string>Set Tx power in dBm (dB above 1 mW) as part of your WSPR message.</string> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer_3"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + </layout> + </item> + </layout> + </item> + </layout> + </item> + <item row="0" column="1"> + <spacer name="verticalSpacer_3"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + </item> + </layout> + </widget> + </item> + </layout> + </widget> </widget> </item> </layout> - </widget> - </item> - </layout> + </item> + </layout> + </widget> </item> </layout> </widget> @@ -2800,7 +2840,7 @@ Yellow when too low</string> <addaction name="contest_log_action"/> <addaction name="fox_log_action"/> <addaction name="actionColors"/> - <addaction name="separator"/> + <addaction name="actionSWL_Mode"/> </widget> <widget class="QMenu" name="menuDecode"> <property name="title"> @@ -2848,7 +2888,6 @@ Yellow when too low</string> <string>Mode</string> </property> <addaction name="actionFST4"/> - <addaction name="actionFST4W"/> <addaction name="actionFT4"/> <addaction name="actionFT8"/> <addaction name="actionJT4"/> @@ -2860,6 +2899,7 @@ Yellow when too low</string> <addaction name="actionISCAT"/> <addaction name="actionMSK144"/> <addaction name="separator"/> + <addaction name="actionFST4W"/> <addaction name="actionWSPR"/> <addaction name="separator"/> <addaction name="actionEcho"/> @@ -3342,6 +3382,17 @@ Yellow when too low</string> <string>FST4W</string> </property> </action> + <action name="actionSWL_Mode"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="text"> + <string>SWL Mode</string> + </property> + <property name="toolTip"> + <string>Hide lower panel controls to maximize deocde windows</string> + </property> + </action> </widget> <layoutdefault spacing="6" margin="11"/> <customwidgets> @@ -3392,54 +3443,7 @@ Yellow when too low</string> <tabstop>autoButton</tabstop> <tabstop>stopTxButton</tabstop> <tabstop>tuneButton</tabstop> - <tabstop>dxCallEntry</tabstop> - <tabstop>dxGridEntry</tabstop> - <tabstop>lookupButton</tabstop> - <tabstop>addButton</tabstop> - <tabstop>txFirstCheckBox</tabstop> - <tabstop>TxFreqSpinBox</tabstop> - <tabstop>sbCQTxFreq</tabstop> - <tabstop>cbCQTx</tabstop> - <tabstop>cbShMsgs</tabstop> - <tabstop>cbFast9</tabstop> - <tabstop>cbAutoSeq</tabstop> - <tabstop>cbTx6</tabstop> - <tabstop>pbTxMode</tabstop> - <tabstop>sbSubmode</tabstop> - <tabstop>syncSpinBox</tabstop> - <tabstop>tabWidget</tabstop> - <tabstop>outAttenuation</tabstop> - <tabstop>genStdMsgsPushButton</tabstop> - <tabstop>tx1</tabstop> - <tabstop>tx2</tabstop> - <tabstop>tx3</tabstop> - <tabstop>tx4</tabstop> - <tabstop>tx5</tabstop> - <tabstop>tx6</tabstop> - <tabstop>txrb1</tabstop> - <tabstop>txrb2</tabstop> - <tabstop>txrb3</tabstop> - <tabstop>txrb4</tabstop> - <tabstop>txrb5</tabstop> - <tabstop>txrb6</tabstop> - <tabstop>txb1</tabstop> - <tabstop>txb2</tabstop> - <tabstop>txb3</tabstop> - <tabstop>txb4</tabstop> - <tabstop>txb5</tabstop> - <tabstop>txb6</tabstop> - <tabstop>band_hopping_group_box</tabstop> - <tabstop>band_hopping_schedule_push_button</tabstop> - <tabstop>cbUploadWSPR_Spots</tabstop> - <tabstop>WSPR_prefer_type_1_check_box</tabstop> - <tabstop>pbTxNext</tabstop> - <tabstop>TxPowerComboBox</tabstop> - <tabstop>WSPRfreqSpinBox</tabstop> - <tabstop>decodedTextBrowser2</tabstop> <tabstop>decodedTextBrowser</tabstop> - <tabstop>bandComboBox</tabstop> - <tabstop>sbTxPercent</tabstop> - <tabstop>readFreq</tabstop> </tabstops> <resources/> <connections/> diff --git a/widgets/plotter.cpp b/widgets/plotter.cpp index d612b2eb..3b5ff22f 100644 --- a/widgets/plotter.cpp +++ b/widgets/plotter.cpp @@ -719,16 +719,17 @@ void CPlotter::mouseMoveEvent (QMouseEvent * event) void CPlotter::mouseReleaseEvent (QMouseEvent * event) { - if (Qt::LeftButton == event->button () and m_mode!="FST4W") { + if (Qt::LeftButton == event->button()) { int x=event->x(); if(x<0) x=0; if(x>m_Size.width()) x=m_Size.width(); bool ctrl = (event->modifiers() & Qt::ControlModifier); bool shift = (event->modifiers() & Qt::ShiftModifier); + if(!shift and m_mode=="FST4W") return; int newFreq = int(FreqfromX(x)+0.5); int oldTxFreq = m_txFreq; int oldRxFreq = m_rxFreq; - if (ctrl) { + if (ctrl and m_mode!="FST4W") { emit setFreq1 (newFreq, newFreq); } else if (shift) { emit setFreq1 (oldRxFreq, newFreq); diff --git a/widgets/widgets.pri b/widgets/widgets.pri index 7a364c4e..6a623d82 100644 --- a/widgets/widgets.pri +++ b/widgets/widgets.pri @@ -10,7 +10,9 @@ SOURCES += \ widgets/AbstractLogWindow.cpp \ widgets/FrequencyLineEdit.cpp widgets/FrequencyDeltaLineEdit.cpp \ widgets/FoxLogWindow.cpp widgets/CabrilloLogWindow.cpp \ - widgets/HelpTextWindow.cpp widgets/RestrictedSpinBox.cpp + widgets/HelpTextWindow.cpp widgets/RestrictedSpinBox.cpp \ + widgets/LazyFillComboBox.cpp widgets/CheckableItemComboBox.cpp + HEADERS += \ widgets/mainwindow.h widgets/plotter.h \ widgets/about.h widgets/widegraph.h \ @@ -22,7 +24,8 @@ HEADERS += \ widgets/ExportCabrillo.h widgets/AbstractLogWindow.hpp \ widgets/FoxLogWindow.hpp widgets/CabrilloLogWindow.hpp \ widgets/DateTimeEdit.hpp widgets/HelpTextWindow.hpp \ - widgets/RestrictedSpinBox.hpp + widgets/RestrictedSpinBox.hpp \ + widgets/LazyFillComboBox.hpp widgets/CheckableItemComboBox.hpp FORMS += \ widgets/mainwindow.ui widgets/about.ui \ |
