Signed-off-by: Rick Walsh <[email protected]>
---
 qt-models/cylindermodel.cpp | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/qt-models/cylindermodel.cpp b/qt-models/cylindermodel.cpp
index f349685..4a9b038 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;
        }
 
-- 
2.7.4

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to