1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-07 16:34:45 -04:00

Multi device support: add channels from device control working concept

This commit is contained in:
f4exb
2016-05-14 18:12:39 +02:00
parent 117f636f1f
commit 58709e0bae
7 changed files with 50 additions and 11 deletions
+17
View File
@@ -38,6 +38,14 @@ QComboBox *SamplingDeviceControl::getDeviceSelector()
return ui->deviceSelect;
}
void SamplingDeviceControl::populateChannelSelector()
{
if (m_pluginManager)
{
m_pluginManager->populateChannelComboBox(ui->channelSelect);
}
}
void SamplingDeviceControl::on_showLoadedPlugins_clicked(bool checked)
{
if (m_pluginManager)
@@ -46,3 +54,12 @@ void SamplingDeviceControl::on_showLoadedPlugins_clicked(bool checked)
pluginsDialog.exec();
}
}
void SamplingDeviceControl::on_addChannel_clicked(bool checked)
{
if (m_pluginManager)
{
m_pluginManager->createChannelInstance(ui->channelSelect->currentIndex());
}
}