Make fox and hound exclusive

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8313 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville 2017-12-09 20:43:10 +00:00
parent c1255f39b8
commit 7268d6d430
1 changed files with 18 additions and 0 deletions

View File

@ -444,6 +444,8 @@ private:
Q_SLOT void on_pbTxMsg_clicked();
Q_SLOT void on_pbNewDXCC_clicked();
Q_SLOT void on_pbNewCall_clicked();
Q_SLOT void on_cbFox_clicked (bool);
Q_SLOT void on_cbHound_clicked (bool);
// typenames used as arguments must match registered type names :(
Q_SIGNAL void start_transceiver (unsigned seqeunce_number) const;
@ -2356,6 +2358,22 @@ void Configuration::impl::on_calibration_slope_ppm_spin_box_valueChanged (double
rig_active_ = false; // force reset
}
void Configuration::impl::on_cbFox_clicked (bool checked)
{
if (checked)
{
ui_->cbHound->setChecked (false);
}
}
void Configuration::impl::on_cbHound_clicked (bool checked)
{
if (checked)
{
ui_->cbFox->setChecked (false);
}
}
bool Configuration::impl::have_rig ()
{
if (!open_rig ())