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 a399bea470
commit 04dcb8d187
20 changed files with 30 additions and 42 deletions

View File

@@ -38,7 +38,7 @@ static double inline max(double a, double b) { if (a > b) return a; else return
SmallPlot::SmallPlot(QWidget *parent) : QwtPlot(parent), d_mrk(NULL), smooth(30)
{
setCanvasBackground(GColor(CPLOTBACKGROUND));
canvas()->setFrameStyle(QFrame::NoFrame);
static_cast<QwtPlotCanvas*>(canvas())->setFrameStyle(QFrame::NoFrame);
setXTitle();