diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-09-16 11:09:54 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-09-16 11:09:54 -0300 |
commit | 4e06c52f683abe426589035ce472d00b495e2eab (patch) | |
tree | 222b89f4bb56d75ec89c9eda7a9ef2fda78bf889 /qt-ui/diveplanner.h | |
parent | f5b33dede359dccc31fafa72e0e2550868d8edd2 (diff) | |
download | subsurface-4e06c52f683abe426589035ce472d00b495e2eab.tar.gz |
Position the X and Y labels of the Rulers
Position the X and Y labels of the rulers, this way
it's a bit more clear the deepness and the length
of the trip. It's still not the best approach, but
I'm getting close.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/diveplanner.h')
-rw-r--r-- | qt-ui/diveplanner.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h index 091b9f80c..1bcea0c27 100644 --- a/qt-ui/diveplanner.h +++ b/qt-ui/diveplanner.h @@ -99,6 +99,8 @@ public: private: Qt::Orientation orientation; QList<QGraphicsLineItem*> ticks; + QGraphicsSimpleTextItem *minText; + QGraphicsSimpleTextItem *maxText; double min; double max; double interval; |