Gray-out the "Polling interval" control if CAT is not enabled.

UPdate Makefile.MinGW.
Much work new on User's Guide.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3251 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2013-05-02 16:19:26 +00:00
parent 6de60e93bf
commit 0a3398a93e
4 changed files with 6 additions and 3 deletions

Binary file not shown.

View File

@ -159,6 +159,7 @@ void DevSetup::initDlg()
ui.cbDTRoff->setEnabled(m_catEnabled);
ui.rbData->setEnabled(m_catEnabled);
ui.rbMic->setEnabled(m_catEnabled);
ui.pollSpinBox->setEnabled(m_catEnabled);
bool b=m_pttMethodIndex==1 or m_pttMethodIndex==2 or m_catEnabled;
ui.testPTTButton->setEnabled(b);
ui.rigComboBox->setCurrentIndex(m_rigIndex);
@ -362,6 +363,7 @@ void DevSetup::on_cbEnableCAT_toggled(bool b)
ui.cbDTRoff->setEnabled(b);
ui.rbData->setEnabled(b);
ui.rbMic->setEnabled(b);
ui.pollSpinBox->setEnabled(m_catEnabled);
bool b2=(m_pttMethodIndex==1 or m_pttMethodIndex==2 or m_catEnabled) and
!(m_pttMethodIndex==3);
ui.testPTTButton->setEnabled(b2);

View File

@ -90,6 +90,9 @@ genjt9.o: genjt9.f90 jt9sync.f90
redsync.o: redsync.f90 jt9sync.f90
$(FC) $(FFLAGS) -c redsync.f90
unpackmsg.o: unpackmsg.f90
$(FC) -c -O0 -fbounds-check -Wall -Wno-precision-loss unpackmsg.f90
ipcomm.o: ipcomm.cpp
g++ -c $(INCPATH) ipcomm.cpp

View File

@ -273,7 +273,6 @@ MainWindow::MainWindow(QSharedMemory *shdmem, QWidget *parent) :
ui->decodedTextLabel->setFont(ui->decodedTextBrowser->font());
ui->decodedTextLabel2->setFont(ui->decodedTextBrowser2->font());
// 2022 0 0.1 1446 W5NZ EA6BB JM19
t="UTC dB DT Freq Message";
ui->decodedTextLabel->setText(t);
ui->decodedTextLabel2->setText(t);
@ -2781,7 +2780,6 @@ void MainWindow::rigOpen()
rig->setConf("rts_state","OFF");
rig->setConf("dtr_state","OFF");
}
ret=rig->open();
if(ret==RIG_OK) {
m_bRigOpen=true;