1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-17 13:51:47 -05:00

Multi device support: small cleanup

This commit is contained in:
f4exb 2016-05-14 10:38:29 +02:00
parent a4a8b47608
commit 2f9e5ac051
3 changed files with 1 additions and 12 deletions

View File

@ -282,16 +282,6 @@ void MainWindow::removeChannelMarker(ChannelMarker* channelMarker)
m_deviceUIs.back()->m_spectrum->removeChannelMarker(channelMarker); m_deviceUIs.back()->m_spectrum->removeChannelMarker(channelMarker);
} }
//void MainWindow::setInputGUI(QWidget* gui)
//{
// // FIXME: Ceci est un tres tres gros CACA!
// if(m_inputGUI != 0)
// ui->inputDock->widget()->layout()->removeWidget(m_inputGUI);
// if(gui != 0)
// ui->inputDock->widget()->layout()->addWidget(gui);
// m_inputGUI = gui;
//}
void MainWindow::setInputGUI(int deviceTabIndex, QWidget* gui) void MainWindow::setInputGUI(int deviceTabIndex, QWidget* gui)
{ {
qDebug("MainWindow::setInputGUI: count before %d", ui->tabInputsView->count()); qDebug("MainWindow::setInputGUI: count before %d", ui->tabInputsView->count());

View File

@ -78,7 +78,6 @@ public:
void addChannelMarker(ChannelMarker* channelMarker); void addChannelMarker(ChannelMarker* channelMarker);
void removeChannelMarker(ChannelMarker* channelMarker); void removeChannelMarker(ChannelMarker* channelMarker);
// void setInputGUI(QWidget* gui);
void setInputGUI(int deviceTabIndex, QWidget* gui); void setInputGUI(int deviceTabIndex, QWidget* gui);
const QTimer& getMasterTimer() const { return m_masterTimer; } const QTimer& getMasterTimer() const { return m_masterTimer; }

View File

@ -41,8 +41,8 @@ public:
explicit PluginManager(MainWindow* mainWindow, uint deviceTabIndex, DSPDeviceEngine* dspDeviceEngine, GLSpectrum *spectrum, QObject* parent = NULL); explicit PluginManager(MainWindow* mainWindow, uint deviceTabIndex, DSPDeviceEngine* dspDeviceEngine, GLSpectrum *spectrum, QObject* parent = NULL);
~PluginManager(); ~PluginManager();
void loadPlugins();
void loadPlugins();
const Plugins& getPlugins() const { return m_plugins; } const Plugins& getPlugins() const { return m_plugins; }
void registerChannel(const QString& channelName, PluginInterface* plugin, QAction* action); void registerChannel(const QString& channelName, PluginInterface* plugin, QAction* action);