10 #ifndef QWT_PLOT_ZONE_ITEM_H 11 #define QWT_PLOT_ZONE_ITEM_H 16 #include <qnamespace.h> 42 void setOrientation( Qt::Orientation );
43 Qt::Orientation orientation()
const;
45 void setInterval(
double min,
double max );
49 void setPen(
const QColor&, qreal width = 0.0, Qt::PenStyle = Qt::SolidLine );
50 void setPen(
const QPen& );
51 const QPen& pen()
const;
53 void setBrush(
const QBrush& );
54 const QBrush& brush()
const;
56 virtual void draw( QPainter*,
virtual void draw(QPainter *painter, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRectF &canvasRect) const =0
Draw the item.
A class representing an interval.
virtual QRectF boundingRect() const
A plot item, which displays a zone.
Base class for items on the plot canvas.