subsurface/qt-ui
Dirk Hohndel 904c20feef Use the default cylinder if defined
With this every cylinder downloaded from a divecomputer that doesn't
provide cylinder data, and every cylinder manually added anywhere will
default to the default cylinder that is set in the preferences.

For people who most of the time dive with the same equipment (always on
dive boats with AL80, or almost always diving their personal HP119) this
should be a nice improvement.

If you don't like this behavior, simply leave the default cylinder setting
in the preferences empty.

This commit also fixes the incorrect s->value call (should be
s->setValue). I wonder what this did to the default filename before...

Fixes #145

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-11-23 22:01:11 -08:00
..
css Added missing CSS file. 2013-09-02 05:57:08 -03:00
marble Work around broken Marble on Debian 2013-05-18 09:49:37 -07:00
about.cpp Remove the "in C" part about Subsurface's description 2013-10-17 20:28:22 -07: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 About: improve dialog layout 2013-07-11 09:22:20 -03:00
completionmodels.cpp Added a custom widget for tagging dives 2013-11-02 03:37:31 +01:00
completionmodels.h Added a custom widget for tagging dives 2013-11-02 03:37:31 +01:00
csvimportdialog.cpp Add optional support for stopdepth import from csv 2013-11-21 15:54:28 -08:00
csvimportdialog.h Add optional support for stopdepth import from csv 2013-11-21 15:54:28 -08:00
csvimportdialog.ui Add optional support for stopdepth import from csv 2013-11-21 15:54:28 -08:00
divecomputermanagementdialog.cpp Work around QMessageBox not showing its title on Mac 2013-11-21 04:23:10 -08:00
divecomputermanagementdialog.h Random white space cleanup 2013-10-15 04:37:31 -07:00
divecomputermanagementdialog.ui Converting the device_info list into a Qt data structure 2013-06-18 00:24:28 -07:00
divelistview.cpp Clear selected trips after restoring selection 2013-11-19 06:05:43 -08:00
divelistview.h Shift times of selected dives 2013-11-18 10:03:45 -08:00
diveplanner.cpp Work around QMessageBox not showing its title on Mac 2013-11-21 04:23:10 -08:00
diveplanner.h Enable gas selection through a context menu 2013-11-19 15:41:34 -08:00
diveplanner.ui Planner: Make cylinder and time/depth boxes scale 2013-11-16 08:02:40 -08:00
downloadfromdivecomputer.cpp Work around QMessageBox not showing its title on Mac 2013-11-21 04:23:10 -08:00
downloadfromdivecomputer.h Make the classes generated by uic be real members of our classes 2013-10-03 12:13:48 -07:00
downloadfromdivecomputer.ui implement device probe in C 2013-09-16 22:40:47 -03:00
globe.cpp Hide everything 'floatable' by default on the globe. 2013-11-22 07:40:56 -08:00
globe.h Disables zooming by double click and context menu on marble. 2013-11-22 07:40:32 -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 Work around QPlainTextEdit / QPainter bug on Mac 2013-11-22 09:44:28 -08:00
groupedlineedit.h Corrected indentation, added license/copyright 2013-11-02 17:10:30 +01: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 Fix a couple of warnings 2013-11-21 15:50:56 -08:00
maintab.h Trigger redraw of the Dive Info pane on preferences change 2013-11-19 23:08:20 -08:00
maintab.ui Fix typo 2013-11-21 08:11:40 -08:00
mainwindow.cpp Create a text entry for default cylinder in preferences 2013-11-23 22:01:11 -08:00
mainwindow.h Good deal of code Cleanup. 2013-11-15 09:13:58 +09:00
mainwindow.ui Get rid of the planner 2013-11-15 11:39:59 -08:00
modeldelegates.cpp Hack to make tank selection work on Mac 2013-11-21 08:08:04 -08:00
modeldelegates.h Fixed the Tab behavior on the QCombobox Delegate 2013-10-15 09:49:12 -07:00
models.cpp Small code cleanup on the CylindersModel 2013-11-22 07:35:03 -08:00
models.h Make it posible to renumber dives. 2013-11-18 16:53:16 -08: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 Use the default cylinder if defined 2013-11-23 22:01:11 -08:00
preferences.h Added a configuration option to have gf_low apply at max depth instead of at deepest ceiling. 2013-11-21 08:11:40 -08:00
preferences.ui Create a text entry for default cylinder in preferences 2013-11-23 22:01:11 -08:00
printdialog.cpp printdialog: Remove the pre-set DPI and some comments 2013-10-15 04:24:15 -07:00
printdialog.h Print: add a print preview for testing purposes 2013-07-10 19:27:10 +03:00
printlayout.cpp Prettier printing 2013-10-16 07:02:06 -07:00
printlayout.h printlayout.cpp: Remove convertPixmapToGrayscale() 2013-10-15 04:24:27 -07:00
printoptions.cpp Make the classes generated by uic be real members of our classes 2013-10-03 12:13:48 -07: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 Print: correct tab order in the options widget 2013-07-10 10:50:33 +03:00
profilegraphics.cpp Cleanup and bugfix gaschange event printing 2013-11-21 15:54:34 -08:00
profilegraphics.h Enable the 'Remove Event' callback. 2013-11-19 17:58:18 -08:00
renumber.ui Make the renumbering of dives accept numbers up to 99999 2013-10-01 09:47:33 -07:00
shifttimes.ui Improve shift time functionality 2013-11-18 10:03:55 -08:00
simplewidgets.cpp Improve shift time functionality 2013-11-18 10:03:55 -08:00
simplewidgets.h Shift times of selected dives 2013-11-18 10:03:45 -08:00
starwidget.cpp The never ending, futile fight for whitespace consistency 2013-05-22 21:31:45 -07:00
starwidget.h Consistently use slots / signals 2013-06-19 10:20:56 -07:00
subsurfacewebservices.cpp Minimum hooking-up done, divelogs.de shows on menu-activation. 2013-10-24 23:02:59 -02:00
subsurfacewebservices.h Added the skeleton for the Download / Upload from Divelogs.de 2013-10-24 22:52:11 -02:00
tableview.cpp Fixes the correct sizes of the tables when first open. 2013-11-22 07:32:53 -08:00
tableview.h Partially revert d72c69db7a and fix its errors 2013-11-13 11:58:47 +09:00
tableview.ui Fix the positioning of the add button when on Gtk style 2013-09-26 20:35:30 -03:00
tagwidget.cpp Remove debug output left in the previous commit by mistake 2013-11-07 16:32:23 +09:00
tagwidget.h Fix the inconsistent behaviour of QCompleter 2013-11-02 17:10:34 +01:00
webservices.ui Created a 'WebService' dialog that will handle download and upload. 2013-10-24 22:30:21 -02:00