mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-05-29 05:22:25 -04:00
FT8 demod: move messages list to bottom button
This commit is contained in:
parent
09d18ce9a3
commit
9fb41b2e81
@ -214,6 +214,11 @@ void FT8DemodGUI::on_filterIndex_valueChanged(int value)
|
|||||||
applyBandwidths(m_settings.m_filterBank[m_settings.m_filterIndex].m_spanLog2, true); // does applySettings(true)
|
applyBandwidths(m_settings.m_filterBank[m_settings.m_filterIndex].m_spanLog2, true); // does applySettings(true)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void FT8DemodGUI::on_moveToBottom_clicked()
|
||||||
|
{
|
||||||
|
ui->messages->scrollToBottom();
|
||||||
|
}
|
||||||
|
|
||||||
void FT8DemodGUI::on_applyBandPreset_clicked()
|
void FT8DemodGUI::on_applyBandPreset_clicked()
|
||||||
{
|
{
|
||||||
int bandPresetIndex = ui->bandPreset->currentIndex();
|
int bandPresetIndex = ui->bandPreset->currentIndex();
|
||||||
@ -634,6 +639,7 @@ void FT8DemodGUI::makeUIConnections()
|
|||||||
QObject::connect(ui->spanLog2, &QSlider::valueChanged, this, &FT8DemodGUI::on_spanLog2_valueChanged);
|
QObject::connect(ui->spanLog2, &QSlider::valueChanged, this, &FT8DemodGUI::on_spanLog2_valueChanged);
|
||||||
QObject::connect(ui->fftWindow, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &FT8DemodGUI::on_fftWindow_currentIndexChanged);
|
QObject::connect(ui->fftWindow, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &FT8DemodGUI::on_fftWindow_currentIndexChanged);
|
||||||
QObject::connect(ui->filterIndex, &QDial::valueChanged, this, &FT8DemodGUI::on_filterIndex_valueChanged);
|
QObject::connect(ui->filterIndex, &QDial::valueChanged, this, &FT8DemodGUI::on_filterIndex_valueChanged);
|
||||||
|
QObject::connect(ui->moveToBottom, &QPushButton::clicked, this, &FT8DemodGUI::on_moveToBottom_clicked);
|
||||||
QObject::connect(ui->applyBandPreset, &QPushButton::clicked, this, &FT8DemodGUI::on_applyBandPreset_clicked);
|
QObject::connect(ui->applyBandPreset, &QPushButton::clicked, this, &FT8DemodGUI::on_applyBandPreset_clicked);
|
||||||
QObject::connect(ui->clearMessages, &QPushButton::clicked, this, &FT8DemodGUI::on_clearMessages_clicked);
|
QObject::connect(ui->clearMessages, &QPushButton::clicked, this, &FT8DemodGUI::on_clearMessages_clicked);
|
||||||
QObject::connect(ui->recordWav, &ButtonSwitch::toggled, this, &FT8DemodGUI::on_recordWav_toggled);
|
QObject::connect(ui->recordWav, &ButtonSwitch::toggled, this, &FT8DemodGUI::on_recordWav_toggled);
|
||||||
|
@ -127,6 +127,7 @@ private slots:
|
|||||||
void on_spanLog2_valueChanged(int value);
|
void on_spanLog2_valueChanged(int value);
|
||||||
void on_fftWindow_currentIndexChanged(int index);
|
void on_fftWindow_currentIndexChanged(int index);
|
||||||
void on_filterIndex_valueChanged(int value);
|
void on_filterIndex_valueChanged(int value);
|
||||||
|
void on_moveToBottom_clicked();
|
||||||
void on_applyBandPreset_clicked();
|
void on_applyBandPreset_clicked();
|
||||||
void on_clearMessages_clicked();
|
void on_clearMessages_clicked();
|
||||||
void on_recordWav_toggled(bool checked);
|
void on_recordWav_toggled(bool checked);
|
||||||
|
@ -858,6 +858,26 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="moveToBottom">
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>32</width>
|
||||||
|
<height>16777215</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>Move message list to bottom</string>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string/>
|
||||||
|
</property>
|
||||||
|
<property name="icon">
|
||||||
|
<iconset resource="../../../sdrgui/resources/res.qrc">
|
||||||
|
<normaloff>:/arrow_down.png</normaloff>:/arrow_down.png</iconset>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="bandPresetLabel">
|
<widget class="QLabel" name="bandPresetLabel">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user