Display a Table with Downloaded Dives on Import from DC and let user choose them.

Tomaz Canabrava tcanabrava at kde.org
Thu Jan 8 06:04:16 PST 2015


Okay,

This is *completely* untested.
the code *makes sense* but I didn't figured out how to test without my dive
computers, so there may be bugs, crashes and a few other things, but it's
an step in the right direction.

my time for subsurrface today is over, but I'll try to get more at night.

all "testable" parts, I'v tested. and no crashes, the code should still
download stuff
from the dive computers and present on the table.
If that crashes, it's probably an off-by-one error, simple to fix.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150108/dd8a0a68/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Added-skeleton-for-the-Dialog-to-show-the-imported-d.patch
Type: text/x-patch
Size: 5151 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150108/dd8a0a68/attachment-0015.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Constructor-rowCount-and-ColumnCount.patch
Type: text/x-patch
Size: 1203 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150108/dd8a0a68/attachment-0016.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-setImportedDivesIndexes-implementation.patch
Type: text/x-patch
Size: 1029 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150108/dd8a0a68/attachment-0017.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Display-the-downloaded-data-for-the-Dives-in-a-table.patch
Type: text/x-patch
Size: 1427 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150108/dd8a0a68/attachment-0018.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-Added-the-check-states.patch
Type: text/x-patch
Size: 2320 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150108/dd8a0a68/attachment-0019.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-Added-the-set-data-method.patch
Type: text/x-patch
Size: 1819 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150108/dd8a0a68/attachment-0020.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-Set-the-item-falgs-so-it-s-possible-to-check-states.patch
Type: text/x-patch
Size: 1720 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150108/dd8a0a68/attachment-0021.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-Fill-the-checked-vector-as-true.patch
Type: text/x-patch
Size: 797 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150108/dd8a0a68/attachment-0022.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0009-Added-a-table-on-the-Import-Dives-from-DC-dialog.patch
Type: text/x-patch
Size: 8961 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150108/dd8a0a68/attachment-0023.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0010-Create-a-button-to-download-the-data-from-DC.patch
Type: text/x-patch
Size: 1695 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150108/dd8a0a68/attachment-0024.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0011-Created-an-on_ok_clicked-that-will-do-the-actuall-pa.patch
Type: text/x-patch
Size: 1742 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150108/dd8a0a68/attachment-0025.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0012-Added-the-method-to-remove-unused-dives-from-the-imp.patch
Type: text/x-patch
Size: 2051 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150108/dd8a0a68/attachment-0026.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0013-Remove-unused-variable.patch
Type: text/x-patch
Size: 918 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150108/dd8a0a68/attachment-0027.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0014-Only-try-to-get-the-dive-list-if-download-was-succes.patch
Type: text/x-patch
Size: 951 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150108/dd8a0a68/attachment-0028.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0015-Fixed-the-name-of-a-button-so-the-download-from-dc-a.patch
Type: text/x-patch
Size: 900 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150108/dd8a0a68/attachment-0029.bin>


More information about the subsurface mailing list