Changeset 6262 in ntrip for trunk/BNC/src/rinex/polarplot.cpp


Ignore:
Timestamp:
Oct 28, 2014, 10:07:42 AM (9 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/rinex/polarplot.cpp

    r4359 r6262  
    1919#include <qwt_symbol.h>
    2020#include <qwt_polar_grid.h>
     21#include <qwt_polar_canvas.h>
    2122
    2223#include "polarplot.h"
     
    4748  _scaleInterval = scaleInterval;
    4849
    49   setPlotBackground(Qt::white);
     50  if (false) {
     51    setPlotBackground(Qt::white); // sets the background of the circle only
     52  }
     53  else {
     54    canvas()->setAutoFillBackground(true);
     55    QPalette palette = canvas()->palette();
     56    palette.setColor(QPalette::Window, Qt::white);
     57    canvas()->setPalette(palette);
     58  }
    5059
    5160  setAzimuthOrigin(M_PI/2.0);
Note: See TracChangeset for help on using the changeset viewer.