Commit dcfb3625 authored by luyikei's avatar luyikei

Add separators to the view menu

parent a8a77e45
......@@ -759,7 +759,7 @@ MainWindow::on_actionFullscreen_triggered( bool checked )
void
MainWindow::registerWidgetInWindowMenu( QDockWidget* widget )
{
m_ui.menuView->insertAction( m_ui.actionFullscreen, widget->toggleViewAction() );
m_ui.menuView->insertAction( m_ui.widgetsSeparator, widget->toggleViewAction() );
}
void
......
......@@ -77,7 +77,11 @@
</property>
<addaction name="actionToolbar"/>
<addaction name="actionStatusbar"/>
<addaction name="widgetsSeparator"/>
<addaction name="separator"/>
<addaction name="actionFullscreen"/>
<addaction name="separator"/>
<addaction name="actionLock"/>
</widget>
<widget class="QMenu" name="menuTools">
<property name="title">
......@@ -384,6 +388,14 @@
<string>Lock</string>
</property>
</action>
<action name="widgetsSeparator">
<property name="text">
<string>widgetsSeparator</string>
</property>
<property name="visible">
<bool>false</bool>
</property>
</action>
</widget>
<resources>
<include location="../../../resources.qrc"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment