10 #ifndef QWT_PLOT_HISTOGRAM_H
11 #define QWT_PLOT_HISTOGRAM_H
13 #include "qwt_global.h"
14 #include "qwt_plot_seriesitem.h"
21 #if QT_VERSION < 0x060000
22 template<
typename T >
class QVector;
86 virtual int rtti() const QWT_OVERRIDE;
88 void setPen( const QColor&,
89 qreal width = 0.0, Qt::PenStyle = Qt::SolidLine );
91 void setPen( const QPen& );
92 const QPen& pen() const;
94 void setBrush( const QBrush& );
95 const QBrush& brush() const;
100 void setBaseline(
double );
101 double baseline() const;
103 void setStyle( HistogramStyle style );
104 HistogramStyle style() const;
109 virtual
void drawSeries( QPainter*,
111 const QRectF& canvasRect,
int from,
int to ) const QWT_OVERRIDE;
113 virtual QRectF boundingRect() const QWT_OVERRIDE;
116 int index, const QSizeF& ) const QWT_OVERRIDE;
125 void drawColumns( QPainter*,
127 int from,
int to ) const;
129 void drawOutline( QPainter*,
131 int from,
int to ) const;
133 void drawLines( QPainter*,
135 int from,
int to ) const;
139 void flushPolygon( QPainter*,
double baseLine, QPolygonF& ) const;
Directed rectangle representing bounding rectangle and orientation of a column.
A drawing primitive for columns.
A paint device for scalable graphics.
A sample of the types (x1-x2, y) or (x, y1-y2)
QwtPlotHistogram represents a series of samples, where an interval is associated with a value ( ).
Base class for plot items representing a series of samples.
Abstract interface for iterating over samples.
Class storing a QwtSeriesData object.
A class representing a text.