mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-08 00:44:48 -04:00
Tx ph.1: plugins: return Rx channels control to Plugin Manager
This commit is contained in:
@@ -44,28 +44,12 @@ QPushButton *SamplingDeviceControl::getDeviceSelectionConfirm()
|
||||
return ui->deviceConfirm;
|
||||
}
|
||||
|
||||
void SamplingDeviceControl::populateChannelSelector()
|
||||
QComboBox *SamplingDeviceControl::getChannelSelector()
|
||||
{
|
||||
if (m_pluginManager)
|
||||
{
|
||||
m_pluginManager->populateRxChannelComboBox(ui->channelSelect);
|
||||
}
|
||||
return ui->channelSelect;
|
||||
}
|
||||
|
||||
//void SamplingDeviceControl::on_showLoadedPlugins_clicked(bool checked)
|
||||
//{
|
||||
// if (m_pluginManager)
|
||||
// {
|
||||
// PluginsDialog pluginsDialog(m_pluginManager, this);
|
||||
// pluginsDialog.exec();
|
||||
// }
|
||||
//}
|
||||
|
||||
void SamplingDeviceControl::on_addChannel_clicked(bool checked)
|
||||
QPushButton *SamplingDeviceControl::getAddChannelButton()
|
||||
{
|
||||
if (m_pluginManager)
|
||||
{
|
||||
m_pluginManager->createRxChannelInstance(ui->channelSelect->currentIndex(), m_deviceAPI);
|
||||
}
|
||||
return ui->addChannel;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user