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

    r4271 r8127  
    1818class QPainter;
    1919class QFont;
    20 class QwtScaleTransformation;
     20class QwtTransform;
    2121class QwtScaleMap;
    2222
     
    2727
    2828  After a scale division has been specified as a QwtScaleDiv object
    29   using QwtAbstractScaleDraw::setScaleDiv(const QwtScaleDiv &s),
    30   the scale can be drawn with the QwtAbstractScaleDraw::draw() member.
     29  using setScaleDiv(), the scale can be drawn with the draw() member.
    3130*/
    3231class QWT_EXPORT QwtAbstractScaleDraw
     
    5958    const QwtScaleDiv& scaleDiv() const;
    6059
    61     void setTransformation( QwtScaleTransformation * );
     60    void setTransformation( QwtTransform * );
    6261    const QwtScaleMap &scaleMap() const;
    6362    QwtScaleMap &scaleMap();
     
    8382      Calculate the extent
    8483
    85       The extent is the distcance from the baseline to the outermost
     84      The extent is the distance from the baseline to the outermost
    8685      pixel of the scale draw in opposite to its orientation.
    8786      It is at least minimumExtent() pixels.
    8887
     88      \param font Font used for drawing the tick labels
     89      \return Number of pixels
     90
    8991      \sa setMinimumExtent(), minimumExtent()
    9092    */
    91     virtual double extent( const QFont & ) const = 0;
     93    virtual double extent( const QFont &font ) const = 0;
    9294
    9395    void setMinimumExtent( double );
     
    100102       \param painter Painter
    101103       \param value Value of the tick
    102        \param len Lenght of the tick
     104       \param len Length of the tick
    103105
    104106       \sa drawBackbone(), drawLabel()
Note: See TracChangeset for help on using the changeset viewer.