9 #ifndef QWT_POLAR_PLOT_H 
   10 #define QWT_POLAR_PLOT_H 
   12 #include "qwt_global.h" 
   13 #include "qwt_polar.h" 
   14 #include "qwt_polar_itemdict.h" 
   15 #include "qwt_interval.h" 
   16 #include "qwt_scale_map.h" 
   17 #include "qwt_point_polar.h" 
   50     Q_PROPERTY( QBrush plotBackground READ plotBackground WRITE setPlotBackground )
 
   51     Q_PROPERTY( 
double azimuthOrigin READ azimuthOrigin WRITE setAzimuthOrigin )
 
   89     void setTitle( 
const QString& );
 
   90     void setTitle( 
const QwtText& );
 
   97     void setAutoReplot( 
bool tf = 
true );
 
   98     bool autoReplot() 
const;
 
  100     void setAutoScale( 
int scaleId );
 
  101     bool hasAutoScale( 
int scaleId ) 
const;
 
  103     void setScaleMaxMinor( 
int scaleId, 
int maxMinor );
 
  104     int scaleMaxMinor( 
int scaleId ) 
const;
 
  106     int scaleMaxMajor( 
int scaleId ) 
const;
 
  107     void setScaleMaxMajor( 
int scaleId, 
int maxMajor );
 
  113     void setScale( 
int scaleId, 
double min, 
double max, 
double step = 0 );
 
  115     void setScaleDiv( 
int scaleId, 
const QwtScaleDiv& );
 
  119     QwtScaleMap scaleMap( 
int scaleId, 
double radius ) 
const;
 
  122     void updateScale( 
int scaleId );
 
  124     double azimuthOrigin() 
const;
 
  130     double zoomFactor() 
const;
 
  137     void setPlotBackground ( 
const QBrush& c );
 
  138     const QBrush& plotBackground() 
const;
 
  140     virtual void drawCanvas( QPainter*, 
const QRectF& ) 
const;
 
  145         LegendPosition = RightLegend, 
double ratio = -1.0 );
 
  158     QRectF plotRect() 
const;
 
  159     QRectF plotRect( 
const QRectF& ) 
const;
 
  161     int plotMarginHint() 
const;
 
  164     virtual QwtPolarItem* infoToItem( 
const QVariant& ) 
const;
 
  194     virtual void replot();
 
  196     void setAzimuthOrigin( 
double );
 
  199     virtual bool event( QEvent* ) QWT_OVERRIDE;
 
  200     virtual void resizeEvent( QResizeEvent* ) QWT_OVERRIDE;
 
  202     virtual void updateLayout();
 
  204     virtual void drawItems( QPainter* painter,
 
  206         const QPointF& pole, 
double radius,
 
  207         const QRectF& canvasRect ) 
const;
 
  213     void initPlot( 
const QwtText& );
 
Abstract base class for legend widgets.
A class representing an interval.
A point in polar coordinates.
Canvas of a QwtPolarPlot.
A dictionary for polar plot items.
Base class for items on a polar plot.
Layout class for QwtPolarPlot.
A plotting widget, displaying a polar coordinate system.
void itemAttached(QwtPolarItem *plotItem, bool on)
void legendDataChanged(const QVariant &itemInfo, const QList< QwtLegendData > &data)
@ BottomLegend
The legend will be below the canvas.
@ LeftLegend
The legend will be left from the canvas.
@ TopLegend
The legend will be between canvas and title.
@ RightLegend
The legend will be right from the canvas.
A class for drawing round scales.
A class representing a scale division.
Base class for scale engines.
A class representing a text.
A Widget which displays a QwtText.