Lubomir I. Ivanov 9de15dec60 Profile: support grayscale plotting
This patch adds the getColor() helper function to
ProfileGraphicsView and EventItem so that retrieving
a certain color can depend on a 'isGrayscale' flag.
This flag is private and only set by
ProfileGraphicsView::setPrintMode() at this point.
EventItem also now accepts 'grayscale' as a constructor
argument.

A couple of side modifications are:
- move setBackgroundBrush() to ProfileGraphicsView::plot()
- set the same pen color as brush color for the dot in the
'!' symbol inside EventItem::EventItem().

TODO: look for color issues when printing using the
custom grayscale table

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
2013-07-18 12:00:12 -07:00
..
2013-06-24 07:44:28 -07:00
2013-07-11 09:22:20 -03:00
2013-06-19 10:20:56 -07:00
2013-05-17 22:27:50 -07:00
2013-06-27 20:57:13 +08:00
2013-06-17 13:54:50 -03:00
2013-06-19 10:20:56 -07:00