9 #ifndef QWT_POLAR_PLOT_H 10 #define QWT_POLAR_PLOT_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;
158 QRectF plotRect()
const;
159 QRectF plotRect(
const QRectF & )
const;
161 int plotMarginHint()
const;
164 virtual QwtPolarItem *infoToItem(
const QVariant & )
const;
183 void legendDataChanged(
const QVariant &itemInfo,
190 void layoutChanged();
193 virtual void replot();
195 void setAzimuthOrigin(
double );
199 virtual
void resizeEvent( QResizeEvent * )
QWT_OVERRIDE;
201 virtual
void updateLayout();
203 virtual
void drawItems( QPainter *painter,
205 const QPointF &pole,
double radius,
206 const QRectF &canvasRect ) const;
210 void attachItem( QwtPolarItem *,
bool );
212 void initPlot( const
QwtText & );
A plotting widget, displaying a polar coordinate system.
The legend will be between canvas and title.
A point in polar coordinates.
A Widget which displays a QwtText.
A class representing an interval.
The legend will be below the canvas.
A dictionary for polar plot items.
A class representing a scale division.
The legend will be right from the canvas.
Base class for items on a polar plot.
A class representing a text.
Canvas of a QwtPolarPlot.
A class for drawing round scales.
Abstract base class for legend widgets.
The legend will be left from the canvas.
Layout class for QwtPolarPlot.
Base class for scale engines.