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

    r8127 r9383  
    2222  that are used in the domain of technical analysis.
    2323
    24   While the length ( height or width depending on orientation() ) 
     24  While the length ( height or width depending on orientation() )
    2525  of each symbol depends on the corresponding OHLC sample the size
    2626  of the other dimension can be controlled using:
     
    3232  The extent is a size in scale coordinates, so that the symbol width
    3333  is increasing when the plot is zoomed in. Minimum/Maximum width
    34   is in widget coordinates independent from the zoom level. 
    35   When setting the minimum and maximum to the same value, the width of 
    36   the symbol is fixed. 
     34  is in widget coordinates independent from the zoom level.
     35  When setting the minimum and maximum to the same value, the width of
     36  the symbol is fixed.
    3737*/
    38 class QWT_EXPORT QwtPlotTradingCurve: 
    39     public QwtPlotSeriesItem, QwtSeriesStore<QwtOHLCSample>
     38class QWT_EXPORT QwtPlotTradingCurve:
     39    public QwtPlotSeriesItem, public QwtSeriesStore<QwtOHLCSample>
    4040{
    4141public:
     
    102102    typedef QFlags<PaintAttribute> PaintAttributes;
    103103
    104     explicit QwtPlotTradingCurve( const QString &title = QString::null );
     104    explicit QwtPlotTradingCurve( const QString &title = QString() );
    105105    explicit QwtPlotTradingCurve( const QwtText &title );
    106106
     
    118118    SymbolStyle symbolStyle() const;
    119119
    120     void setSymbolPen( const QColor &, 
     120    void setSymbolPen( const QColor &,
    121121        qreal width = 0.0, Qt::PenStyle = Qt::SolidLine );
    122122    void setSymbolPen( const QPen & );
     
    126126    QBrush symbolBrush( Direction ) const;
    127127
    128     void setSymbolExtent( double width );
     128    void setSymbolExtent( double );
    129129    double symbolExtent() const;
    130130
     
    151151        const QRectF &canvasRect, int from, int to ) const;
    152152
    153     virtual void drawUserSymbol( QPainter *, 
     153    virtual void drawUserSymbol( QPainter *,
    154154        SymbolStyle, const QwtOHLCSample &,
     155        Qt::Orientation, bool inverted, double symbolWidth ) const;
     156
     157    void drawBar( QPainter *painter, const QwtOHLCSample &,
    155158        Qt::Orientation, bool inverted, double width ) const;
    156159
    157     void drawBar( QPainter *painter, const QwtOHLCSample &,
    158         Qt::Orientation, bool inverted, double width ) const;
    159 
    160     void drawCandleStick( QPainter *, const QwtOHLCSample &,
     160    void drawCandleStick( QPainter *, const QwtOHLCSample &,
    161161        Qt::Orientation, double width ) const;
    162162
Note: See TracChangeset for help on using the changeset viewer.