Ignore:
Timestamp:
Mar 19, 2021, 9:15:03 AM (3 years ago)
Author:
stoecker
Message:

update to qwt verion 6.1.1 to fix build with newer Qt5

File:
1 edited

Legend:

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

    r8127 r9383  
    2020/*!
    2121  \brief QwtPlotMultiBarChart displays a series of a samples that consist
    22          each of a set of values. 
     22         each of a set of values.
    2323
    24   Each value is displayed as a bar, the bars of each set can be organized 
     24  Each value is displayed as a bar, the bars of each set can be organized
    2525  side by side or accumulated.
    2626
     
    2929  by overloading specialSymbol() or overloading drawBar().
    3030
    31   Depending on its orientation() the bars are displayed horizontally 
    32   or vertically. The bars cover the interval between the baseline() 
     31  Depending on its orientation() the bars are displayed horizontally
     32  or vertically. The bars cover the interval between the baseline()
    3333  and the value.
    3434
    3535  In opposite to most other plot items, QwtPlotMultiBarChart returns more
    3636  than one entry for the legend - one for each symbol.
    37    
     37
    3838  \sa QwtPlotBarChart, QwtPlotHistogram
    3939      QwtPlotSeriesItem::orientation(), QwtPlotAbstractBarChart::baseline()
    4040 */
    41 class QWT_EXPORT QwtPlotMultiBarChart: 
     41class QWT_EXPORT QwtPlotMultiBarChart:
    4242    public QwtPlotAbstractBarChart, public QwtSeriesStore<QwtSetSample>
    4343{
     
    6262    };
    6363
    64     explicit QwtPlotMultiBarChart( const QString &title = QString::null );
     64    explicit QwtPlotMultiBarChart( const QString &title = QString() );
    6565    explicit QwtPlotMultiBarChart( const QwtText &title );
    6666
     
    7979    ChartStyle style() const;
    8080
    81     void setSymbol( int barIndex, QwtColumnSymbol *symbol );
    82     const QwtColumnSymbol *symbol( int barIndex ) const;
     81    void setSymbol( int valueIndex, QwtColumnSymbol * );
     82    const QwtColumnSymbol *symbol( int valueIndex ) const;
    8383
    8484    void resetSymbolMap();
     
    9595
    9696protected:
    97     QwtColumnSymbol *symbol( int barIndex );
     97    QwtColumnSymbol *symbol( int valueIndex );
    9898
    99     virtual QwtColumnSymbol *specialSymbol( 
     99    virtual QwtColumnSymbol *specialSymbol(
    100100        int sampleIndex, int valueIndex ) const;
    101101
     
    106106
    107107    virtual void drawBar( QPainter *, int sampleIndex,
    108         int barIndex, const QwtColumnRect & ) const;
     108        int valueIndex, const QwtColumnRect & ) const;
    109109
    110110    void drawStackedBars( QPainter *painter,
Note: See TracChangeset for help on using the changeset viewer.