78 Q_DECLARE_FLAGS( PaintAttributes, PaintAttribute )
95 void setPaintAttribute( PaintAttribute,
bool on =
true );
96 bool testPaintAttribute( PaintAttribute )
const;
98 void setLegendMode( LegendMode );
99 LegendMode legendMode()
const;
101 void setRect(
const QRectF& );
102 void setPolygon(
const QPolygonF& );
104 void setShape(
const QPainterPath& );
105 QPainterPath shape()
const;
107 void setPen(
const QColor&, qreal width = 0.0, Qt::PenStyle = Qt::SolidLine );
108 void setPen(
const QPen& );
111 void setBrush(
const QBrush& );
112 QBrush brush()
const;
114 void setRenderTolerance(
double );
115 double renderTolerance()
const;
119 virtual
void draw( QPainter*,
121 const QRectF& canvasRect ) const QWT_OVERRIDE;
124 int index, const QSizeF& ) const QWT_OVERRIDE;
126 virtual
int rtti() const QWT_OVERRIDE;
A plot item, which displays any graphical shape, that can be defined by a QPainterPath.
Definition qwt_plot_shapeitem.h:56
A class representing a text.
Definition qwt_text.h:69