9 #ifndef QWT_POLAR_CURVE_H 10 #define QWT_POLAR_CURVE_H 69 LegendShowLine = 0x01,
72 LegendShowSymbol = 0x02
87 bool testLegendAttribute( LegendAttribute ) const;
92 size_t dataSize() const;
95 void setPen( const QPen& );
96 const QPen& pen() const;
102 const QwtSymbol* symbol() const;
105 QwtCurveFitter* curveFitter() const;
107 virtual
void draw( QPainter* p,
109 const QPointF& pole,
double radius,
112 virtual
void draw( QPainter* p,
114 const QPointF& pole,
int from,
int to ) const;
116 virtual
QwtInterval boundingInterval(
int scaleId ) const QWT_OVERRIDE;
118 virtual
QwtGraphic legendIcon(
int index, const QSizeF& ) const QWT_OVERRIDE;
124 virtual
void drawCurve( QPainter*,
int style,
126 const QPointF& pole,
int from,
int to ) const;
128 virtual
void drawSymbols( QPainter*, const QwtSymbol&,
130 const QPointF& pole,
int from,
int to ) const;
132 void drawLines( QPainter*,
134 const QPointF& pole,
int from,
int to ) const;
155 return m_series->sample( i );
158 Q_DECLARE_OPERATORS_FOR_FLAGS( QwtPolarCurve::LegendAttributes )
QwtPointPolar sample(int i) const
A point in polar coordinates.
LegendAttribute
Attributes how to represent the curve on the legend.
A class representing an interval.
Abstract interface for iterating over samples.
An item, that represents a series of points.
A class for drawing symbols.
Base class for items on a polar plot.
A class representing a text.
A paint device for scalable graphics.
Don't draw a curve. Note: This doesn't affect the symbols.
Abstract base class for a curve fitter.