mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-16 09:01:59 -05:00
Contest log to the "fox log" window.
This commit is contained in:
parent
c9cb15052c
commit
c2a54e63fd
@ -1180,6 +1180,8 @@ void MainWindow::setContestType()
|
||||
if(m_config.bEU_VHF_Contest()) m_nContest=EU_VHF;
|
||||
if(m_config.bFieldDay()) m_nContest=FIELD_DAY;
|
||||
if(m_config.bRTTYroundup()) m_nContest=RTTY;
|
||||
if(m_config.bFox()) m_nContest=FOX;
|
||||
if(m_config.bHound()) m_nContest=HOUND;
|
||||
}
|
||||
|
||||
void MainWindow::set_application_font (QFont const& font)
|
||||
@ -2369,7 +2371,7 @@ void MainWindow::on_actionAstronomical_data_toggled (bool checked)
|
||||
void MainWindow::on_actionFox_Log_triggered()
|
||||
{
|
||||
on_actionMessage_averaging_triggered();
|
||||
m_msgAvgWidget->foxLogSetup();
|
||||
m_msgAvgWidget->foxLogSetup(m_nContest);
|
||||
}
|
||||
|
||||
void MainWindow::on_actionColors_triggered()
|
||||
@ -3734,7 +3736,7 @@ void MainWindow::guiUpdate()
|
||||
|
||||
//Once per second:
|
||||
if(nsec != m_sec0) {
|
||||
// qDebug() << "OneSec:" << m_config.autoLog();
|
||||
qDebug() << "OneSec:" << m_nContest;
|
||||
|
||||
if(m_freqNominal!=0 and m_freqNominal<50000000 and m_config.enable_VHF_features()) {
|
||||
if(!m_bVHFwarned) vhfWarning();
|
||||
|
@ -517,7 +517,9 @@ private:
|
||||
NA_VHF,
|
||||
EU_VHF,
|
||||
FIELD_DAY,
|
||||
RTTY
|
||||
RTTY,
|
||||
FOX,
|
||||
HOUND
|
||||
} m_nContest; //Contest type
|
||||
|
||||
enum {CALL, GRID, DXCC, MULT};
|
||||
|
@ -3316,6 +3316,11 @@ QPushButton[state="ok"] {
|
||||
<string>Color highlighting scheme</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionContest_Log">
|
||||
<property name="text">
|
||||
<string>Contest Log</string>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
<layoutdefault spacing="6" margin="11"/>
|
||||
<customwidgets>
|
||||
|
@ -88,12 +88,26 @@ void MessageAveraging::displayAvg(QString const& t)
|
||||
ui->msgAvgPlainTextEdit->setPlainText(t);
|
||||
}
|
||||
|
||||
void MessageAveraging::foxLogSetup()
|
||||
void MessageAveraging::foxLogSetup(int nContest)
|
||||
{
|
||||
if(nContest==5) {
|
||||
m_title_=QApplication::applicationName () + " - Fox Log";
|
||||
setWindowTitle(m_title_);
|
||||
ui->header_label->setText(" Date Time Call Grid Sent Rcvd Band");
|
||||
}
|
||||
if(nContest>0 and nContest<5) {
|
||||
m_title_=QApplication::applicationName () + " - Contest Log";
|
||||
setWindowTitle(m_title_);
|
||||
ui->header_label->setText(" Date Time Call Grid Sent Rcvd Band");
|
||||
}
|
||||
}
|
||||
|
||||
void MessageAveraging::contestLogSetup()
|
||||
{
|
||||
m_title_=QApplication::applicationName () + " - Contest Log";
|
||||
setWindowTitle(m_title_);
|
||||
ui->header_label->setText(" Date Time Call Grid Sent Rcvd Band");
|
||||
}
|
||||
|
||||
void MessageAveraging::foxLabCallers(int n)
|
||||
{
|
||||
|
@ -17,7 +17,8 @@ public:
|
||||
~MessageAveraging();
|
||||
void displayAvg(QString const&);
|
||||
void changeFont (QFont const&);
|
||||
void foxLogSetup();
|
||||
void foxLogSetup(int nContest);
|
||||
void contestLogSetup();
|
||||
void foxLabCallers(int n);
|
||||
void foxLabQueued(int n);
|
||||
void foxLabRate(int n);
|
||||
|
Loading…
Reference in New Issue
Block a user