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_intervalcurve.h

    r4271 r8127  
    2323  The representation depends on the style() and an optional symbol()
    2424  that is displayed for each interval. QwtPlotIntervalCurve might be used
    25   to disply error bars or the area between 2 curves.
     25  to display error bars or the area between 2 curves.
    2626*/
    27 
    28 class QWT_EXPORT QwtPlotIntervalCurve: public QwtPlotSeriesItem<QwtIntervalSample>
     27class QWT_EXPORT QwtPlotIntervalCurve:
     28    public QwtPlotSeriesItem, public QwtSeriesStore<QwtIntervalSample>
    2929{
    3030public:
     
    3535        \sa setStyle(), style()
    3636    */
    37 
    3837    enum CurveStyle
    3938    {
     
    8988
    9089    void setSamples( const QVector<QwtIntervalSample> & );
     90    void setSamples( QwtSeriesData<QwtIntervalSample> * );
    9191
     92    void setPen( const QColor &, qreal width = 0.0, Qt::PenStyle = Qt::SolidLine );
    9293    void setPen( const QPen & );
    9394    const QPen &pen() const;
     
    107108
    108109    virtual QRectF boundingRect() const;
    109     virtual void drawLegendIdentifier( QPainter *, const QRectF & ) const;
     110
     111    virtual QwtGraphic legendIcon( int index, const QSizeF & ) const;
    110112
    111113protected:
Note: See TracChangeset for help on using the changeset viewer.