mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-06-08 17:04:41 -04:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user