subsurface/qt-ui
Dirk Hohndel 29b242c703 Converting the device_info list into a Qt data structure
This data structure was quite fragile and made 'undo' when editing
rather hard to implement. So instead I decided to turn this into a
QMultiMap which seemed like the ideal data structure for it.

This map holds all the dive computer related data indexed by the model. As
QMultiMap it allows multiple entries per key (model string) and
disambiguates between them with the deviceId.

This commit turned out much larger than I wanted. But I didn't manage to
find a clean way to break it up and make the pieces make sense.

So this brings back the Ok / Cancel button for the dive computer edit
dialog. And it makes those two buttons actually do the right thing (which
is what started this whole process). For this to work we simply copy the
map to a working copy and do all edits on that one - and then copy that
over the 'real' map when we accept the changes.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-06-18 00:24:28 -07:00
..
marble Work around broken Marble on Debian 2013-05-18 09:49:37 -07:00
divecomputermanagementdialog.cpp Converting the device_info list into a Qt data structure 2013-06-18 00:24:28 -07:00
divecomputermanagementdialog.h Converting the device_info list into a Qt data structure 2013-06-18 00:24:28 -07:00
divecomputermanagementdialog.ui Converting the device_info list into a Qt data structure 2013-06-18 00:24:28 -07:00
divelistview.cpp Show & edit trip location and notes when exactly one trip is selected 2013-06-14 09:20:20 -07:00
divelistview.h Show & edit trip location and notes when exactly one trip is selected 2013-06-14 09:20:20 -07:00
downloadfromdivecomputer.cpp Properly initialize device_data_t when downloading 2013-06-16 21:17:35 -07:00
downloadfromdivecomputer.h Fixed running the Download dialog multiple times 2013-05-30 18:21:08 +09:00
downloadfromdivecomputer.ui Change title of dive download form 2013-06-12 07:27:58 -04:00
globe.cpp Fix compile: mixup of GeoDataCoordinates and GeoDataPoint 2013-06-07 22:06:46 -07:00
globe.h Get single click on the map widget in a callback for further processing 2013-06-05 14:44:12 +09:00
kmessagewidget.cpp Fixed the 'click in close doesn't close' on KMessageWidget. 2013-05-22 08:10:02 -03:00
kmessagewidget.h Compile fix 2013-05-17 22:27:50 -07:00
maintab.cpp Save / Restore the sizes of the columns in Cylinders / Weigth widgets 2013-06-16 14:36:23 -03:00
maintab.h Save / Restore the sizes of the columns in Cylinders / Weigth widgets 2013-06-16 14:36:23 -03:00
maintab.ui Removed the grid lines of the table views. 2013-06-16 13:53:56 -03:00
mainwindow.cpp Converting the device_info list into a Qt data structure 2013-06-18 00:24:28 -07:00
mainwindow.h Fixed the show / hide dialog shortcuts to take the splitter into consideration 2013-06-12 15:54:55 -03:00
mainwindow.ui Merge branch 'linusDiveList' of https://github.com/tcanabrava/subsurface 2013-06-13 19:56:36 +02:00
modeldelegates.cpp Better handling of default sizes on the Cylinder and Weight widgets 2013-06-16 12:33:27 -03:00
modeldelegates.h Better handling of default sizes on the Cylinder and Weight widgets 2013-06-16 12:33:27 -03:00
models.cpp Converting the device_info list into a Qt data structure 2013-06-18 00:24:28 -07:00
models.h Converting the device_info list into a Qt data structure 2013-06-18 00:24:28 -07:00
plotareascene.cpp Add Qtr_ macros that uses gettext in a tr() compatible manner 2013-04-13 20:44:02 -07:00
plotareascene.h Add Qtr_ macros that uses gettext in a tr() compatible manner 2013-04-13 20:44:02 -07:00
preferences.cpp Explicitly store UI values to prefs 2013-06-04 06:29:33 +09:00
preferences.h Tie all the pieces together and make Preferences work as intended 2013-06-03 21:08:49 +09:00
preferences.ui Correctly implement Metric / Imperial / Personalize preference 2013-06-02 19:52:18 +09:00
profilegraphics.cpp Converting the device_info list into a Qt data structure 2013-06-18 00:24:28 -07:00
profilegraphics.h Plot cleanup 2013-06-14 14:34:44 +02:00
renumber.ui add forgotten file. 2013-06-17 13:54:50 -03:00
simplewidgets.cpp Addes a simple 'Renumber Dialog', very similar to the GTK one. 2013-06-17 13:41:00 -03:00
simplewidgets.h Addes a simple 'Renumber Dialog', very similar to the GTK one. 2013-06-17 13:41:00 -03:00
starwidget.cpp The never ending, futile fight for whitespace consistency 2013-05-22 21:31:45 -07:00
starwidget.h Added option to edit the selected dive. 2013-05-18 17:06:48 -07:00
subsurfacewebservices.cpp Fix webservice download dialog 2013-06-08 21:11:07 -07:00
subsurfacewebservices.h Hoocked up the buttons and the parsing of the XML. 2013-06-06 11:31:55 -03:00
subsurfacewebservices.ui Hoocked up the buttons and the parsing of the XML. 2013-06-06 11:31:55 -03:00