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

    r4271 r8127  
    1515#include <qpoint.h>
    1616
    17 class QPen;
    18 
    1917/*!
    2018  \brief A class for drawing round scales
    2119
    2220  QwtRoundScaleDraw can be used to draw round scales.
    23   The circle segment can be adjusted by QwtRoundScaleDraw::setAngleRange().
     21  The circle segment can be adjusted by setAngleRange().
    2422  The geometry of the scale can be specified with
    25   QwtRoundScaleDraw::moveCenter() and QwtRoundScaleDraw::setRadius().
     23  moveCenter() and setRadius().
    2624
    2725  After a scale division has been specified as a QwtScaleDiv object
     
    3634    virtual ~QwtRoundScaleDraw();
    3735
    38     void setRadius( int radius );
    39     int radius() const;
     36    void setRadius( double radius );
     37    double radius() const;
    4038
    4139    void moveCenter( double x, double y );
     
    4846
    4947protected:
    50     virtual void drawTick( QPainter *p, double val, double len ) const;
    51     virtual void drawBackbone( QPainter *p ) const;
    52     virtual void drawLabel( QPainter *p, double val ) const;
     48    virtual void drawTick( QPainter *, double val, double len ) const;
     49    virtual void drawBackbone( QPainter * ) const;
     50    virtual void drawLabel( QPainter *, double val ) const;
    5351
    5452private:
Note: See TracChangeset for help on using the changeset viewer.