Less jarring use of pixmaps in look and feel.

This commit is contained in:
Mark Liversedge
2011-04-18 22:48:49 +01:00
parent 15741d6017
commit ec3c7a2b5a
3 changed files with 10 additions and 6 deletions

View File

@@ -275,7 +275,8 @@ AllPlotWindow::AllPlotWindow(MainWindow *mainWindow) :
fullPlot = new AllPlot(this, mainWindow);
fullPlot->setInstanceName("fullPlot");
fullPlot->grid->enableY(false);
fullPlot->setCanvasBackground(GColor(CPLOTTHUMBNAIL));
QPalette def;
fullPlot->setCanvasBackground(def.color(QPalette::Window));
fullPlot->setCanvasLineWidth(0);
fullPlot->enableAxis(QwtPlot::yLeft, false);
fullPlot->enableAxis(QwtPlot::yLeft2, false);