mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-21 19:55:20 -05:00
1. Add report to wsjt_status.txt, for JT-Alert.
2. Fix annoying bug when trying to open rig using a non-existent or busy serial port. 3. Add acknowledgments to AE4JY 4. Tentative tweaks to "Tab 2" GUI layout. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3261 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
79bdc5c82f
commit
f05cc4bd87
Binary file not shown.
@ -10,9 +10,9 @@ CAboutDlg::CAboutDlg(QWidget *parent, QString Revision) :
|
||||
ui->labelTxt->clear();
|
||||
m_Str = "<html><h2>" + m_Revision + "</h2>\n\n";
|
||||
m_Str += "WSJT-X implements experimental mode JT9 for <br>";
|
||||
m_Str += "Amateur Radio communication at MF and LF. <br><br>";
|
||||
m_Str += "Amateur Radio communication at HF, MF, and LF. <br><br>";
|
||||
m_Str += "Copyright 2001-2013 by Joe Taylor, K1JT. Additional <br>";
|
||||
m_Str += "contributions from PY2SDR, VK4BDJ, and AC6SL. <br>";
|
||||
m_Str += "contributions from AE4JY, PY2SDR, VK4BDJ, and AC6SL. <br>";
|
||||
ui->labelTxt->setText(m_Str);
|
||||
}
|
||||
|
||||
|
2
about.ui
2
about.ui
@ -29,7 +29,7 @@
|
||||
<string/>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -885,7 +885,8 @@ void MainWindow::statusChanged()
|
||||
QFile f("wsjtx_status.txt");
|
||||
if(f.open(QFile::WriteOnly | QIODevice::Text)) {
|
||||
QTextStream out(&f);
|
||||
out << m_dialFreq << ";" << m_mode << ";" << m_hisCall << endl;
|
||||
out << m_dialFreq << ";" << m_mode << ";" << m_hisCall << ";"
|
||||
<< ui->rptSpinBox->value() << endl;
|
||||
f.close();
|
||||
} else {
|
||||
msgBox("Cannot open file \"wsjtx_status.txt\".");
|
||||
@ -2710,7 +2711,7 @@ void MainWindow::on_rptSpinBox_valueChanged(int n)
|
||||
if(m_ntx==4) ui->txrb4->setChecked(true);
|
||||
if(m_ntx==5) ui->txrb5->setChecked(true);
|
||||
if(m_ntx==6) ui->txrb6->setChecked(true);
|
||||
|
||||
statusChanged();
|
||||
}
|
||||
void MainWindow::on_actionColor_highlighting_in_left_window_triggered(bool checked)
|
||||
{
|
||||
@ -2789,14 +2790,20 @@ void MainWindow::rigOpen()
|
||||
} else {
|
||||
t="Open rig failed";
|
||||
msgBox(t);
|
||||
m_catEnabled=false;
|
||||
m_bRigOpen=false;
|
||||
}
|
||||
|
||||
if(m_poll>0) {
|
||||
ui->readFreq->setStyleSheet("QPushButton{background-color: red; \
|
||||
border-width: 0px; border-radius: 5px;}");
|
||||
if(m_bRigOpen) {
|
||||
if(m_poll>0) {
|
||||
ui->readFreq->setStyleSheet("QPushButton{background-color: red; \
|
||||
border-width: 0px; border-radius: 5px;}");
|
||||
} else {
|
||||
ui->readFreq->setStyleSheet("QPushButton{background-color: orange; \
|
||||
border-width: 0px; border-radius: 5px;}");
|
||||
}
|
||||
} else {
|
||||
ui->readFreq->setStyleSheet("QPushButton{background-color: orange; \
|
||||
border-width: 0px; border-radius: 5px;}");
|
||||
ui->readFreq->setStyleSheet("");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1080,45 +1080,24 @@ p, li { white-space: pre-wrap; }
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="1">
|
||||
<widget class="QPushButton" name="pbAnswerCQ">
|
||||
<property name="text">
|
||||
<string>Answer CQ</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="0" colspan="2">
|
||||
<widget class="QPushButton" name="pbSend73">
|
||||
<property name="text">
|
||||
<string>Send 73</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QPushButton" name="pbCallCQ">
|
||||
<property name="text">
|
||||
<string>Call CQ</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="1">
|
||||
<widget class="QPushButton" name="pbSendReport">
|
||||
<property name="text">
|
||||
<string>Send Report</string>
|
||||
<string>CQ</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="0">
|
||||
<widget class="QPushButton" name="pbSendRRR">
|
||||
<property name="text">
|
||||
<string>Send RRR</string>
|
||||
<string>RRR</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QPushButton" name="pbAnswerCaller">
|
||||
<property name="text">
|
||||
<string>Answer Caller</string>
|
||||
<string>dB</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -1144,6 +1123,27 @@ p, li { white-space: pre-wrap; }
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="QPushButton" name="pbAnswerCQ">
|
||||
<property name="text">
|
||||
<string>Grid</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="1">
|
||||
<widget class="QPushButton" name="pbSendReport">
|
||||
<property name="text">
|
||||
<string>R+dB</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="1">
|
||||
<widget class="QPushButton" name="pbSend73">
|
||||
<property name="text">
|
||||
<string>73</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
@ -2859,11 +2859,8 @@ p, li { white-space: pre-wrap; }
|
||||
<tabstop>pbCallCQ</tabstop>
|
||||
<tabstop>pbAnswerCaller</tabstop>
|
||||
<tabstop>pbSendRRR</tabstop>
|
||||
<tabstop>pbSend73</tabstop>
|
||||
<tabstop>genMsg</tabstop>
|
||||
<tabstop>freeTextMsg</tabstop>
|
||||
<tabstop>pbAnswerCQ</tabstop>
|
||||
<tabstop>pbSendReport</tabstop>
|
||||
<tabstop>rbGenMsg</tabstop>
|
||||
<tabstop>rbFreeText</tabstop>
|
||||
<tabstop>genStdMsgsPushButton</tabstop>
|
||||
|
Loading…
Reference in New Issue
Block a user