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

deprecated functions exchanged libs updated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/qwt/qwt_plot_abstract_barchart.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_plot_seriesitem.h"
    15 #include "qwt_series_data.h"
    1615
    1716/*!
    18   \brief Abstract base class for bar chart items
     17   \brief Abstract base class for bar chart items
    1918
    20   In opposite to almost all other plot items bar charts can't be
    21   displayed inside of their bounding rectangle and need a special
    22   API  how to calculate the width of the bars and how they affect
    23   the layout of the attached plot.
     19   In opposite to almost all other plot items bar charts can't be
     20   displayed inside of their bounding rectangle and need a special
     21   API  how to calculate the width of the bars and how they affect
     22   the layout of the attached plot.
    2423 */
    25 class QWT_EXPORT QwtPlotAbstractBarChart: public QwtPlotSeriesItem
     24class QWT_EXPORT QwtPlotAbstractBarChart : public QwtPlotSeriesItem
    2625{
    27 public:
     26  public:
    2827    /*!
    2928        \brief Mode how to calculate the bar width
    … …  
    3433    {
    3534        /*!
    36           The sample width is calculated by dividing the bounding rectangle
    37           by the number of samples. The layoutHint() is used as a minimum width
    38           in paint device coordinates.
     35           The sample width is calculated by dividing the bounding rectangle
     36           by the number of samples. The layoutHint() is used as a minimum width
     37           in paint device coordinates.
    3938
    40           \sa boundingRectangle()
     39           \sa boundingRectangle()
    4140         */
    4241        AutoAdjustSamples,
    4342
    4443        /*!
    45           layoutHint() defines an interval in axis coordinates
     44           layoutHint() defines an interval in axis coordinates
    4645         */
    4746        ScaleSamplesToAxes,
    4847
    4948        /*!
    50           The bar width is calculated by multiplying layoutHint()
    51           with the height or width of the canvas.
     49           The bar width is calculated by multiplying layoutHint()
     50           with the height or width of the canvas.
    5251
    53           \sa boundingRectangle()
     52           \sa boundingRectangle()
    5453         */
    5554        ScaleSampleToCanvas,
    5655
    5756        /*!
    58           layoutHint() defines a fixed width in paint device coordinates.
     57           layoutHint() defines a fixed width in paint device coordinates.
    5958         */
    6059        FixedSampleSize
    6160    };
    6261
    63     explicit QwtPlotAbstractBarChart( const QwtText &title );
     62    explicit QwtPlotAbstractBarChart( const QwtText& title );
    6463    virtual ~QwtPlotAbstractBarChart();
    6564
    … …  
    8079
    8180    virtual void getCanvasMarginHint(
    82         const QwtScaleMap &xMap, const QwtScaleMap &yMap,
    83         const QRectF &canvasRect,
    84         double &left, double &top, double &right, double &bottom) const;
     81        const QwtScaleMap& xMap, const QwtScaleMap& yMap,
     82        const QRectF& canvasRect, double& left, double& top,
     83        double& right, double& bottom) const QWT_OVERRIDE;
    8584
    8685
    87 protected:
    88     double sampleWidth( const QwtScaleMap &map,
     86  protected:
     87    double sampleWidth( const QwtScaleMap& map,
    8988        double canvasSize, double boundingSize,
    9089        double value ) const;
    9190
    92 private:
     91  private:
    9392    class PrivateData;
    94     PrivateData *d_data;
     93    PrivateData* m_data;
    9594};
    9695
Note: See TracChangeset for help on using the changeset viewer.