Changeset 8127 in ntrip for trunk/BNC/qwt/qwt_plot_histogram.h


Ignore:
Timestamp:
May 10, 2017, 3:20:54 PM (7 years ago)
Author:
stoecker
Message:

update qwt and qwtpolar, many QT5 fixes (unfinished)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/qwt/qwt_plot_histogram.h

    r4271 r8127  
    3333        While "image histograms" can be displayed by a QwtPlotCurve there
    3434        is no applicable plot item for a "color histogram" yet.
     35
     36  \sa QwtPlotBarChart, QwtPlotMultiBarChart
    3537*/
    3638
    37 class QWT_EXPORT QwtPlotHistogram: public QwtPlotSeriesItem<QwtIntervalSample>
     39class QWT_EXPORT QwtPlotHistogram:
     40    public QwtPlotSeriesItem, public QwtSeriesStore<QwtIntervalSample>
    3841{
    3942public:
     
    8083    virtual int rtti() const;
    8184
     85    void setPen( const QColor &, qreal width = 0.0, Qt::PenStyle = Qt::SolidLine );
    8286    void setPen( const QPen & );
    8387    const QPen &pen() const;
     
    8791
    8892    void setSamples( const QVector<QwtIntervalSample> & );
     93    void setSamples( QwtSeriesData<QwtIntervalSample> * );
    8994
    9095    void setBaseline( double reference );
     
    103108    virtual QRectF boundingRect() const;
    104109
    105     virtual void drawLegendIdentifier( QPainter *, const QRectF & ) const;
     110    virtual QwtGraphic legendIcon( int index, const QSizeF & ) const;
    106111
    107112protected:
Note: See TracChangeset for help on using the changeset viewer.