diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2014-01-19 20:14:48 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-01-19 21:38:10 -0800 |
commit | edad8712b97781ae8952fe5905cb337ecc0be9ea (patch) | |
tree | dcd8017937acf90745c7f91c397df97d0c35a9e6 /qt-ui/profile/divecartesianaxis.h | |
parent | cd3867d46abdc3c19368b7370b4fa1c3b71d0e1d (diff) | |
download | subsurface-edad8712b97781ae8952fe5905cb337ecc0be9ea.tar.gz |
Make the colors of the texts be prettier.
Just fixes some colors of the texts on the canvas.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/divecartesianaxis.h')
-rw-r--r-- | qt-ui/profile/divecartesianaxis.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qt-ui/profile/divecartesianaxis.h b/qt-ui/profile/divecartesianaxis.h index e03df04e3..b2aecbf79 100644 --- a/qt-ui/profile/divecartesianaxis.h +++ b/qt-ui/profile/divecartesianaxis.h @@ -36,7 +36,7 @@ signals: void sizeChanged(); protected: virtual QString textForValue(double value); - + virtual QColor colorForValue(double value); Orientation orientation; QList<DiveTextItem*> labels; double min; @@ -51,11 +51,13 @@ protected: class DepthAxis : public DiveCartesianAxis { protected: QString textForValue(double value); + QColor colorForValue(double value); }; class TimeAxis : public DiveCartesianAxis { protected: QString textForValue(double value); + QColor colorForValue(double value); }; class TemperatureAxis : public DiveCartesianAxis{ |