subsurface/qt-ui/profile
Lubomir I. Ivanov d0d83d5d7d profilewidget2: fix line width when printing on OSX and Linux
On OSX and Linux only, the cosmetic width of the QPen
on profile axes does not work and is weirdly dependent on the
fact if a printer is installed or not. Possible Qt bugs at hand.

The same is not present on Win32.

To solve the issues we add setPrintMode() in DiveCartesianAxis
and call it for all instances of the class in ProfileWidget2.

This patch also moves gridPen() as a private member function
of PartialGasPressureAxis as it now needs to access member
variables.

Fixes #943

Reported-by: Willem Ferguson <willemferguson@zoology.up.ac.za>
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-10-11 10:32:11 -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 profilewidget2: fix line width when printing on OSX and Linux 2015-10-11 10:32:11 -07:00
divecartesianaxis.h profilewidget2: fix line width when printing on OSX and Linux 2015-10-11 10:32:11 -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 Update the text if DC changes 2015-08-09 23:55: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 profilewidget2: fix line width when printing on OSX and Linux 2015-10-11 10:32:11 -07:00
profilewidget2.h profilewidget2: add resetZoom() 2015-10-11 10:31:25 -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