subsurface/qt-ui
Linus Torvalds cc33ff2fe2 Add a string_to_depth() helper function to match our string_to_weight one
It's currently only used for the setting of the cylinder switching
depth, but now that one should work with user-specified units (so you
can set a max depth in feet even if you use metric, and vice versa).

In the future, if we also make the unit preferences something you can
pass in (with user preferences as a default argument value), we might
want to use this for parsing the XML too, so that we'd honor explicit
units in the XML strings.  But the XML input unit preferences are not
necessarily at all the same as the user preferences, so that does
require us to extend the conversion functions to do possibly explicit
unit preference selection.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-01-08 16:38:52 +08:00
..
css Fix TableWidget ( equipment ones ) on dark scheme. 2013-12-12 03:26:39 +01:00
marble Work around broken Marble on Debian 2013-05-18 09:49:37 -07:00
about.cpp Fix all leak-at-exit from singletons in Subsurface 2013-11-30 09:28:42 -08:00
about.h Make the classes generated by uic be real members of our classes 2013-10-03 12:13:48 -07:00
about.ui Removed another unused text 2013-11-29 12:11:12 -08:00
completionmodels.cpp Fix all leak-at-exit from singletons in Subsurface 2013-11-30 09:28:42 -08:00
completionmodels.h Added a custom widget for tagging dives 2013-11-02 03:37:31 +01:00
csvimportdialog.h Refactoring import to DiveLogImportDialog 2014-01-03 10:30:08 -08:00
divecomputermanagementdialog.cpp Don't check if pointer is valid before deleting it. 2013-12-24 07:24:11 -08:00
divecomputermanagementdialog.h Random white space cleanup 2013-10-15 04:37:31 -07:00
divecomputermanagementdialog.ui Add application icon to dialogs 2013-11-30 12:01:32 -08:00
divelistview.cpp Setting dive as 'current' when restoring selection 2014-01-07 06:19:23 +08:00
divelistview.h Divelogs.de: add a divelist context menu item for upload 2013-12-09 15:51:17 +02:00
divelogimportdialog.cpp Show import dialog only when needed for CSV config 2014-01-08 05:54:20 +08:00
divelogimportdialog.h Show import dialog only when needed for CSV config 2014-01-08 05:54:20 +08:00
divelogimportdialog.ui Show import dialog only when needed for CSV config 2014-01-08 05:54:20 +08:00
diveplanner.cpp use qMakePair helper instead of QPair<int,int> and such. 2013-12-24 07:24:12 -08:00
diveplanner.h Don't use QList if sizeof(item) > void*. 2013-12-24 07:24:11 -08:00
diveplanner.ui Add some limits to the GF's 2013-12-04 15:49:55 -08:00
downloadfromdivecomputer.cpp DownloadFromDCWidget: prevent possible leaks for log/dump files 2014-01-08 05:53:26 +08:00
downloadfromdivecomputer.h Disable DC device node if it is not needed 2013-12-27 11:04:35 -08:00
downloadfromdivecomputer.ui Enable libdivecomputer log or dump from the UI 2013-12-24 16:26:00 -08:00
globe.cpp Small code simplification 2013-12-26 08:42:20 -08:00
globe.h Fixes Setting the dive-location via the map. 2013-12-02 09:44:55 -08:00
graphicsview-common.cpp graphicsview-common.cpp: Add more contrast to certain B/W colors 2013-10-15 04:23:43 -07:00
graphicsview-common.h Use the same line dimensions as the profile, on the planner. 2013-09-16 19:21:13 -03:00
groupedlineedit.cpp Removed obsolete code. 2013-12-20 09:53:04 -08:00
groupedlineedit.h Simplify the code by removing a few options from the if. 2013-12-20 09:53:04 -08:00
kmessagewidget.cpp Added the Message and the Buttons on the Equipment Tab 2013-09-18 23:23:04 -03:00
kmessagewidget.h Random white space cleanup 2013-10-15 04:37:31 -07:00
maintab.cpp Add CaseInsensitivity to all of the completers. 2014-01-07 06:19:04 +08:00
maintab.h Remove nonexisting member from header 2013-12-28 14:55:23 -08:00
maintab.ui Added Keyboard Navigation for the Star Widget 2013-12-20 09:53:05 -08:00
mainwindow.cpp Show import dialog only when needed for CSV config 2014-01-08 05:54:20 +08:00
mainwindow.h Refactoring import to DiveLogImportDialog 2014-01-03 10:30:08 -08:00
mainwindow.ui Rename menu entry for log import 2014-01-03 10:30:09 -08:00
modeldelegates.cpp Copyed the code from Dirk that solved the mac issue on cylinders. 2013-12-12 03:26:39 +01:00
modeldelegates.h Fix TableWidget ( equipment ones ) on dark scheme. 2013-12-12 03:26:39 +01:00
models.cpp Add a string_to_depth() helper function to match our string_to_weight one 2014-01-08 16:38:52 +08:00
models.h Not everything can be done with the diveId 2014-01-07 22:10:41 +08:00
preferences.cpp Make default font setting actually work 2013-12-18 13:38:40 -08:00
preferences.h Added a filter option to the Language Chooser 2013-12-06 11:56:00 -08:00
preferences.ui Update the diffrent units when switching system 2013-12-08 16:18:00 +01:00
printdialog.cpp PrintDialog: reset the progress bar each time the dialog opens 2013-12-04 15:52:21 +02:00
printdialog.h PrintDialog: reset the progress bar each time the dialog opens 2013-12-04 15:52:21 +02:00
printlayout.cpp Get rid of pointers to dive structures in the UI 2014-01-07 12:10:19 +08:00
printlayout.h Don't use QList if sizeof(item) > void*. 2013-12-24 07:24:11 -08:00
printoptions.cpp Print: adjustments to PrintDialog 2013-11-30 18:56:25 +02:00
printoptions.h Make the classes generated by uic be real members of our classes 2013-10-03 12:13:48 -07:00
printoptions.ui Remove more unused windowTitle properties 2013-11-29 11:02:15 -08:00
profilegraphics.cpp Get rid of pointers to dive structures in the UI 2014-01-07 12:10:19 +08:00
profilegraphics.h Get rid of pointers to dive structures in the UI 2014-01-07 12:10:19 +08:00
renumber.ui Renumber dialog should default to start at 1 2013-12-07 06:49:52 -08:00
shifttimes.ui Add application icon to dialogs 2013-11-30 12:01:32 -08:00
simplewidgets.cpp Fix all leak-at-exit from singletons in Subsurface 2013-11-30 09:28:42 -08:00
simplewidgets.h Fix all leak-at-exit from singletons in Subsurface 2013-11-30 09:28:42 -08:00
starwidget.cpp Added Keyboard Navigation for the Star Widget 2013-12-20 09:53:05 -08:00
starwidget.h Added Keyboard Navigation for the Star Widget 2013-12-20 09:53:05 -08:00
subsurfacewebservices.cpp Enable https for Windows binaries 2013-12-28 21:04:07 -08:00
subsurfacewebservices.h Get more descriptive error messages when uploading to divelogs.de 2013-12-20 09:53:05 -08:00
tableview.cpp Fix TableWidget ( equipment ones ) on dark scheme. 2013-12-12 03:26:39 +01:00
tableview.h Partially revert d72c69db7a and fix its errors 2013-11-13 11:58:47 +09:00
tableview.ui Remove more unused windowTitle properties 2013-11-29 11:02:15 -08:00
tagwidget.cpp Do not New / Delete the item, use the Stack. 2013-12-20 09:53:04 -08:00
tagwidget.h Fix the inconsistent behaviour of QCompleter 2013-11-02 17:10:34 +01:00
webservices.ui Webservices: make the dialog title more generic 2013-12-10 05:52:26 +01:00