mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Implementing export dialog
As our menus are getting many export entries, it is better to create a single export dialog where user is able to select the export type and whether to export selected dives or all of them. This should also be more intuitive than the current way when export from file menu export all dives and right click menu on divelist exports only selected dives. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
0b6cbe0f79
commit
7dc642860d
11 changed files with 322 additions and 91 deletions
|
@ -563,7 +563,7 @@
|
|||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1418</width>
|
||||
<height>25</height>
|
||||
<height>29</height>
|
||||
</rect>
|
||||
</property>
|
||||
<widget class="QMenu" name="menuFile">
|
||||
|
@ -576,9 +576,7 @@
|
|||
<addaction name="actionSaveAs"/>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="actionClose"/>
|
||||
<addaction name="actionExportUDDF"/>
|
||||
<addaction name="actionExport_CSV"/>
|
||||
<addaction name="actionExportHTMLworldmap"/>
|
||||
<addaction name="actionExport"/>
|
||||
<addaction name="actionPrint"/>
|
||||
<addaction name="actionPreferences"/>
|
||||
<addaction name="separator"/>
|
||||
|
@ -702,22 +700,6 @@
|
|||
<string>Ctrl+W</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionExportUDDF">
|
||||
<property name="text">
|
||||
<string>Export &UDDF</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+U</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionExportHTMLworldmap">
|
||||
<property name="text">
|
||||
<string>Export HTML World Map</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+H</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionPrint">
|
||||
<property name="text">
|
||||
<string>&Print</string>
|
||||
|
@ -946,9 +928,15 @@
|
|||
<string>&Check for Updates</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionExport_CSV">
|
||||
<action name="actionExport">
|
||||
<property name="text">
|
||||
<string>Export CSV</string>
|
||||
<string>Export</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Export Dive Logs</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+E</string>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue