Skip to content

Commit

Permalink
[needs-docs] Reorganize project menu
Browse files Browse the repository at this point in the history
- 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 9846941
Showing 1 changed file with 28 additions and 20 deletions.
48 changes: 28 additions & 20 deletions src/ui/qgisapp.ui
Original file line number Diff line number Diff line change
Expand Up @@ -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"/>
Expand Down Expand Up @@ -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>
Expand All @@ -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>
Expand All @@ -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">
Expand All @@ -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">
Expand Down Expand Up @@ -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">
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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">
Expand Down Expand Up @@ -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>
Expand All @@ -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>
Expand Down

0 comments on commit 9846941

Please sign in to comment.