9 #ifndef QWT_POLAR_CURVE_H 10 #define QWT_POLAR_CURVE_H 69 LegendShowLine = 0x01,
72 LegendShowSymbol = 0x02
88 bool testLegendAttribute( LegendAttribute ) const;
93 size_t dataSize() const;
96 void setPen( const QPen & );
97 const QPen &pen() const;
103 const QwtSymbol *symbol() const;
106 QwtCurveFitter *curveFitter() const;
108 virtual
void draw( QPainter *p,
110 const QPointF &pole,
double radius,
113 virtual
void draw( QPainter *p,
115 const QPointF &pole,
int from,
int to ) const;
117 virtual
QwtInterval boundingInterval(
int scaleId ) const QWT_OVERRIDE;
119 virtual
QwtGraphic legendIcon(
int index, const QSizeF & ) const QWT_OVERRIDE;
125 virtual
void drawCurve( QPainter *,
int style,
127 const QPointF &pole,
int from,
int to ) const;
129 virtual
void drawSymbols( QPainter *, const QwtSymbol &,
131 const QPointF &pole,
int from,
int to ) const;
133 void drawLines( QPainter *,
135 const QPointF &pole,
int from,
int to ) const;
156 return d_series->sample( i );
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.
QFlags< LegendAttribute > LegendAttributes
Legend attributes.
Base class for items on a polar plot.
QwtPointPolar sample(int i) const
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.