Ignore:
Timestamp:
Nov 3, 2026, 10:53:35 AM (4 weeks ago)
Author:
stuerze
Message:

deprecated functions exchanged libs updated

File:
1 edited

Legend:

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

    r9383 r11158  
    1 /* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
     1/******************************************************************************
    22 * Qwt Widget Library
    33 * Copyright (C) 1997   Josef Wilgen
    … …  
    1313#include "qwt_global.h"
    1414#include "qwt_abstract_scale_draw.h"
     15
    1516#include <qpoint.h>
    1617
    1718/*!
    18   \brief A class for drawing round scales
     19   \brief A class for drawing round scales
    1920
    20   QwtRoundScaleDraw can be used to draw round scales.
    21   The circle segment can be adjusted by setAngleRange().
    22   The geometry of the scale can be specified with
    23   moveCenter() and setRadius().
     21   QwtRoundScaleDraw can be used to draw round scales.
     22   The circle segment can be adjusted by setAngleRange().
     23   The geometry of the scale can be specified with
     24   moveCenter() and setRadius().
    2425
    25   After a scale division has been specified as a QwtScaleDiv object
    26   using QwtAbstractScaleDraw::setScaleDiv(const QwtScaleDiv &s),
    27   the scale can be drawn with the QwtAbstractScaleDraw::draw() member.
    28 */
     26   After a scale division has been specified as a QwtScaleDiv object
     27   using QwtAbstractScaleDraw::setScaleDiv(const QwtScaleDiv &s),
     28   the scale can be drawn with the QwtAbstractScaleDraw::draw() member.
     29 */
    2930
    30 class QWT_EXPORT QwtRoundScaleDraw: public QwtAbstractScaleDraw
     31class QWT_EXPORT QwtRoundScaleDraw : public QwtAbstractScaleDraw
    3132{
    32 public:
     33  public:
    3334    QwtRoundScaleDraw();
    3435    virtual ~QwtRoundScaleDraw();
    … …  
    3839
    3940    void moveCenter( double x, double y );
    40     void moveCenter( const QPointF & );
     41    void moveCenter( const QPointF& );
    4142    QPointF center() const;
    4243
    4344    void setAngleRange( double angle1, double angle2 );
    4445
    45     virtual double extent( const QFont & ) const;
     46    virtual double extent( const QFont& ) const QWT_OVERRIDE;
    4647
    47 protected:
    48     virtual void drawTick( QPainter *, double value, double len ) const;
    49     virtual void drawBackbone( QPainter * ) const;
    50     virtual void drawLabel( QPainter *, double val ) const;
     48  protected:
     49    virtual void drawTick( QPainter*,
     50        double value, double len ) const QWT_OVERRIDE;
    5151
    52 private:
    53     QwtRoundScaleDraw( const QwtRoundScaleDraw & );
    54     QwtRoundScaleDraw &operator=( const QwtRoundScaleDraw &other );
     52    virtual void drawBackbone(
     53        QPainter* ) const QWT_OVERRIDE;
    5554
     55    virtual void drawLabel(
     56        QPainter*, double value ) const QWT_OVERRIDE;
     57
     58  private:
    5659    class PrivateData;
    57     PrivateData *d_data;
     60    PrivateData* m_data;
    5861};
    5962
Note: See TracChangeset for help on using the changeset viewer.