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>
This commit is contained in:
Tomaz Canabrava 2014-01-29 10:53:40 -02:00 committed by Dirk Hohndel
parent 92446f0009
commit 354acb0fe6
2 changed files with 15 additions and 0 deletions

View file

@ -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{