subsurface/qt-ui
Linus Torvalds 9a4cafd0f1 Fix gaschange tooltip information
The code tried to look up the cylinder index from the Qt data models,
which was not only horribly confusing, but was also buggy.  I think the
index ends up being off by one when the first cylinder change is hidden
(because it's at the beginning of the dive), but I can't make heads or
tails of that crazy code, so there might be something else going on.

Just remove all the crazy code, and use the event data directly.  Which
gas the gasmix and the (potential) explicit cylinder index already.
It's much more straightforward, and it just automatically gets the right
end result whether some other event is hidden or not.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-02 22:43:21 -08:00
..
css Fix TableWidget ( equipment ones ) on dark scheme. 2013-12-12 03:26:39 +01:00
marble Resync included header with upstream 2014-01-15 15:49:50 +07:00
profile Fix gaschange tooltip information 2015-01-02 22:43:21 -08:00
statistics Implement the modelDataChanged to repopulate the widget on Statistics 2014-08-25 14:00:38 -07:00
about.cpp Always show the full git version in the about screen 2015-01-01 11:58:04 -08:00
about.h Headers cleanup. 2014-06-26 15:47:02 -07:00
about.ui SubsurfaceAbout class cleanup. 2014-02-08 08:00:27 -08:00
completionmodels.cpp More lists organized alphabetically. 2014-12-12 10:40:42 -08:00
completionmodels.h Put include guard to every header 2014-02-11 12:37:01 -08:00
configuredivecomputerdialog.cpp Add reminder for OSTC Sport to re-enable bluetooth 2014-12-29 16:27:26 -08:00
configuredivecomputerdialog.h Whitespace cleanup 2014-12-28 21:02:28 -08:00
configuredivecomputerdialog.ui Consistent representation of O₂ 2014-11-25 07:57:28 -08:00
divecomponentselection.ui Selective copy: forgot tags in the UI 2014-08-16 18:35:44 -06:00
divecomputermanagementdialog.cpp misc capitalisation and spelling 2014-07-11 07:06:26 -07:00
divecomputermanagementdialog.h Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
divecomputermanagementdialog.ui divecomputermanagementdilog capitalisation consitency 2014-07-10 16:26:20 -07:00
divelistview.cpp Move the Facebook send profile button 2014-12-29 09:05:08 -08:00
divelistview.h Move the Facebook send profile button 2014-12-29 09:05:08 -08:00
divelogexportdialog.cpp Use unit selection for XSL transformation on CSV export 2014-12-31 12:12:20 -08:00
divelogexportdialog.h Add export for depths of images taken 2014-10-10 08:03:45 -04:00
divelogexportdialog.ui Enable and disable unit selection 2014-12-31 12:12:59 -08:00
divelogimportdialog.cpp Change the XSLT to use the duration format instead of "logic" 2014-12-31 08:35:36 -08:00
divelogimportdialog.h Preconfigured import of Subsurface CSV log file 2014-12-26 08:43:43 -08:00
divelogimportdialog.ui GUI change to specify duration on CSV import 2014-12-31 08:35:24 -08:00
divepicturewidget.cpp Hide any pictures shown when closing divelog 2014-12-09 21:16:34 -07:00
divepicturewidget.h Picture handling: cleaning up the mess 2014-08-05 12:37:14 -07:00
diveplanner.cpp Copy all cylinders when (re)planning a dive 2014-12-04 16:27:46 -06:00
diveplanner.h Support different salinity in planner 2014-11-12 14:42:15 -08:00
diveplanner.ui Support different salinity in planner 2014-11-12 14:42:15 -08:00
diveshareexportdialog.cpp Export to DiveShare 2014-10-14 20:33:46 +02:00
diveshareexportdialog.h Export to DiveShare 2014-10-14 20:33:46 +02:00
diveshareexportdialog.ui Two small fixes regarding translation texts 2014-11-10 13:10:50 -08:00
downloadfromdivecomputer.cpp Only check for update after successfull download 2014-12-29 16:27:44 -08:00
downloadfromdivecomputer.h Move OSTC firmware check around a bit 2014-12-27 08:31:51 -08:00
downloadfromdivecomputer.ui Add "download into private trip" dialog checkmark 2014-08-14 22:40:14 -06:00
filtermodels.cpp Don't skip the first tag when filtering 2014-12-09 20:55:31 -07:00
filtermodels.h Remove unused DivesFilteredOut variable 2014-11-16 18:39:29 +00:00
filterwidget.ui Add better icons for the filter dialog 2014-12-31 23:53:28 -08:00
globe.cpp Fix compilation with upstream Marble 2014-12-17 08:09:54 -08:00
globe.h Headers cleanup. 2014-06-26 15:47:02 -07:00
graphicsview-common.cpp Tissue saturation plot a la Sherwater Pretel 2014-09-19 21:46:30 -07:00
graphicsview-common.h Tissue saturation plot a la Sherwater Pretel 2014-09-19 21:46:30 -07:00
groupedlineedit.cpp Enable tag bubble eye candy for Qt5 and Mac 2014-12-23 09:39:05 -08:00
groupedlineedit.h Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
kmessagewidget.cpp 727 fixed 2014-11-17 06:02:21 +00:00
kmessagewidget.h 727 fixed 2014-11-17 06:02:21 +00:00
listfilter.ui Revert "Remove unused strings from ui files" 2014-12-24 10:06:41 -08:00
maintab.cpp Fine tune some spacing 2015-01-02 22:24:50 -08:00
maintab.h Show extra data in separate tab on MainTab 2014-11-07 13:00:58 -08:00
maintab.ui Remove margins from maintab.ui file 2015-01-02 22:24:50 -08:00
mainwindow.cpp Zero out the margins instead of just not changing them 2015-01-02 22:24:51 -08:00
mainwindow.h Added the option of opening User Survey form explicitly 2014-12-17 21:38:04 -08:00
mainwindow.ui Remove all margins from mainwindow.ui file 2015-01-02 22:24:50 -08:00
metrics.cpp Unify icon metrics 2014-10-18 15:16:15 -07:00
metrics.h Unify icon metrics 2014-10-18 15:16:15 -07:00
modeldelegates.cpp Connect TankUseDelegate to its parrent 2014-12-18 08:34:00 -08:00
modeldelegates.h Turn of replotting while the cylinder type combo box is active 2014-12-17 21:33:55 -08:00
models.cpp Free memory returned from get_dive_gas_string 2014-12-18 07:20:25 -08:00
models.h Add the ability to modify the cylinder use in the UI 2014-11-17 14:03:37 +00:00
plannerSettings.ui Correct diveplan as it's dive plan everywhere else in planner 2014-11-25 13:18:29 -08:00
preferences.cpp Remove uneeded Facebook album setting 2014-12-29 09:07:47 -08:00
preferences.h Changed Facebook stuff to socialnetworks.h/cpp 2014-12-24 15:54:28 -08:00
preferences.ui Add Facebook logo to preferences as well 2014-12-29 17:42:58 -08:00
printdialog.cpp Print: support margin saving for older Qt versions 2014-11-14 08:49:53 -08:00
printdialog.h Print: add the support to store margins and printer options 2014-11-13 15:05:11 -08:00
printlayout.cpp Print: add the support to store margins and printer options 2014-11-13 15:05:11 -08:00
printlayout.h Print: add the support to store margins and printer options 2014-11-13 15:05:11 -08:00
printoptions.cpp Print: add the support to store margins and printer options 2014-11-13 15:05:11 -08:00
printoptions.h Print: add the support to store margins and printer options 2014-11-13 15:05:11 -08:00
printoptions.ui Fix the layout on the Print Dialog 2014-08-04 09:50:55 -07:00
renumber.ui Make some dialogs modal to MainWindow 2014-03-12 10:14:17 -07:00
searchbar.ui Add a horizontal spacer to make the searchbar layout better 2014-07-11 17:00:23 -07:00
setpoint.ui A widget to add a set-point change 2014-12-01 14:19:03 -08:00
shiftimagetimes.ui shifimmagetimes capitalisation consitency and title 2014-07-11 07:05:10 -07:00
shifttimes.ui shiftimes capitalisation consitency and title 2014-07-11 07:05:17 -07:00
simplewidgets.cpp Changed Facebook stuff to socialnetworks.h/cpp 2014-12-24 15:54:28 -08:00
simplewidgets.h Changed Facebook stuff to socialnetworks.h/cpp 2014-12-24 15:54:28 -08:00
socialnetworks.cpp Remove unused variable 2014-12-30 07:56:06 -08:00
socialnetworks.h Facebook integration: Album name is required 2014-12-29 11:59:21 -08:00
socialnetworksdialog.ui Facebook integration: improve dialog layout 2014-12-29 11:58:38 -08:00
starwidget.cpp Replace alpha value of gray star with lighter gray 2014-11-04 07:03:54 -08:00
starwidget.h Unify icon metrics 2014-10-18 15:16:15 -07:00
subsurfacewebservices.cpp Move update check and survey to the new domain 2014-11-18 13:01:54 +00:00
subsurfacewebservices.h Give Subsurface a distinct User Agent string 2014-07-31 11:20:11 -07:00
tableview.cpp Remove duplicate tool-tip setting 2014-12-29 16:27:44 -08:00
tableview.h Fix plus icon position based on the theme 2014-10-18 15:18:38 -07:00
tableview.ui Revert "Remove unused strings from ui files" 2014-12-24 10:06:41 -08:00
tagwidget.cpp 727 fixed 2014-11-17 06:02:21 +00:00
tagwidget.h 727 fixed 2014-11-17 06:02:21 +00:00
updatemanager.cpp Automatic update check with an opt out 2015-01-01 20:49:24 -08:00
updatemanager.h Automatic update check with an opt out 2015-01-01 20:49:24 -08:00
usermanual.cpp Add missing application icon 2014-07-18 10:21:42 -07:00
usermanual.h Use a layout to lay down the search and the help 2014-07-11 16:59:14 -07:00
usersurvey.cpp Survey: rename "Save" button to "Send" 2014-08-15 21:41:41 -06:00
usersurvey.h Better User Agent for Subsurface 2014-08-08 11:13:05 -07:00
usersurvey.ui User survey: these options aren't mutually exclusive 2014-12-29 16:33:58 -08:00
webservices.ui webservice capitalisation consitency 2014-07-11 07:05:38 -07:00