diff options
author | Rick Walsh <rickmwalsh@gmail.com> | 2016-08-02 11:02:14 +1000 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-08-10 15:05:14 -0700 |
commit | 9710ac8926e97cfb08000bfea9a5477307f49703 (patch) | |
tree | 9394d7b87799dc94c6ee7df280a949c8736938a9 /qt-models/cylindermodel.cpp | |
parent | 2c715542fd4fae6c2313c55d8c370689ff7dd931 (diff) | |
download | subsurface-9710ac8926e97cfb08000bfea9a5477307f49703.tar.gz |
CylindersModel: add tooltips for Deco switch at, Bot MOD and MND
Signed-off-by: Rick Walsh <rickmwalsh@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models/cylindermodel.cpp')
-rw-r--r-- | qt-models/cylindermodel.cpp | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/qt-models/cylindermodel.cpp b/qt-models/cylindermodel.cpp index f3496855d..4a9b03864 100644 --- a/qt-models/cylindermodel.cpp +++ b/qt-models/cylindermodel.cpp @@ -172,8 +172,20 @@ QVariant CylindersModel::data(const QModelIndex &index, int role) const break; case Qt::ToolTipRole: - if (index.column() == REMOVE) + switch (index.column()) { + case REMOVE: ret = tr("Clicking here will remove this cylinder."); + break; + case DEPTH: + ret = tr("Switch depth for deco gas. Calculated using Deco pO₂ preference, unless set manually."); + break; + case MOD: + ret = tr("Calculated using Bottom pO₂ preference. Setting MOD adjusts O₂%, set to '*' for best O₂% for max depth."); + break; + case MND: + ret = tr("Calculated using Best Mix END preference. Setting MND adjusts He%, set to '*' for best He% for max depth."); + break; + } break; } |