mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-09-02 13:17:49 -04:00
Clean up what the Erase button does.
This commit is contained in:
parent
00d405137a
commit
d1d92334bd
@ -36,7 +36,7 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||||||
m_gui_timer {new QTimer {this}}
|
m_gui_timer {new QTimer {this}}
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
on_EraseButton_clicked();
|
// ui->decodedTextBrowser->clear();
|
||||||
ui->labUTC->setStyleSheet( \
|
ui->labUTC->setStyleSheet( \
|
||||||
"QLabel { background-color : black; color : yellow; }");
|
"QLabel { background-color : black; color : yellow; }");
|
||||||
ui->labTol1->setStyleSheet( \
|
ui->labTol1->setStyleSheet( \
|
||||||
@ -903,11 +903,8 @@ void MainWindow::decode() //decode()
|
|||||||
|
|
||||||
void MainWindow::on_EraseButton_clicked()
|
void MainWindow::on_EraseButton_clicked()
|
||||||
{
|
{
|
||||||
qint64 ms=QDateTime::currentMSecsSinceEpoch();
|
|
||||||
ui->decodedTextBrowser->clear();
|
ui->decodedTextBrowser->clear();
|
||||||
if((ms-m_msErase)<500) {
|
lab5->clear();
|
||||||
}
|
|
||||||
m_msErase=ms;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -96,7 +96,6 @@ private:
|
|||||||
QScopedPointer<Astro> m_astro_window;
|
QScopedPointer<Astro> m_astro_window;
|
||||||
QScopedPointer<WideGraph> m_wide_graph_window;
|
QScopedPointer<WideGraph> m_wide_graph_window;
|
||||||
QPointer<QTimer> m_gui_timer;
|
QPointer<QTimer> m_gui_timer;
|
||||||
qint64 m_msErase;
|
|
||||||
qint32 m_idInt;
|
qint32 m_idInt;
|
||||||
qint32 m_waterfallAvg;
|
qint32 m_waterfallAvg;
|
||||||
qint32 m_DF;
|
qint32 m_DF;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user