Add the gradient factor on the table

It was impossible to guess what this column was just by looking at it.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2014-12-30 20:17:23 -02:00 committed by Dirk Hohndel
parent fed79490bf
commit d4d71bd6d3

View file

@ -129,6 +129,8 @@ QVariant DivePlotDataModel::headerData(int section, Qt::Orientation orientation,
return tr("Ambient pressure");
case HEARTBEAT:
return tr("Heart Beat");
case GFLINE:
return tr("Gradient Factor");
}
if (role == Qt::DisplayRole && section >= TISSUE_1 && section <= TISSUE_16) {
return QString("Ceiling: %1").arg(section - TISSUE_1);