mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
1ecd5065a0
This allows Subsurface to obtain the coordinates of a dive directly from a GPS track. It parses a GPX file (GPX V1.0 or V1.1) from a GPS to locate the trackpoint immediatedly after the start of a dive. There is an additional "Use GPS file" button in the Edit Dive Site panel that is selected from the Notes tab. Image: This allows one to select a GPX file, bringing up the Import GPS dialog. There is extensive provision for cross-checking that the dive track synchronises with the dive start and end. If the Save button in the dialog is pressed the dive coordinates are copied into the Dive Coordinates text box in the Edit Dive Site panel. The map moves to indicate the location of the dive site. The bulk of the work is done in importgps.cpp. The code is pretty intergrated: I tried to break it up in smaller commits but that was not feasible. The code includes responses to the comments by @neolit123 and @bstoeger. The C-based file input was replaced with Qt-based code using QChar, QString and QFile. [Dirk Hohndel: fixed several small issues in the .ui file, removed various headers includes that weren't needed and fixed printing of minutes as zero padded] Signed-off-by: willemferguson <willemferguson@zoology.up.ac.za> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
112 lines
6.6 KiB
Text
112 lines
6.6 KiB
Text
<RCC>
|
|
<qresource prefix="/">
|
|
<file alias="satellite-icon">icons/satellite.svg</file>
|
|
<file alias="graph-icon">icons/pref_tech.png</file>
|
|
<file alias="hide-icon">icons/go-top.svg</file>
|
|
<file alias="star-icon">icons/star.svg</file>
|
|
<file alias="subsurface-icon">icons/subsurface-icon.png</file>
|
|
<file alias="subsurface-mobile-icon">icons/subsurface-mobile-icon.png</file>
|
|
<file alias="list-add-icon">icons/plus.png</file>
|
|
<file alias="list-remove-icon">icons/trash.png</file>
|
|
<file alias="list-remove-disabled-icon">icons/trash-forbidden.png</file>
|
|
<file alias="units-icon">icons/units.png</file>
|
|
<file alias="advanced-icon">icons/advanced.png</file>
|
|
<file alias="preferences-system-network-icon">icons/network.png</file>
|
|
<file alias="preferences-cloud-icon">icons/pref_cloud.png</file>
|
|
<file alias="preferences-equipment-icon">icons/pref_equipment.png</file>
|
|
<file alias="preferences-media-icon">icons/pref_media.png</file>
|
|
<file alias="preferences-dc-icon">icons/pref_dc.png</file>
|
|
<file alias="preferences-log-icon">icons/pref_log.png</file>
|
|
<file alias="preferences-display-icon">icons/pref_display.png</file>
|
|
<file alias="preferences-reset-icon">icons/pref_reset.png</file>
|
|
<file alias="preferences-reset-warning-icon">icons/warning.png</file>
|
|
<file alias="scale-graph-icon">icons/graph.png</file>
|
|
<file alias="value-minimum-icon">icons/minimum.png</file>
|
|
<file alias="value-maximum-icon">icons/maximum.png</file>
|
|
<file alias="value-average-icon">icons/average.png</file>
|
|
<file alias="duplicate-warning-icon">icons/warning.png</file>
|
|
<file alias="status-warning-icon">icons/warning-icon.png</file>
|
|
<file alias="status-violation-icon">icons/violation-icon.png</file>
|
|
<file alias="status-info-icon">icons/info-icon.png</file>
|
|
<file alias="gaschange-icon">icons/gaschange.png</file>
|
|
<file alias="gaschange-air-icon">icons/Air_change.png</file>
|
|
<file alias="gaschange-ean-icon">icons/Nx_change.png</file>
|
|
<file alias="gaschange-trimix-icon">icons/Tmx_change.png</file>
|
|
<file alias="gaschange-oxygen-icon">icons/Oxy_change.png</file>
|
|
<file alias="gaschange-ICD-icon">icons/gaschangeICD.png</file>
|
|
<file alias="gaschange-air-ICD-icon">icons/Air_changeICD.png</file>
|
|
<file alias="gaschange-ean-ICD-icon">icons/Nx_changeICD.png</file>
|
|
<file alias="gaschange-trimix-ICD-icon">icons/Tmx_changeICD.png</file>
|
|
<file alias="gaschange-oxygen-ICD-icon">icons/Oxy_changeICD.png</file>
|
|
<file alias="onCCRLoop-icon">icons/CCR.png</file>
|
|
<file alias="bailout-icon">icons/OC.png</file>
|
|
<file alias="salinity-warning-icon">icons/bluewarning.png</file>
|
|
<file alias="dive-bookmark-icon">icons/flag.png</file>
|
|
<file alias="scale-icon">icons/scale.png</file>
|
|
<file alias="ruler-icon">icons/ruler.png</file>
|
|
<file alias="poster-icon">icons/poster.png</file>
|
|
<file>xslt/commonTemplates.xsl</file>
|
|
<file>xslt/csv2xml.xslt</file>
|
|
<file>xslt/divelogs-export.xslt</file>
|
|
<file>xslt/divelogs.xslt</file>
|
|
<file>xslt/DivingLog.xslt</file>
|
|
<file>xslt/Mares.xslt</file>
|
|
<file>xslt/jdivelog2subsurface.xslt</file>
|
|
<file>xslt/MacDive.xslt</file>
|
|
<file>xslt/SuuntoDM4.xslt</file>
|
|
<file>xslt/SuuntoSDM.xslt</file>
|
|
<file>xslt/udcf.xslt</file>
|
|
<file>xslt/uddf-export.xslt</file>
|
|
<file>xslt/xml2csv.xslt</file>
|
|
<file>xslt/xml2manualcsv.xslt</file>
|
|
<file>xslt/uddf.xslt</file>
|
|
<file>xslt/sensuscsv.xslt</file>
|
|
<file>xslt/subsurfacecsv.xslt</file>
|
|
<file>xslt/manualcsv2xml.xslt</file>
|
|
<file>xslt/shearwater.xslt</file>
|
|
<file>xslt/DiveLog.xslt</file>
|
|
<file>xslt/av1.xslt</file>
|
|
<file alias="rate-sac-icon">icons/gas.png</file>
|
|
<file alias="depth-mod-icon">icons/mod.png</file>
|
|
<file alias="pp-he-icon">icons/he.png</file>
|
|
<file alias="pp-n2-icon">icons/n2.png</file>
|
|
<file alias="pp-o2-icon">icons/o2.png</file>
|
|
<file alias="ceiling-calculated-icon">icons/ss.png</file>
|
|
<file alias="ceiling-tissues-icon">icons/icon-ceiling-alltissues.png</file>
|
|
<file alias="depth-ndl-icon">icons/limit.png</file>
|
|
<file alias="ceiling-increments-icon">icons/3x3.png</file>
|
|
<file alias="ceiling-dc-icon">icons/pc.png</file>
|
|
<file alias="depth-ead-icon">icons/ead.png</file>
|
|
<file alias="rate-heart-icon">icons/icon-HR.png</file>
|
|
<file alias="heatmap-icon">icons/heatmap.png</file>
|
|
<file alias="photo-icon">icons/pictures.png</file>
|
|
<file>icons/subsurface/index.theme</file>
|
|
<file alias="go-down-icon">icons/subsurface/32x32/actions/go-down.png</file>
|
|
<file alias="go-up-icon">icons/subsurface/32x32/actions/go-up.png</file>
|
|
<file alias="window-close-icon">icons/subsurface/32x32/actions/window-close.png</file>
|
|
<file alias="dc-ostc-2n-icon">icons/ostc2n.png</file>
|
|
<file alias="dc-ostc-3-icon">icons/ostc3.png</file>
|
|
<file alias="dc-ostc-4-icon">icons/ostc4.png</file>
|
|
<file alias="dc-suunto-vyper-icon">icons/suunto_vyper.png</file>
|
|
<file alias="duplicate-geotag-icon">icons/georeference.png</file>
|
|
<file alias="edit-clear-icon">icons/edit-undo.svg</file>
|
|
<file alias="show-icon">icons/go-top.svg</file>
|
|
<file alias="filter-close">icons/process-stop.svg</file>
|
|
<file alias="edit-icon">icons/edit-circled.svg</file>
|
|
<file alias="globe-icon">icons/Emblem-earth.svg</file>
|
|
<file alias="geotag-icon">icons/geocode.svg</file>
|
|
<file alias="photo-in-icon">icons/duringPhoto.png</file>
|
|
<file alias="photo-out-icon">icons/outsidePhoto.png</file>
|
|
<file alias="photo-in-out-icon">icons/inAndOutPhoto.png</file>
|
|
<file alias="preferences-desktop-locale-icon">icons/language.png</file>
|
|
<file alias="preferences-other-icon">icons/defaults.png</file>
|
|
<file alias="camera-icon">icons/camera.svg</file>
|
|
<file alias="video-icon">icons/video.svg</file>
|
|
<file alias="video-overlay">icons/video_overlay.svg</file>
|
|
<file alias="unknown-icon">icons/unknown.svg</file>
|
|
<file alias="tissue-icon">icons/tissue.png</file>
|
|
<file alias="gps_good_result-icon">icons/resultgreen.png</file>
|
|
<file alias="gps_warning_result-icon">icons/resultyellow.png</file>
|
|
<file alias="gps_bad_result-icon">icons/resultred.png</file>
|
|
</qresource>
|
|
</RCC>
|