mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 21:54:55 -04:00
Massive UI revamping (v7): updated basic channel settings and indicate stream index for MIMO device and single stream channel
This commit is contained in:
@@ -63,6 +63,18 @@ void BasicChannelSettingsDialog::setReverseAPIChannelIndex(uint16_t channelIndex
|
||||
ui->reverseAPIChannelIndex->setText(tr("%1").arg(m_reverseAPIChannelIndex));
|
||||
}
|
||||
|
||||
void BasicChannelSettingsDialog::setNumberOfStreams(int numberOfStreams)
|
||||
{
|
||||
ui->streamIndex->setMaximum(numberOfStreams - 1);
|
||||
ui->streamIndex->setEnabled(true);
|
||||
}
|
||||
|
||||
void BasicChannelSettingsDialog::setStreamIndex(int index)
|
||||
{
|
||||
m_streamIndex = index;
|
||||
ui->streamIndex->setValue(index);
|
||||
}
|
||||
|
||||
void BasicChannelSettingsDialog::paintColor()
|
||||
{
|
||||
QPixmap pm(24, 24);
|
||||
@@ -132,6 +144,16 @@ void BasicChannelSettingsDialog::on_reverseAPIChannelIndex_editingFinished()
|
||||
}
|
||||
}
|
||||
|
||||
void BasicChannelSettingsDialog::on_streamIndex_valueChanged(int value)
|
||||
{
|
||||
m_streamIndex = value;
|
||||
}
|
||||
|
||||
void BasicChannelSettingsDialog::on_titleReset_clicked()
|
||||
{
|
||||
ui->title->setText(m_defaultTitle);
|
||||
}
|
||||
|
||||
void BasicChannelSettingsDialog::accept()
|
||||
{
|
||||
m_channelMarker->blockSignals(true);
|
||||
|
||||
Reference in New Issue
Block a user