mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add GUI support for exporting in CSV format
This patch adds an item to File menu to export all dives in CSV format. Naturally this includes also the code to perform the export. Fixes #434 Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
2b559225d6
commit
f6be4ccf22
7 changed files with 47 additions and 28 deletions
|
@ -294,14 +294,14 @@
|
|||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="7" column="0">
|
||||
<widget class="QToolButton" name="profHR">
|
||||
<property name="toolTip">
|
||||
<string>Show/hide heart rate</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>...</string>
|
||||
</property>
|
||||
<item row="7" column="0">
|
||||
<widget class="QToolButton" name="profHR">
|
||||
<property name="toolTip">
|
||||
<string>Show/hide heart rate</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>...</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="../subsurface.qrc">
|
||||
<normaloff>:/icon_HR</normaloff>:/icon_HR</iconset>
|
||||
|
@ -312,14 +312,14 @@
|
|||
<height>24</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="autoRaise">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="autoRaise">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="8" column="0">
|
||||
<widget class="QToolButton" name="profMod">
|
||||
<property name="toolTip">
|
||||
|
@ -475,7 +475,7 @@
|
|||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</item>
|
||||
<item row="0" column="1" rowspan="15">
|
||||
<widget class="ProfileWidget2" name="newProfile"/>
|
||||
</item>
|
||||
|
@ -577,6 +577,7 @@
|
|||
<addaction name="separator"/>
|
||||
<addaction name="actionClose"/>
|
||||
<addaction name="actionExportUDDF"/>
|
||||
<addaction name="actionExport_CSV"/>
|
||||
<addaction name="actionExportHTMLworldmap"/>
|
||||
<addaction name="actionPrint"/>
|
||||
<addaction name="actionPreferences"/>
|
||||
|
@ -709,7 +710,7 @@
|
|||
<string>Ctrl+U</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionExportHTMLworldmap">
|
||||
<action name="actionExportHTMLworldmap">
|
||||
<property name="text">
|
||||
<string>Export HTML World Map</string>
|
||||
</property>
|
||||
|
@ -945,6 +946,11 @@
|
|||
<string>&Check for Updates</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionExport_CSV">
|
||||
<property name="text">
|
||||
<string>Export CSV</string>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue