Right-clicking on the H button now activates/deactivates SuperFox mode.

This commit is contained in:
Uwe Risse 2024-09-27 13:41:34 +02:00
parent 043b721ad7
commit 656793f2d7
4 changed files with 9 additions and 5 deletions

2
NEWS
View File

@ -75,6 +75,8 @@ Improvements to SuperFox/Hound operation:
750 Hz. The previously selected frequency is saved and restored
afterwards.
- Right-clicking on the H button now activates/deactivates SuperFox mode.
- A flaw resulting in sub-optimal SuperFox QSO rates has been
corrected.

View File

@ -75,6 +75,8 @@ Improvements to SuperFox/Hound operation:
750 Hz. The previously selected frequency is saved and restored
afterwards.
- Right-clicking on the H button now activates/deactivates SuperFox mode.
- A flaw resulting in sub-optimal SuperFox QSO rates has been
corrected.

View File

@ -6987,12 +6987,12 @@ void MainWindow::mousePressEvent(QMouseEvent *event)
on_actionJT9_triggered();
ui->jt65Button->clearFocus();
}
if(ui->ft8Button->hasFocus() && (event->button() & Qt::RightButton)) { // toggle SuperFox mode
if(ui->houndButton->hasFocus() && (event->button() & Qt::RightButton)) { // toggle SuperFox mode
keep_frequency = true;
m_config.toggle_SF();
QTimer::singleShot (250, [=] {keep_frequency = false;});
on_actionFT8_triggered();
ui->ft8Button->clearFocus();
ui->houndButton->clearFocus();
ui->labDXped->setStyleSheet("QLabel {background-color: red; color: white;}");
}
}
@ -11428,7 +11428,7 @@ void MainWindow::on_houndButton_clicked (bool checked)
void MainWindow::on_ft8Button_clicked()
{
if (m_specOp==SpecOp::HOUND) {
if (m_specOp==SpecOp::HOUND or m_specOp==SpecOp::FOX) {
m_config.setSpecial_None();
m_specOp=m_config.special_op_id();
}

View File

@ -2937,7 +2937,7 @@ QLabel[oob="true"] {
</size>
</property>
<property name="toolTip">
<string>Toggle FT8 hound mode On/Off</string>
<string>Toggle FT8 hound mode On/Off.&lt;br&gt;Right-click to activate or deactivate SuperFox mode.</string>
</property>
<property name="styleSheet">
<string notr="true">QPushButton:checked {
@ -2970,7 +2970,7 @@ QLabel[oob=&quot;true&quot;] {
<enum>Qt::StrongFocus</enum>
</property>
<property name="toolTip">
<string>Switch to FT8 mode.&lt;br&gt; Right-click to toggle SuperFox mode On/Off.</string>
<string>Switch to FT8 mode.</string>
</property>
<property name="text">
<string>FT8</string>