summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/diveprofileitem.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2014-01-29 10:53:40 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-01-29 09:34:31 -0800
commit354acb0fe62917291ce5c26f4d6696c858f78d49 (patch)
tree8e7ba9379d99edfbdd7456b1a6a6e67a81e7fbb3 /qt-ui/profile/diveprofileitem.h
parent92446f0009542c7d2fbe2896ccf9aa3cb50ee415 (diff)
downloadsubsurface-354acb0fe62917291ce5c26f4d6696c858f78d49.tar.gz
Show gradient factor.
The gradient factor is shown with this patch, but the correct position should still be adjusted. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/diveprofileitem.h')
-rw-r--r--qt-ui/profile/diveprofileitem.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-ui/profile/diveprofileitem.h b/qt-ui/profile/diveprofileitem.h
index 41bb05329..980b99213 100644
--- a/qt-ui/profile/diveprofileitem.h
+++ b/qt-ui/profile/diveprofileitem.h
@@ -90,9 +90,12 @@ class DiveCalculatedCeiling : public AbstractProfilePolygonItem{
Q_OBJECT
public:
+ DiveCalculatedCeiling();
virtual void modelDataChanged();
virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0);
virtual void preferencesChanged();
+private:
+ DiveTextItem *gradientFactor;
};
class DiveReportedCeiling : public AbstractProfilePolygonItem{