Add Plugins submenu

This commit is contained in:
ITAYC0HEN 2019-02-21 11:08:02 +00:00 committed by Florian Märkl
parent d1f5da9946
commit 3cdc6a5230
2 changed files with 7 additions and 1 deletions

View File

@ -384,7 +384,7 @@ void MainWindow::addPluginDockWidget(QDockWidget *dockWidget, QAction *action)
{ {
addDockWidget(Qt::TopDockWidgetArea, dockWidget); addDockWidget(Qt::TopDockWidgetArea, dockWidget);
addDockWidgetAction(dockWidget, action); addDockWidgetAction(dockWidget, action);
ui->menuWindows->addAction(action); ui->menuPlugins->addAction(action);
tabifyDockWidget(dashboardDock, dockWidget); tabifyDockWidget(dashboardDock, dockWidget);
updateDockActionChecked(action); updateDockActionChecked(action);
} }

View File

@ -160,6 +160,11 @@ QToolTip {
<addaction name="actionExtraGraph"/> <addaction name="actionExtraGraph"/>
<addaction name="actionExtraHexdump"/> <addaction name="actionExtraHexdump"/>
</widget> </widget>
<widget class="QMenu" name="menuPlugins">
<property name="title">
<string>Plugins</string>
</property>
</widget>
<widget class="QMenu" name="menuAddInfoWidgets"> <widget class="QMenu" name="menuAddInfoWidgets">
<property name="title"> <property name="title">
<string>Info...</string> <string>Info...</string>
@ -211,6 +216,7 @@ QToolTip {
<addaction name="actionJupyter"/> <addaction name="actionJupyter"/>
<addaction name="separator"/> <addaction name="separator"/>
<addaction name="menuAddExtraWidget"/> <addaction name="menuAddExtraWidget"/>
<addaction name="menuPlugins"/>
</widget> </widget>
<widget class="QMenu" name="menuDebug"> <widget class="QMenu" name="menuDebug">
<property name="title"> <property name="title">