mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-07-31 13:12:30 -04:00
Starting to remove Band Map window.
This commit is contained in:
parent
adc04fd71e
commit
de841889b5
@ -46,7 +46,6 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||||||
m_appDir {QApplication::applicationDirPath ()},
|
m_appDir {QApplication::applicationDirPath ()},
|
||||||
m_settings_filename {m_appDir + "/map65.ini"},
|
m_settings_filename {m_appDir + "/map65.ini"},
|
||||||
m_astro_window {new Astro {m_settings_filename}},
|
m_astro_window {new Astro {m_settings_filename}},
|
||||||
m_band_map_window {new BandMap {m_settings_filename}},
|
|
||||||
m_wide_graph_window {new WideGraph {m_settings_filename}},
|
m_wide_graph_window {new WideGraph {m_settings_filename}},
|
||||||
m_gui_timer {new QTimer {this}}
|
m_gui_timer {new QTimer {this}}
|
||||||
{
|
{
|
||||||
@ -224,8 +223,8 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||||||
|
|
||||||
on_actionAstro_Data_triggered(); //Create the other windows
|
on_actionAstro_Data_triggered(); //Create the other windows
|
||||||
on_actionWide_Waterfall_triggered();
|
on_actionWide_Waterfall_triggered();
|
||||||
on_actionBand_Map_triggered();
|
// on_actionBand_Map_triggered();
|
||||||
m_band_map_window->setColors(m_colors);
|
// m_band_map_window->setColors(m_colors);
|
||||||
if (m_astro_window) m_astro_window->setFontSize (m_astroFont);
|
if (m_astro_window) m_astro_window->setFontSize (m_astroFont);
|
||||||
|
|
||||||
if(m_modeQ65==0) on_actionNoQ65_triggered();
|
if(m_modeQ65==0) on_actionNoQ65_triggered();
|
||||||
@ -723,7 +722,7 @@ void MainWindow::on_actionDeviceSetup_triggered() //Setup Dialog
|
|||||||
m_initIQplus=dlg.m_initIQplus;
|
m_initIQplus=dlg.m_initIQplus;
|
||||||
m_bIQxt=dlg.m_bIQxt;
|
m_bIQxt=dlg.m_bIQxt;
|
||||||
m_colors=dlg.m_colors;
|
m_colors=dlg.m_colors;
|
||||||
m_band_map_window->setColors(m_colors);
|
// m_band_map_window->setColors(m_colors);
|
||||||
m_cal570=dlg.m_cal570;
|
m_cal570=dlg.m_cal570;
|
||||||
m_TxOffset=dlg.m_TxOffset;
|
m_TxOffset=dlg.m_TxOffset;
|
||||||
m_mult570Tx=dlg.m_mult570Tx;
|
m_mult570Tx=dlg.m_mult570Tx;
|
||||||
@ -969,7 +968,7 @@ void MainWindow::closeEvent (QCloseEvent * e)
|
|||||||
quitFile.remove();
|
quitFile.remove();
|
||||||
mem_m65.detach();
|
mem_m65.detach();
|
||||||
if (m_astro_window) m_astro_window->close ();
|
if (m_astro_window) m_astro_window->close ();
|
||||||
if (m_band_map_window) m_band_map_window->close ();
|
// if (m_band_map_window) m_band_map_window->close ();
|
||||||
if (m_wide_graph_window) m_wide_graph_window->close ();
|
if (m_wide_graph_window) m_wide_graph_window->close ();
|
||||||
QMainWindow::closeEvent (e);
|
QMainWindow::closeEvent (e);
|
||||||
}
|
}
|
||||||
@ -1033,7 +1032,7 @@ void MainWindow::on_actionWide_Waterfall_triggered() //Display Waterfalls
|
|||||||
|
|
||||||
void MainWindow::on_actionBand_Map_triggered() //Display BandMap
|
void MainWindow::on_actionBand_Map_triggered() //Display BandMap
|
||||||
{
|
{
|
||||||
m_band_map_window->show ();
|
// m_band_map_window->show ();
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::on_actionOpen_triggered() //Open File
|
void MainWindow::on_actionOpen_triggered() //Open File
|
||||||
@ -1154,7 +1153,7 @@ void MainWindow::on_actionDelete_all_tf2_files_in_SaveDir_triggered()
|
|||||||
//Clear BandMap and Messages windows
|
//Clear BandMap and Messages windows
|
||||||
void MainWindow::on_actionErase_Band_Map_and_Messages_triggered()
|
void MainWindow::on_actionErase_Band_Map_and_Messages_triggered()
|
||||||
{
|
{
|
||||||
m_band_map_window->setText("");
|
// m_band_map_window->setText("");
|
||||||
m_map65RxLog |= 4;
|
m_map65RxLog |= 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1402,7 +1401,7 @@ void MainWindow::readFromStdout() //readFromStdout
|
|||||||
|
|
||||||
if((t.indexOf("<EarlyFinished>") >= 0) or (t.indexOf("<DecodeFinished>") >= 0)) {
|
if((t.indexOf("<EarlyFinished>") >= 0) or (t.indexOf("<DecodeFinished>") >= 0)) {
|
||||||
if(m_widebandDecode) {
|
if(m_widebandDecode) {
|
||||||
m_band_map_window->setText(m_bandmapText);
|
// m_band_map_window->setText(m_bandmapText);
|
||||||
m_widebandDecode=false;
|
m_widebandDecode=false;
|
||||||
}
|
}
|
||||||
QFile lockFile(m_appDir + "/.lock");
|
QFile lockFile(m_appDir + "/.lock");
|
||||||
@ -1429,7 +1428,7 @@ void MainWindow::readFromStdout() //readFromStdout
|
|||||||
if(n>=30 or t.indexOf("Best-fit")>=0) ui->decodedTextBrowser->append(t.mid(1,n-m-4).trimmed());
|
if(n>=30 or t.indexOf("Best-fit")>=0) ui->decodedTextBrowser->append(t.mid(1,n-m-4).trimmed());
|
||||||
n=ui->decodedTextBrowser->verticalScrollBar()->maximum();
|
n=ui->decodedTextBrowser->verticalScrollBar()->maximum();
|
||||||
ui->decodedTextBrowser->verticalScrollBar()->setValue(n);
|
ui->decodedTextBrowser->verticalScrollBar()->setValue(n);
|
||||||
m_bandmapText="";
|
// m_bandmapText="";
|
||||||
m_widebandDecode=true;
|
m_widebandDecode=true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1443,7 +1442,7 @@ void MainWindow::readFromStdout() //readFromStdout
|
|||||||
} else {
|
} else {
|
||||||
q=q.mid(1,4) + " *" + q.mid(5);
|
q=q.mid(1,4) + " *" + q.mid(5);
|
||||||
}
|
}
|
||||||
m_bandmapText += q;
|
// m_bandmapText += q;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(t.indexOf("=") >= 0) {
|
if(t.indexOf("=") >= 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user