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>
This commit is contained in:
Tomaz Canabrava 2013-09-16 11:09:54 -03:00
parent f5b33dede3
commit 4e06c52f68
2 changed files with 20 additions and 1 deletions

View file

@ -99,6 +99,8 @@ public:
private:
Qt::Orientation orientation;
QList<QGraphicsLineItem*> ticks;
QGraphicsSimpleTextItem *minText;
QGraphicsSimpleTextItem *maxText;
double min;
double max;
double interval;