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

    r9383 r11158  
    1 /* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
     1/******************************************************************************
    22 * Qwt Widget Library
    33 * Copyright (C) 1997   Josef Wilgen
    … …  
    1212
    1313#include "qwt_global.h"
    14 #include "qwt_legend_data.h"
    1514#include <qframe.h>
    16 #include <qlist.h>
    1715
     16class QwtLegendData;
     17template< typename T > class QList;
    1818class QVariant;
    1919
    2020/*!
    21   \brief Abstract base class for legend widgets
     21   \brief Abstract base class for legend widgets
    2222
    23   Legends, that need to be under control of the QwtPlot layout system
    24   need to be derived from QwtAbstractLegend.
     23   Legends, that need to be under control of the QwtPlot layout system
     24   need to be derived from QwtAbstractLegend.
    2525
    26   \note Other type of legends can be implemented by connecting to
     26   \note Other type of legends can be implemented by connecting to
    2727        the QwtPlot::legendDataChanged() signal. But as these legends
    2828        are unknown to the plot layout system the layout code
    … …  
    3030        in application code.
    3131
    32   \sa QwtLegend
     32   \sa QwtLegend
    3333 */
    3434class QWT_EXPORT QwtAbstractLegend : public QFrame
    … …  
    3636    Q_OBJECT
    3737
    38 public:
    39     explicit QwtAbstractLegend( QWidget *parent = NULL );
     38  public:
     39    explicit QwtAbstractLegend( QWidget* parent = NULL );
    4040    virtual ~QwtAbstractLegend();
    4141
    4242    /*!
    43       Render the legend into a given rectangle.
     43       Render the legend into a given rectangle.
    4444
    45       \param painter Painter
    46       \param rect Bounding rectangle
    47       \param fillBackground When true, fill rect with the widget background
     45       \param painter Painter
     46       \param rect Bounding rectangle
     47       \param fillBackground When true, fill rect with the widget background
    4848
    49       \sa renderLegend() is used by QwtPlotRenderer
    50     */
    51     virtual void renderLegend( QPainter *painter,
    52         const QRectF &rect, bool fillBackground ) const = 0;
     49       \sa renderLegend() is used by QwtPlotRenderer
     50     */
     51    virtual void renderLegend( QPainter* painter,
     52        const QRectF& rect, bool fillBackground ) const = 0;
    5353
    5454    //! \return True, when no plot item is inserted
    … …  
    5757    virtual int scrollExtent( Qt::Orientation ) const;
    5858
    59 public Q_SLOTS:
     59  public Q_SLOTS:
    6060
    6161    /*!
    62       \brief Update the entries for a plot item
     62       \brief Update the entries for a plot item
    6363
    64       \param itemInfo Info about an item
    65       \param data List of legend entry attributes for the  item
     64       \param itemInfo Info about an item
     65       \param data List of legend entry attributes for the  item
    6666     */
    67     virtual void updateLegend( const QVariant &itemInfo,
    68         const QList<QwtLegendData> &data ) = 0;
     67    virtual void updateLegend( const QVariant& itemInfo,
     68        const QList< QwtLegendData >& data ) = 0;
    6969};
    7070
Note: See TracChangeset for help on using the changeset viewer.