Skip to content
Permalink
Browse files

[needs-docs] Reorganize project menu

- Consistency in action names
- Move import/export actions to a submenu
- Group similar actions together
  • Loading branch information
nyalldawson committed May 11, 2018
1 parent 8f05c4e commit 98469411ce426cf7b1334a87da42f5650b6dc8c8
Showing with 28 additions and 20 deletions.
  1. +28 −20 src/ui/qgisapp.ui
@@ -52,25 +52,33 @@
<string>Open from</string>
</property>
</widget>
<widget class="QMenu" name="menuImport_Export">
<property name="title">
<string>Import/Export</string>
</property>
<addaction name="mActionSaveMapAsImage"/>
<addaction name="mActionSaveMapAsPdf"/>
<addaction name="mActionDxfExport"/>
<addaction name="separator"/>
<addaction name="mActionDwgImport"/>
</widget>
<addaction name="mActionNewProject"/>
<addaction name="mProjectFromTemplateMenu"/>
<addaction name="separator"/>
<addaction name="mActionOpenProject"/>
<addaction name="mProjectFromStorageMenu"/>
<addaction name="mProjectFromTemplateMenu"/>
<addaction name="mRecentProjectsMenu"/>
<addaction name="mActionRevertProject"/>
<addaction name="separator"/>
<addaction name="mActionCloseProject"/>
<addaction name="separator"/>
<addaction name="mActionSaveProject"/>
<addaction name="mActionSaveProjectAs"/>
<addaction name="mProjectToStorageMenu"/>
<addaction name="mActionSaveMapAsImage"/>
<addaction name="mActionSaveMapAsPdf"/>
<addaction name="mActionDxfExport"/>
<addaction name="mActionDwgImport"/>
<addaction name="separator"/>
<addaction name="mActionSnappingOptions"/>
<addaction name="mActionRevertProject"/>
<addaction name="separator"/>
<addaction name="mActionProjectProperties"/>
<addaction name="mActionSnappingOptions"/>
<addaction name="menuImport_Export"/>
<addaction name="separator"/>
<addaction name="mActionNewPrintLayout"/>
<addaction name="mActionNewReport"/>
@@ -692,7 +700,7 @@
<normaloff>:/images/themes/default/mActionFileOpen.svg</normaloff>:/images/themes/default/mActionFileOpen.svg</iconset>
</property>
<property name="text">
<string>&amp;Open...</string>
<string>&amp;Open</string>
</property>
<property name="shortcut">
<string>Ctrl+O</string>
@@ -716,7 +724,7 @@
<normaloff>:/images/themes/default/mActionFileSaveAs.svg</normaloff>:/images/themes/default/mActionFileSaveAs.svg</iconset>
</property>
<property name="text">
<string>Save &amp;As...</string>
<string>Save &amp;As</string>
</property>
<property name="shortcut">
<string>Ctrl+Shift+S</string>
@@ -728,7 +736,7 @@
<normaloff>:/images/themes/default/mActionSaveMapAsImage.svg</normaloff>:/images/themes/default/mActionSaveMapAsImage.svg</iconset>
</property>
<property name="text">
<string>Save Map as &amp;Image...</string>
<string>Save Map as &amp;Image</string>
</property>
</action>
<action name="mActionSaveMapAsPdf">
@@ -737,7 +745,7 @@
<normaloff>:/images/themes/default/mActionSaveAsPDF.svg</normaloff>:/images/themes/default/mActionSaveAsPDF.svg</iconset>
</property>
<property name="text">
<string>Save Map as &amp;PDF...</string>
<string>Save Map as &amp;PDF</string>
</property>
</action>
<action name="mActionNewMapCanvas">
@@ -1022,7 +1030,7 @@
</action>
<action name="mActionSnappingOptions">
<property name="text">
<string>&amp;Snapping Options...</string>
<string>&amp;Snapping Options</string>
</property>
</action>
<action name="mActionPan">
@@ -1677,7 +1685,7 @@
<normaloff>:/images/themes/default/mActionProjectProperties.svg</normaloff>:/images/themes/default/mActionProjectProperties.svg</iconset>
</property>
<property name="text">
<string>&amp;Project Properties...</string>
<string>&amp;Properties</string>
</property>
<property name="shortcut">
<string>Ctrl+Shift+P</string>
@@ -2408,12 +2416,12 @@ Acts on currently active editable layer</string>
</action>
<action name="mActionDxfExport">
<property name="text">
<string>DXF Export...</string>
<string>Export Map to DXF…</string>
</property>
</action>
<action name="mActionDwgImport">
<property name="text">
<string>DWG/DXF Import...</string>
<string>Import Layers from DWG/DXF</string>
</property>
</action>
<action name="mActionFillRing">
@@ -2969,7 +2977,7 @@ Acts on currently active editable layer</string>
<normaloff>:/images/themes/default/mActionNewLayout.svg</normaloff>:/images/themes/default/mActionNewLayout.svg</iconset>
</property>
<property name="text">
<string>New &amp;Print Layout</string>
<string>New &amp;Print Layout</string>
</property>
<property name="toolTip">
<string>New Print Layout</string>
@@ -2984,23 +2992,23 @@ Acts on currently active editable layer</string>
<normaloff>:/images/themes/default/mActionNewReport.svg</normaloff>:/images/themes/default/mActionNewReport.svg</iconset>
</property>
<property name="text">
<string>New &amp;Report</string>
<string>New &amp;Report</string>
</property>
<property name="toolTip">
<string>New Report</string>
</property>
</action>
<action name="mActionCloseProject">
<property name="text">
<string>Close Project</string>
<string>Close</string>
</property>
<property name="toolTip">
<string>Close Project</string>
</property>
</action>
<action name="mActionRevertProject">
<property name="text">
<string>Revert Project…</string>
<string>Revert…</string>
</property>
<property name="toolTip">
<string>Revert Project to Saved version</string>

0 comments on commit 9846941

Please sign in to comment.
You can’t perform that action at this time.