10#ifndef QWT_PLOT_ZONE_ITEM_H 
   11#define QWT_PLOT_ZONE_ITEM_H 
   13#include "qwt_global.h" 
   14#include "qwt_plot_item.h" 
   16#include <qnamespace.h> 
   40    virtual int rtti() 
const QWT_OVERRIDE;
 
   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*,
 
   58        const QRectF& canvasRect ) 
const QWT_OVERRIDE;
 
 
A class representing an interval.
Base class for items on the plot canvas.
virtual void draw(QPainter *painter, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRectF &canvasRect) const =0
Draw the item.
virtual QRectF boundingRect() const
A plot item, which displays a zone.