mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-25 17:28:50 -05:00
Implemented multiple Feature Sets in GUI
This commit is contained in:
parent
e2286cc741
commit
96cf34591a
@ -2213,6 +2213,18 @@ void MainWindow::on_action_removeLastDevice_triggered()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void MainWindow::on_action_addFeatureSet_triggered()
|
||||||
|
{
|
||||||
|
addFeatureSet();
|
||||||
|
}
|
||||||
|
|
||||||
|
void MainWindow::on_action_removeLastFeatureSet_triggered()
|
||||||
|
{
|
||||||
|
if (m_featureUIs.size() > 1) {
|
||||||
|
removeFeatureSet(m_featureUIs.size() - 1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void MainWindow::tabInputViewIndexChanged()
|
void MainWindow::tabInputViewIndexChanged()
|
||||||
{
|
{
|
||||||
int inputViewIndex = ui->tabInputsView->currentIndex();
|
int inputViewIndex = ui->tabInputsView->currentIndex();
|
||||||
|
@ -186,6 +186,8 @@ private slots:
|
|||||||
void on_action_addSinkDevice_triggered();
|
void on_action_addSinkDevice_triggered();
|
||||||
void on_action_addMIMODevice_triggered();
|
void on_action_addMIMODevice_triggered();
|
||||||
void on_action_removeLastDevice_triggered();
|
void on_action_removeLastDevice_triggered();
|
||||||
|
void on_action_addFeatureSet_triggered();
|
||||||
|
void on_action_removeLastFeatureSet_triggered();
|
||||||
void tabInputViewIndexChanged();
|
void tabInputViewIndexChanged();
|
||||||
void tabChannelsIndexChanged();
|
void tabChannelsIndexChanged();
|
||||||
void commandKeyPressed(Qt::Key key, Qt::KeyboardModifiers keyModifiers, bool release);
|
void commandKeyPressed(Qt::Key key, Qt::KeyboardModifiers keyModifiers, bool release);
|
||||||
|
@ -130,9 +130,17 @@
|
|||||||
<addaction name="action_LimeRFE"/>
|
<addaction name="action_LimeRFE"/>
|
||||||
<addaction name="menuDevices"/>
|
<addaction name="menuDevices"/>
|
||||||
</widget>
|
</widget>
|
||||||
|
<widget class="QMenu" name="menuFeatureSets">
|
||||||
|
<property name="title">
|
||||||
|
<string>F&eatureSets</string>
|
||||||
|
</property>
|
||||||
|
<addaction name="action_addFeatureSet"/>
|
||||||
|
<addaction name="action_removeLastFeatureSet"/>
|
||||||
|
</widget>
|
||||||
<addaction name="menu_File"/>
|
<addaction name="menu_File"/>
|
||||||
<addaction name="menu_View"/>
|
<addaction name="menu_View"/>
|
||||||
<addaction name="menu_Devices"/>
|
<addaction name="menu_Devices"/>
|
||||||
|
<addaction name="menuFeatureSets"/>
|
||||||
<addaction name="menu_Window"/>
|
<addaction name="menu_Window"/>
|
||||||
<addaction name="menuPreferences"/>
|
<addaction name="menuPreferences"/>
|
||||||
<addaction name="menu_Help"/>
|
<addaction name="menu_Help"/>
|
||||||
@ -940,6 +948,30 @@
|
|||||||
<string>LimeRFE</string>
|
<string>LimeRFE</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
|
<action name="action_addFeatureSet">
|
||||||
|
<property name="text">
|
||||||
|
<string>Add feature set</string>
|
||||||
|
</property>
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<family>Liberation Sans</family>
|
||||||
|
<pointsize>9</pointsize>
|
||||||
|
<weight>50</weight>
|
||||||
|
<bold>false</bold>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
|
</action>
|
||||||
|
<action name="action_removeLastFeatureSet">
|
||||||
|
<property name="text">
|
||||||
|
<string>Remove last feature set</string>
|
||||||
|
</property>
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<family>Liberation Sans</family>
|
||||||
|
<pointsize>9</pointsize>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
|
</action>
|
||||||
<zorder>presetDock</zorder>
|
<zorder>presetDock</zorder>
|
||||||
<zorder>channelDock</zorder>
|
<zorder>channelDock</zorder>
|
||||||
<zorder>commandsDock</zorder>
|
<zorder>commandsDock</zorder>
|
||||||
|
Loading…
Reference in New Issue
Block a user