subsurface/qt-ui/profile
Tomaz Canabrava 006265d7a0 Try to fix the font issue on the ruler.
This changes the ruler a bit, I hope nobody gets offended by it. :)

The main issue is that the scene is now 100x100 pixels wide, so the font
was *really* huge. and setting itemIgnoresTransformations on the ruler
broke a lot of stuff.

I removed the code that painted the text and created a QGraphics TextItem
for that - that will hold the text for the ruler.

Then I played with the view to get the correct angle of the line, that was
in scene coordinates and thus, could not be used directly on the item that
had ignore transformation changes.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-02-27 18:57:48 -08:00
..
animationfunctions.cpp Remove code that was unused. 2014-02-08 07:21:28 -08:00
animationfunctions.h Put include guard to every header 2014-02-11 12:37:01 -08:00
divecartesianaxis.cpp Missing initializer 2014-02-17 14:40:10 -08:00
divecartesianaxis.h Make it possible to hide some of the grid lines. 2014-02-15 17:30:25 -08:00
diveeventitem.cpp New profile: add event info to tooltip 2014-02-25 12:27:12 -08:00
diveeventitem.h New profile: add event info to tooltip 2014-02-25 12:27:12 -08:00
divelineitem.cpp Added a new Namespace to deal with Animations and related functions. 2014-01-16 10:12:29 +07:00
divelineitem.h Put include guard to every header 2014-02-11 12:37:01 -08:00
divepixmapitem.cpp Whitespace and coding style updates 2014-01-16 11:50:56 +07:00
divepixmapitem.h Put include guard to every header 2014-02-11 12:37:01 -08:00
diveplotdatamodel.cpp New profile: partial addition of heartrate 2014-02-19 17:19:57 -08:00
diveplotdatamodel.h New profile: partial addition of heartrate 2014-02-19 17:19:57 -08:00
diveprofileitem.cpp New profile: try to pick better HR samples for which to print number 2014-02-25 14:24:09 -08:00
diveprofileitem.h New profile: create new class for DiveHeartrateItem 2014-02-23 15:28:31 -08:00
diverectitem.cpp Whitespace and coding style updates 2014-01-16 11:50:56 +07:00
diverectitem.h Put include guard to every header 2014-02-11 12:37:01 -08:00
divetextitem.cpp New Profile: make axis labels smaller 2014-02-15 07:06:09 -08:00
divetextitem.h New Profile: make axis labels smaller 2014-02-15 07:06:09 -08:00
divetooltipitem.cpp New profile: fix tooltip display for events 2014-02-25 13:58:57 -08:00
divetooltipitem.h Only recalculate the tooltip if time has changed 2014-02-19 16:06:16 -08:00
profilewidget2.cpp New profile: Make the ruler work. (caution, fonts are BIIIG ) 2014-02-27 12:03:59 -08:00
profilewidget2.h New profile: add the RulerItem 2014-02-27 10:48:47 -08:00
ruleritem.cpp Try to fix the font issue on the ruler. 2014-02-27 18:57:48 -08:00
ruleritem.h Try to fix the font issue on the ruler. 2014-02-27 18:57:48 -08:00