Add files "wsjtx_txcall.txt" and wsjtx_qrg.txt" for use by JT-Alert.

Write log info to wsjtx.log, not wsjt.log.
Bump version number to 0.6.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3045 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor
2013-03-12 14:53:53 +00:00
parent 45dcb4a4aa
commit 85a3f8782f
2 changed files with 32 additions and 5 deletions
+19
View File
@@ -52,6 +52,16 @@ WideGraph::WideGraph(QWidget *parent) :
m_qsoFreq=settings.value("QSOfreq",1010).toInt();
ui->widePlot->setFQSO(m_qsoFreq,true);
settings.endGroup();
QFile f("wsjtx_qrg.txt");
if(f.open(QFile::WriteOnly)) {
QTextStream out(&f);
out << m_dialFreq;
f.close();
} else {
// msgBox("Cannot open file \"wsjtx_qrg.txt\".");
qDebug() << "Cannot open file \"wsjtx_qrg.txt\".";
}
}
WideGraph::~WideGraph()
@@ -233,6 +243,15 @@ void WideGraph::setPalette(QString palette)
void WideGraph::on_fDialLineEdit_editingFinished()
{
m_dialFreq=ui->fDialLineEdit->text().toDouble();
QFile f("wsjtx_qrg.txt");
if(!f.open(QFile::WriteOnly)) {
// msgBox("Cannot open file \"wsjtx_qrg.txt\".");
qDebug() << "Cannot open file \"wsjtx_qrg.txt\".";
return;
}
QTextStream out(&f);
out << m_dialFreq;
f.close();
}
double WideGraph::fGreen()