Updated to ft8call_log.adif for logbook
This commit is contained in:
parent
085a81ca18
commit
45032cfdd8
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
auto logFileName = "wsjtx_log.adi";
|
auto logFileName = "ft8call_log.adi";
|
||||||
auto countryFileName = "cty.dat";
|
auto countryFileName = "cty.dat";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -114,10 +114,10 @@ void LogQSO::accept()
|
|||||||
m_comments=comments;
|
m_comments=comments;
|
||||||
QString strDialFreq(QString::number(m_dialFreq / 1.e6,'f',6));
|
QString strDialFreq(QString::number(m_dialFreq / 1.e6,'f',6));
|
||||||
operator_call = ui->loggedOperator->text();
|
operator_call = ui->loggedOperator->text();
|
||||||
//Log this QSO to ADIF file "wsjtx_log.adi"
|
//Log this QSO to ADIF file "ft8call_log.adi"
|
||||||
QString filename = "wsjtx_log.adi"; // TODO allow user to set
|
QString filename = "ft8call_log.adi"; // TODO allow user to set
|
||||||
ADIF adifile;
|
ADIF adifile;
|
||||||
auto adifilePath = QDir {QStandardPaths::writableLocation (QStandardPaths::DataLocation)}.absoluteFilePath ("wsjtx_log.adi");
|
auto adifilePath = QDir {QStandardPaths::writableLocation (QStandardPaths::DataLocation)}.absoluteFilePath ("ft8call_log.adi");
|
||||||
adifile.init(adifilePath);
|
adifile.init(adifilePath);
|
||||||
|
|
||||||
QByteArray ADIF {adifile.QSOToADIF (hisCall, hisGrid, mode, rptSent, rptRcvd, m_dateTimeOn, m_dateTimeOff, band
|
QByteArray ADIF {adifile.QSOToADIF (hisCall, hisGrid, mode, rptSent, rptRcvd, m_dateTimeOn, m_dateTimeOff, band
|
||||||
|
@ -6593,12 +6593,12 @@ void MainWindow::on_actionErase_FoxQSO_txt_triggered()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::on_actionErase_wsjtx_log_adi_triggered()
|
void MainWindow::on_actionErase_ft8call_log_adi_triggered()
|
||||||
{
|
{
|
||||||
int ret = MessageBox::query_message (this, tr ("Confirm Erase"),
|
int ret = MessageBox::query_message (this, tr ("Confirm Erase"),
|
||||||
tr ("Are you sure you want to erase file wsjtx_log.adi?"));
|
tr ("Are you sure you want to erase file ft8call_log.adi?"));
|
||||||
if(ret==MessageBox::Yes) {
|
if(ret==MessageBox::Yes) {
|
||||||
QFile f {m_config.writeable_data_dir ().absoluteFilePath ("wsjtx_log.adi")};
|
QFile f {m_config.writeable_data_dir ().absoluteFilePath ("ft8call_log.adi")};
|
||||||
f.remove();
|
f.remove();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -227,7 +227,7 @@ private slots:
|
|||||||
void bumpFqso(int n);
|
void bumpFqso(int n);
|
||||||
void on_actionErase_ALL_TXT_triggered();
|
void on_actionErase_ALL_TXT_triggered();
|
||||||
void on_actionErase_FoxQSO_txt_triggered();
|
void on_actionErase_FoxQSO_txt_triggered();
|
||||||
void on_actionErase_wsjtx_log_adi_triggered();
|
void on_actionErase_ft8call_log_adi_triggered();
|
||||||
void startTx();
|
void startTx();
|
||||||
void startTx2();
|
void startTx2();
|
||||||
void startP1();
|
void startP1();
|
||||||
|
@ -4197,7 +4197,7 @@ list. The list can be maintained in Settings (F2).</string>
|
|||||||
<addaction name="actionDelete_all_wav_files_in_SaveDir"/>
|
<addaction name="actionDelete_all_wav_files_in_SaveDir"/>
|
||||||
<addaction name="actionErase_ALL_TXT"/>
|
<addaction name="actionErase_ALL_TXT"/>
|
||||||
<addaction name="actionErase_FoxQSO_txt"/>
|
<addaction name="actionErase_FoxQSO_txt"/>
|
||||||
<addaction name="actionErase_wsjtx_log_adi"/>
|
<addaction name="actionErase_ft8call_log_adi"/>
|
||||||
<addaction name="actionOpen_log_directory"/>
|
<addaction name="actionOpen_log_directory"/>
|
||||||
<addaction name="separator"/>
|
<addaction name="separator"/>
|
||||||
<addaction name="actionSettings"/>
|
<addaction name="actionSettings"/>
|
||||||
@ -4522,9 +4522,9 @@ list. The list can be maintained in Settings (F2).</string>
|
|||||||
<string>Erase ALL.TXT</string>
|
<string>Erase ALL.TXT</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionErase_wsjtx_log_adi">
|
<action name="actionErase_ft8call_log_adi">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Erase wsjtx_log.adi</string>
|
<string>Erase ft8call_log.adi</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionConvert_JT9_x_to_RTTY">
|
<action name="actionConvert_JT9_x_to_RTTY">
|
||||||
|
Loading…
Reference in New Issue
Block a user