subsurface/qt-ui
Tomaz Canabrava c99089e1fa Add settings awareness for the PP graph
This commit is rather big, and I forgot to cut it in pieces.
The first part creates a new 'calculate_gas_information' that will not
fill the profile_info->maxpp member ( that should be removed from it as
soon as the new dialog is finished ). The reason for that is that all of
the profile data will be calculated and the graph needs to update
dynamically, so whenever the settings changes, I ask for the model which
is the biggest graph and replot only the ones we need.

The second part adds a new animation function 'animdelete' to fade-out and
delete the item when it's done. the old function 'hide' did just that but
a hide shouldn't delete anything.

The third part is preferenes awareness for the PP graphs. I created two
new functions that receive the settings key for visibility and use the
QSettings to show / hide them. This also works quite well for the axis;
if no graph is visible, the axis will also hide itself.

The fourth part is colors. The pp graphs now have the correct colors.

And a bit of code cleanup too.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-01-27 09:15:28 -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 Add settings awareness for the PP graph 2014-01-27 09:15:28 -08:00
about.cpp Extends copyright years on About screen to include 2014 2014-01-25 16:38:13 -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 Populate divemaster completion model using CSV 2014-01-19 13:57:40 -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 Fix some memory leaks. 2014-01-16 12:15:47 +07:00
divelistview.h Divelogs.de: add a divelist context menu item for upload 2013-12-09 15:51:17 +02:00
divelogimportdialog.cpp C++ code to call parsing functions for manual CSV 2014-01-25 06:52:06 -08:00
divelogimportdialog.h Treat Sensus CSV import specially on GUI 2014-01-17 05:57:45 +07:00
divelogimportdialog.ui GUI for importing manually kept CSV logs 2014-01-25 06:52:05 -08:00
diveplanner.cpp Disable the switching depth column for cylinders 2014-01-26 07:37:11 -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 Whitespace and coding style updates 2014-01-16 11:50:56 +07: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 Fix some memory leaks. 2014-01-16 12:15:47 +07:00
globe.h Fixes Setting the dive-location via the map. 2013-12-02 09:44:55 -08:00
graphicsview-common.cpp Fix potential crash in getColor functions 2014-01-18 14:37:08 -08:00
graphicsview-common.h Plot the Temperature Text. 2014-01-17 14:04:47 -08:00
groupedlineedit.cpp Removed obsolete code. 2013-12-20 09:53:04 -08:00
groupedlineedit.h Make the include Qt5 compatible 2014-01-15 15:49:48 +07: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 Disable the switching depth column for cylinders 2014-01-26 07:37:11 -08:00
maintab.h Expand tags approach to divemaster field 2014-01-19 13:57:40 -08:00
maintab.ui Expand tags approach to divemaster field 2014-01-19 13:57:40 -08:00
mainwindow.cpp The plot-profile method was being called too many times. 2014-01-17 06:16:35 +07:00
mainwindow.h Added debug code to help understand the Profile 2014-01-16 10:12:31 +07:00
mainwindow.ui Show old profile when starting Subsurface 2014-01-16 10:21:50 +07:00
modeldelegates.cpp Whitespace and coding style updates 2014-01-16 11:50:56 +07:00
modeldelegates.h Fix some memory leaks. 2014-01-16 12:15:47 +07:00
models.cpp Disable the switching depth column for cylinders 2014-01-26 07:37:11 -08:00
models.h Disable the switching depth column for cylinders 2014-01-26 07:37:11 -08:00
preferences.cpp Whitespace and coding style updates 2014-01-16 11:50:56 +07:00
preferences.h Added a filter option to the Language Chooser 2013-12-06 11:56:00 -08:00
preferences.ui Don't show tanks that aren't used during a dive 2014-01-11 22:02:35 +07: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 Fix some memory leaks. 2014-01-16 12:15:47 +07: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 Add the DiveCalculatedCeiling item. 2014-01-21 11:35:09 -08:00
profilegraphics.h Add the depth text. 2014-01-21 09:39:09 -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 Whitespace and coding style updates 2014-01-16 11:50:56 +07:00
simplewidgets.h Fix all leak-at-exit from singletons in Subsurface 2013-11-30 09:28:42 -08:00
starwidget.cpp Whitespace and coding style updates 2014-01-16 11:50:56 +07:00
starwidget.h Added Keyboard Navigation for the Star Widget 2013-12-20 09:53:05 -08:00
subsurfacewebservices.cpp Whitespace and coding style updates 2014-01-16 11:50:56 +07:00
subsurfacewebservices.h Get more descriptive error messages when uploading to divelogs.de 2013-12-20 09:53:05 -08:00
tableview.cpp Fix some memory leaks. 2014-01-16 12:15:47 +07: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 Ignore mouse wheel events on tags widget 2014-01-19 13:56:06 -08:00
tagwidget.h Ignore mouse wheel events on tags widget 2014-01-19 13:56:06 -08:00
usermanual.cpp User manual: overlay search panel 2014-01-10 16:12:44 +07:00
usermanual.h User manual: overlay search panel 2014-01-10 16:12:44 +07:00
usermanual.ui User manual: overlay search panel 2014-01-10 16:12:44 +07:00
webservices.ui Improve the download from Subsurface webservice dialog 2014-01-15 15:33:04 +07:00