subsurface/desktop-widgets
Michael Keller 1e3d378ad9 Cylindermodel: Improve editing of tank use
Use the drop down for editing the tank use in the gas list in both the
equipment tab and the dive planner.
The tank use column is now available in the equipment tab for all dives
and not just CCR dives, as 'not used' is a valid entry in both cases.
However, if the current dive is an OC dive, only 'OC-gas' and 'not used' are
shown.
There still seems to be a problem that in some cases, when opening the
planner after selecting an existing CCR dive the drop down in the
planner does not list CCR gas uses - for some reason `displayed_dive`
does not seem to be updated correctly on opening of the planner. But I have not been able to
reproduce this consistently, and changing 'Dive mode' fixes this.

Signed-off-by: Michael Keller <github@ike.ch>
2023-02-07 14:20:29 +01:00
..
css
preferences Map Short Names - add preference setting 2022-08-21 18:53:35 -07:00
qml statistics: don't import QtQuick in StatsView QML file 2022-11-19 15:07:07 -08:00
tab-widgets Cylindermodel: Improve editing of tank use 2023-02-07 14:20:29 +01:00
about.cpp cleanup: don't add QKeySequence values 2022-03-12 08:28:32 -08:00
about.h cleanup: fix deprecated QFlags use 2020-10-26 19:27:03 -07:00
about.ui
addfilterpreset.ui filter: create a primitive "create filter preset" dialog 2020-09-29 16:13:03 -07:00
btdeviceselectiondialog.cpp
btdeviceselectiondialog.h cleanup: remove QPointer instances 2020-12-17 13:03:56 -08:00
btdeviceselectiondialog.ui
CMakeLists.txt statistics: remove old unused statistics code 2022-11-19 15:03:30 -08:00
configuredivecomputerdialog.cpp Desktop: Clarified the Dive Computer Firmware Update Message. 2023-02-03 13:37:52 +01:00
configuredivecomputerdialog.h cleanup: use safe connect() in ConfigureDiveComputerDialog 2020-10-06 10:38:45 -07:00
configuredivecomputerdialog.ui Desktop: Fix brightness configuration for OSTC4 2023-02-03 08:22:13 +01:00
divecomponentselection.ui core: replace dive master by dive guide 2022-02-15 09:35:43 -08:00
divelistview.cpp desktop: pass dive list to ShiftTimesDialog 2023-01-18 15:42:47 -08:00
divelistview.h cleanup: mark DiveListView::selectionChanged() as overridden 2022-08-28 13:34:13 -07:00
divelogexportdialog.cpp
divelogexportdialog.h
divelogexportdialog.ui
divelogimportdialog.cpp
divelogimportdialog.h
divelogimportdialog.ui
divepicturewidget.cpp
divepicturewidget.h Cleanup: remove DivePictureThumbnailThread 2020-05-06 13:58:09 -07:00
diveplanner.cpp Cylindermodel: Improve editing of tank use 2023-02-07 14:20:29 +01:00
diveplanner.h
diveplanner.ui
diveshareexportdialog.cpp Qt6: move connection into C++ source 2022-03-12 08:28:32 -08:00
diveshareexportdialog.h desktop-widgets: diveDiveShareExportDialog add signal handling 2019-12-11 11:08:51 -05:00
diveshareexportdialog.ui Qt6: move connection into C++ source 2022-03-12 08:28:32 -08:00
divesiteimportdialog.cpp core: fold display.h into profile.h 2022-03-13 15:07:33 -07:00
divesiteimportdialog.h
divesiteimportdialog.ui Create DivesiteImportDialog to select sites to import 2019-05-06 10:48:44 +02:00
divesitelistview.cpp desktop: remember previous state when switching to dive site mode 2022-09-23 15:50:50 +02:00
divesitelistview.h desktop: make dive site list an independent widget 2022-09-23 15:50:49 +02:00
divesitelistview.ui desktop: make dive site list an independent widget 2022-09-23 15:50:49 +02:00
downloadfromdivecomputer.cpp core: move floating point functions to own header file 2022-08-30 22:34:38 +02:00
downloadfromdivecomputer.h
downloadfromdivecomputer.ui
filterconstraintwidget.cpp
filterconstraintwidget.h
filterwidget.cpp
filterwidget.h cleanup: rename FilterWidget2 to FilterWidget 2020-09-29 16:14:31 -07:00
filterwidget.ui cleanup: rename FilterWidget2 to FilterWidget 2020-09-29 16:14:31 -07:00
findmovedimagesdialog.cpp
findmovedimagesdialog.h Dive pictures: implement FindMovedImagesDialog 2018-07-04 02:27:36 +08:00
findmovedimagesdialog.ui
groupedlineedit.cpp
groupedlineedit.h
importgps.cpp
importgps.h core: move GPX parsing into core 2020-01-24 09:51:02 -08:00
importgps.ui Typo: UCT to UTC 2020-03-19 08:37:59 -07:00
kmessagewidget.cpp
kmessagewidget.h
listfilter.ui
locationinformation.cpp desktop: remember previous state when switching to dive site mode 2022-09-23 15:50:50 +02:00
locationinformation.h desktop: make DiveLocationModel entries "editable" 2022-08-22 09:20:45 -07:00
locationinformation.ui
mainwindow.cpp core: add make_manually_added_dc() function 2022-10-21 16:51:57 -07:00
mainwindow.h desktop: remember previous state when switching to dive site mode 2022-09-23 15:50:50 +02:00
mainwindow.ui desktop: make dive site list an independent widget 2022-09-23 15:50:49 +02:00
mapwidget.cpp map: don't explicitly reload the map from the mainwindow 2022-09-15 12:16:32 -07:00
mapwidget.h
modeldelegates.cpp Cylindermodel: Improve editing of tank use 2023-02-07 14:20:29 +01:00
modeldelegates.h Use combo box for moving sensor data 2022-09-03 13:38:34 -07:00
notificationwidget.cpp
notificationwidget.h
plannerDetails.ui Bring back style sheet HTML for planner output 2017-02-24 01:06:09 -08:00
plannerSettings.ui Planner: Add option to treat O2 as narcotic 2019-10-31 00:30:38 -07:00
printdialog.cpp
printdialog.h
printer.cpp
printer.h
printoptions.cpp core: implement an enumerating iterator 2022-10-30 21:57:39 +01:00
printoptions.h
printoptions.ui
profilewidget.cpp profile: reverse plotting and showing of profile 2022-10-30 15:02:36 -07:00
profilewidget.h profile: automatically enter edit mode 2022-03-12 18:33:34 +01:00
profilewidget.ui profile: remove profile widget code from mainwindow 2021-12-17 11:54:23 -08:00
qtwaitingspinner.cpp
qtwaitingspinner.h
renumber.ui
searchbar.ui Use better aliases for icons. 2017-11-30 23:14:46 -08:00
setpoint.ui Use icons relative path. 2017-11-30 23:14:46 -08:00
shiftimagetimes.ui
shifttimes.ui cleanup: remove duplicate connections in .ui files 2022-03-12 08:28:32 -08:00
simplewidgets.cpp desktop: pass dive list to ShiftTimesDialog 2023-01-18 15:42:47 -08:00
simplewidgets.h desktop: pass dive list to ShiftTimesDialog 2023-01-18 15:42:47 -08:00
starwidget.cpp
starwidget.h
statswidget.cpp
statswidget.h Qt6: prevent QML object from being garbage collected 2022-03-12 08:28:32 -08:00
statswidget.ui
subsurfacewebservices.cpp Qt6: update the connect calls for QNetworkReply 2022-04-18 07:24:39 +02:00
subsurfacewebservices.h Qt6: update the connect calls for QNetworkReply 2022-04-18 07:24:39 +02:00
tableview.cpp
tableview.h
tableview.ui
tagwidget.cpp desktop: let tag-widget completion popup accept composition events 2022-08-13 11:19:37 -07:00
tagwidget.h desktop: improve composition on TagWidgets 2022-08-13 11:19:37 -07:00
templateedit.cpp planner: pass in_planner down to TemplateLayout 2021-02-17 07:26:55 -08:00
templateedit.h
templateedit.ui templateedit.ui: give the layout for "Border width" unique name 2017-03-12 09:19:03 -07:00
templatelayout.cpp cleanup: move minute formating to format-string.cpp 2022-09-03 13:49:02 -07:00
templatelayout.h
textedit.cpp Desktop: create new custom TextEdit widget for notes-field 2019-04-12 18:19:07 +03:00
textedit.h
tripselectiondialog.cpp
tripselectiondialog.h
tripselectiondialog.ui
updatemanager.cpp desktop/update-check: fix logic when to ask about update check 2021-01-06 10:18:23 -08:00
updatemanager.h
urldialog.ui Allow more than one media file when importing from the web 2022-04-01 08:28:05 -07:00
usermanual.cpp
usermanual.h Remove partial support for QWebEngine 2019-03-20 08:45:02 -07:00
webservices.ui