Add a ToolTip. Ensure that contest log is displayed when needed.

This commit is contained in:
Joe Taylor 2018-10-10 09:51:32 -04:00
parent 1d2665a978
commit b57c4aadd8
2 changed files with 7 additions and 1 deletions

View File

@ -1171,8 +1171,8 @@ void MainWindow::readSettings()
m_audioThreadPriority = static_cast<QThread::Priority> (m_settings->value ("Audio/ThreadPriority", QThread::HighPriority).toInt () % 8); m_audioThreadPriority = static_cast<QThread::Priority> (m_settings->value ("Audio/ThreadPriority", QThread::HighPriority).toInt () % 8);
m_settings->endGroup (); m_settings->endGroup ();
if (displayMsgAvg) on_actionMessage_averaging_triggered();
setContestType(); setContestType();
if(displayMsgAvg or (m_nContest>0 and m_nContest<6)) on_actionMessage_averaging_triggered();
} }
void MainWindow::setContestType() void MainWindow::setContestType()
@ -1689,6 +1689,9 @@ void MainWindow::on_actionSettings_triggered() //Setup Dialog
ui->actionEnable_AP_JT65->setVisible(false); ui->actionEnable_AP_JT65->setVisible(false);
} }
m_opCall=m_config.opCall(); m_opCall=m_config.opCall();
if(m_msgAvgWidget==NULL and m_nContest>0 and m_nContest<6) {
on_actionMessage_averaging_triggered();
}
} }
setColorHighlighting(); setColorHighlighting();
} }

View File

@ -1048,6 +1048,9 @@ QLabel[oob=&quot;true&quot;] {
</item> </item>
<item row="2" column="1"> <item row="2" column="1">
<widget class="QLabel" name="labNextCall"> <widget class="QLabel" name="labNextCall">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Double-click on another caller to queue that call for your next QSO.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text"> <property name="text">
<string>Next Call</string> <string>Next Call</string>
</property> </property>