mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 21:58:38 -05:00
1. New buttons to set Txfreq=RxFreq and RxFreq=TxFreq.
2. Don't change Tx5 message when rpt spinner is activated. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3207 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
f60c6f8f60
commit
074ad83c28
@ -300,6 +300,7 @@ MainWindow::MainWindow(QSharedMemory *shdmem, QWidget *parent) :
|
||||
|
||||
ui->label_9->setStyleSheet("QLabel{background-color: #aabec8}");
|
||||
ui->label_10->setStyleSheet("QLabel{background-color: #aabec8}");
|
||||
// ui->frame->hide();
|
||||
} // End of MainWindow constructor
|
||||
|
||||
//--------------------------------------------------- MainWindow destructor
|
||||
@ -2540,7 +2541,9 @@ void MainWindow::on_rptSpinBox_valueChanged(int n)
|
||||
{
|
||||
m_rpt=QString::number(n);
|
||||
int ntx0=m_ntx;
|
||||
QString t=ui->tx5->text();
|
||||
genStdMsgs(m_rpt);
|
||||
ui->tx5->setText(t);
|
||||
m_ntx=ntx0;
|
||||
if(m_ntx==1) ui->txrb1->setChecked(true);
|
||||
if(m_ntx==2) ui->txrb2->setChecked(true);
|
||||
@ -2625,3 +2628,14 @@ void MainWindow::on_actionAllow_multiple_instances_triggered(bool checked)
|
||||
{
|
||||
m_bMultipleOK=checked;
|
||||
}
|
||||
|
||||
void MainWindow::on_pbR2T_clicked()
|
||||
{
|
||||
int n=g_pWideGraph->QSOfreq();
|
||||
ui->TxFreqSpinBox->setValue(n);
|
||||
}
|
||||
|
||||
void MainWindow::on_pbT2R_clicked()
|
||||
{
|
||||
g_pWideGraph->setQSOfreq(m_txFreq);
|
||||
}
|
||||
|
@ -155,6 +155,10 @@ private slots:
|
||||
|
||||
void on_actionAllow_multiple_instances_triggered(bool checked);
|
||||
|
||||
void on_pbR2T_clicked();
|
||||
|
||||
void on_pbT2R_clicked();
|
||||
|
||||
private:
|
||||
Ui::MainWindow *ui;
|
||||
|
||||
|
1439
mainwindow.ui
1439
mainwindow.ui
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user