Changeset 9383 in ntrip for trunk/BNC/qwt/qwt_scale_engine.h


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

    r8127 r9383  
    2626    static double floorEps( double value, double intervalSize );
    2727
    28     static double divideEps( double interval, double steps );
    29 
    30     static double divideInterval( double interval,
     28    static double divideEps( double intervalSize, double numSteps );
     29
     30    static double divideInterval( double intervalSize,
    3131        int numSteps, uint base );
    3232};
     
    4040  The layout of the scale can be varied with setAttribute().
    4141
    42   Qwt offers implementations for logarithmic and linear scales. 
     42  Qwt offers implementations for logarithmic and linear scales.
    4343*/
    4444
     
    4646{
    4747public:
    48     /*! 
     48    /*!
    4949       Layout attributes
    5050       \sa setAttribute(), testAttribute(), reference(),
     
    6565        /*!
    6666           The endpoints of the scale are supposed to be equal the
    67            outmost included values plus the specified margins 
     67           outmost included values plus the specified margins
    6868           (see setMargins()).
    6969           If this attribute is *not* set, the endpoints of the scale will
     
    9191    Attributes attributes() const;
    9292
    93     void setReference( double reference );
     93    void setReference( double );
    9494    double reference() const;
    9595
     
    129129
    130130protected:
    131     bool contains( const QwtInterval &, double val ) const;
     131    bool contains( const QwtInterval &, double value ) const;
    132132    QList<double> strip( const QList<double>&, const QwtInterval & ) const;
    133133
    134     double divideInterval( double interval, int numSteps ) const;
    135 
    136     QwtInterval buildInterval( double v ) const;
     134    double divideInterval( double intervalSize, int numSteps ) const;
     135
     136    QwtInterval buildInterval( double value ) const;
    137137
    138138private:
     
    154154    virtual ~QwtLinearScaleEngine();
    155155
    156     virtual void autoScale( int maxSteps,
     156    virtual void autoScale( int maxNumSteps,
    157157        double &x1, double &x2, double &stepSize ) const;
    158158
    159159    virtual QwtScaleDiv divideScale( double x1, double x2,
    160         int numMajorSteps, int numMinorSteps,
    161                                      double stepSize = 0.0 ) const;
     160        int maxMajorSteps, int maxMinorSteps,
     161        double stepSize = 0.0 ) const;
    162162
    163163
     
    166166
    167167    void buildTicks(
    168         const QwtInterval &, double stepSize, int maxMinSteps,
     168        const QwtInterval &, double stepSize, int maxMinorSteps,
    169169        QList<double> ticks[QwtScaleDiv::NTickTypes] ) const;
    170170
     
    194194    virtual ~QwtLogScaleEngine();
    195195
    196     virtual void autoScale( int maxSteps,
     196    virtual void autoScale( int maxNumSteps,
    197197        double &x1, double &x2, double &stepSize ) const;
    198198
    199199    virtual QwtScaleDiv divideScale( double x1, double x2,
    200         int numMajorSteps, int numMinorSteps,
     200        int maxMajorSteps, int maxMinorSteps,
    201201        double stepSize = 0.0 ) const;
    202202
     
    205205
    206206    void buildTicks(
    207         const QwtInterval &, double stepSize, int maxMinSteps,
     207        const QwtInterval &, double stepSize, int maxMinorSteps,
    208208        QList<double> ticks[QwtScaleDiv::NTickTypes] ) const;
    209209
Note: See TracChangeset for help on using the changeset viewer.