QWT 6.1 canvas() revert and LTM ToolTip fixups

Reverted the update to the QWT 6.1 code to make QwtPlot::canvas()
return a QwtPlotCanvas -- it now returns  QWidget.

This means our local copy of Qwt is the same as the published version
so we should be able to stop maintaining our own copy when Uwe pushes
the multiaxis stuff with 6.2.

Also fixed the LTM tooltip - the zoomer has been removed.
This commit is contained in:
Mark Liversedge
2013-12-11 17:55:37 +00:00
parent dfeda95ca6
commit e80243eea1
20 changed files with 30 additions and 42 deletions

View File

@@ -87,7 +87,7 @@ ErgFilePlot::ErgFilePlot(Context *context) : context(context)
{
//insertLegend(new QwtLegend(), QwtPlot::BottomLegend);
setCanvasBackground(GColor(CRIDEPLOTBACKGROUND));
canvas()->setFrameStyle(QFrame::NoFrame);
static_cast<QwtPlotCanvas*>(canvas())->setFrameStyle(QFrame::NoFrame);
//courseData = data; // what we plot
// Setup the left axis (Power)