From adeb5ef13bfa37b753d87d062ed3b58c21c0e2d0 Mon Sep 17 00:00:00 2001 From: Mark Liversedge Date: Fri, 13 Jun 2014 13:58:56 +0100 Subject: [PATCH] LTM Marker colors .. dash lines and red, makes it a bit more like the styling on allplot .. might be interesting to add 'hover' on seasons. --- src/LTMPlot.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/LTMPlot.cpp b/src/LTMPlot.cpp index 0c21b6595..cde384aa9 100644 --- a/src/LTMPlot.cpp +++ b/src/LTMPlot.cpp @@ -2981,7 +2981,7 @@ LTMPlot::refreshMarkers(LTMSettings *settings, QDate from, QDate to, int groupby mrk->attach(this); mrk->setLineStyle(QwtPlotMarker::VLine); mrk->setLabelAlignment(Qt::AlignRight | Qt::AlignTop); - mrk->setLinePen(QPen(color, 0, Qt::DashDotLine)); + mrk->setLinePen(QPen(color, 0, Qt::DashLine)); mrk->setValue(double(groupForDate(s.getStart(), groupby)) - baseday, 0.0); if (first) { @@ -3003,13 +3003,13 @@ LTMPlot::refreshMarkers(LTMSettings *settings, QDate from, QDate to, int groupby mrk->attach(this); mrk->setLineStyle(QwtPlotMarker::VLine); mrk->setLabelAlignment(Qt::AlignRight | Qt::AlignTop); - mrk->setLinePen(QPen(color, 0, Qt::DashDotLine)); + mrk->setLinePen(QPen(color, 0, Qt::SolidLine)); mrk->setValue(double(groupForDate(event.date, groupby)) - baseday, 10.0); if (first) { QwtText text(event.name); text.setFont(QFont("Helvetica", 10, QFont::Bold)); - text.setColor(color); + text.setColor(Qt::red); mrk->setLabel(text); }