subsurface/qt-ui/profile
Dirk Hohndel 64aace63f0 Don't connect to the MainWindow
We really shouldn't need to connect to the MainWindow in order to get the
right scale for the fonts when printing. While printing likely will remain
a desktop only function, this is just bad design. And making calls like
this from the paint() function is a bad plan, anyway.

So instead we make sure that every DiveTextItem knows what the printScale
was when it was created (or actually, when the text was first set as they
frequently get created before we have a scene which we use to get to the
profile), and gets updated whenever that scale changes.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-07-29 12:21:27 -07:00
..
animationfunctions.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
animationfunctions.h Add a new 'show' Animation, and use it on the close button. 2014-07-30 14:15:09 -07:00
divecartesianaxis.cpp Address uninitialized member warnings 2015-06-22 10:57:51 -07:00
divecartesianaxis.h Make the Axis set the changed flag when a new line is set 2014-07-29 15:33:00 -07:00
diveeventitem.cpp Address of array is always non-NULL 2015-06-22 10:57:56 -07:00
diveeventitem.h Fix memleak on Pixmap cache 2014-11-14 13:45:54 -08:00
divelineitem.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
divelineitem.h Code cleanup: removed bogus animation functions 2014-07-11 17:01:12 -07:00
divepixmapitem.cpp Move DivePictureModel to qt-models 2015-05-29 14:14:27 -07:00
divepixmapitem.h Fix memleak of QGraphicsRectItem 2015-01-17 10:41:07 +13:00
diveprofileitem.cpp Make gradient factor text an independent item on the profile 2015-07-29 10:31:34 -07:00
diveprofileitem.h Make gradient factor text an independent item on the profile 2015-07-29 10:31:34 -07:00
diverectitem.cpp Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
diverectitem.h Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
divetextitem.cpp Don't connect to the MainWindow 2015-07-29 12:21:27 -07:00
divetextitem.h Don't connect to the MainWindow 2015-07-29 12:21:27 -07:00
divetooltipitem.cpp Clean up the header files 2015-01-18 21:25:59 +12:00
divetooltipitem.h Reduce the refresh rate of the toolTipItem to 25fps. 2015-01-17 08:07:14 +13:00
profilewidget2.cpp Don't connect to the MainWindow 2015-07-29 12:21:27 -07:00
profilewidget2.h Don't connect to the MainWindow 2015-07-29 12:21:27 -07:00
ruleritem.cpp Address uninitialized member warnings 2015-06-22 10:57:51 -07:00
ruleritem.h Address uninitialized member warnings 2015-06-22 10:57:51 -07:00
tankitem.cpp Fix extreme sluggish profile over time 2015-01-19 16:25:13 +12:00
tankitem.h Address uninitialized member warnings 2015-06-22 10:57:51 -07:00