mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 18:15:45 -05:00
Multi device support: restored loaded plugins display from the main window
This commit is contained in:
parent
7aa5ca7573
commit
54243fc961
@ -52,14 +52,14 @@ void SamplingDeviceControl::populateChannelSelector()
|
||||
}
|
||||
}
|
||||
|
||||
void SamplingDeviceControl::on_showLoadedPlugins_clicked(bool checked)
|
||||
{
|
||||
if (m_pluginManager)
|
||||
{
|
||||
PluginsDialog pluginsDialog(m_pluginManager, this);
|
||||
pluginsDialog.exec();
|
||||
}
|
||||
}
|
||||
//void SamplingDeviceControl::on_showLoadedPlugins_clicked(bool checked)
|
||||
//{
|
||||
// if (m_pluginManager)
|
||||
// {
|
||||
// PluginsDialog pluginsDialog(m_pluginManager, this);
|
||||
// pluginsDialog.exec();
|
||||
// }
|
||||
//}
|
||||
|
||||
void SamplingDeviceControl::on_addChannel_clicked(bool checked)
|
||||
{
|
||||
|
@ -51,7 +51,7 @@ private:
|
||||
DeviceAPI *m_deviceAPI;
|
||||
|
||||
private slots:
|
||||
void on_showLoadedPlugins_clicked(bool checked);
|
||||
// void on_showLoadedPlugins_clicked(bool checked);
|
||||
void on_addChannel_clicked(bool checked);
|
||||
};
|
||||
|
||||
|
@ -77,25 +77,6 @@
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="channelSelectLabel">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>30</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Chan</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QComboBox" name="channelSelect">
|
||||
<property name="toolTip">
|
||||
@ -129,32 +110,6 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="showLoadedPlugins">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>24</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Show loaded plugins</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="../resources/res.qrc">
|
||||
<normaloff>:/questionmark.png</normaloff>:/questionmark.png</iconset>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
|
@ -610,6 +610,12 @@ void MainWindow::on_presetTree_itemActivated(QTreeWidgetItem *item, int column)
|
||||
on_presetLoad_clicked();
|
||||
}
|
||||
|
||||
void MainWindow::on_action_Loaded_Plugins_triggered()
|
||||
{
|
||||
PluginsDialog pluginsDialog(m_pluginManager, this);
|
||||
pluginsDialog.exec();
|
||||
}
|
||||
|
||||
void MainWindow::on_action_Audio_triggered()
|
||||
{
|
||||
AudioDialog audioDialog(m_audioDeviceInfo, this);
|
||||
|
@ -149,6 +149,7 @@ private slots:
|
||||
void on_action_DV_Serial_triggered(bool checked);
|
||||
void on_sampleSource_currentIndexChanged(int index);
|
||||
void on_sampleSource_confirmClicked(bool checked);
|
||||
void on_action_Loaded_Plugins_triggered();
|
||||
void on_action_About_triggered();
|
||||
void on_action_addDevice_triggered();
|
||||
void on_action_removeDevice_triggered();
|
||||
|
@ -116,6 +116,8 @@
|
||||
<property name="title">
|
||||
<string>&Help</string>
|
||||
</property>
|
||||
<addaction name="action_Loaded_Plugins"/>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="action_About"/>
|
||||
</widget>
|
||||
<widget class="QMenu" name="menu_Window">
|
||||
|
Loading…
Reference in New Issue
Block a user