Changeset 11158 in ntrip for trunk/BNC/qwt/qwt_arrow_button.h


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

    r9383 r11158  
    1 /* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
     1/******************************************************************************
    22 * Qwt Widget Library
    33 * Copyright (C) 1997   Josef Wilgen
    … …  
    1515
    1616/*!
    17   \brief Arrow Button
     17   \brief Arrow Button
    1818
    19   A push button with one or more filled triangles on its front.
    20   An Arrow button can have 1 to 3 arrows in a row, pointing
    21   up, down, left or right.
    22 */
     19   A push button with one or more filled triangles on its front.
     20   An Arrow button can have 1 to 3 arrows in a row, pointing
     21   up, down, left or right.
     22 */
    2323class QWT_EXPORT QwtArrowButton : public QPushButton
    2424{
    25 public:
    26     explicit QwtArrowButton ( int num, Qt::ArrowType, QWidget *parent = NULL );
     25  public:
     26    explicit QwtArrowButton ( int num, Qt::ArrowType, QWidget* parent = NULL );
    2727    virtual ~QwtArrowButton();
    2828
    … …  
    3030    int num() const;
    3131
    32     virtual QSize sizeHint() const;
    33     virtual QSize minimumSizeHint() const;
     32    virtual QSize sizeHint() const QWT_OVERRIDE;
     33    virtual QSize minimumSizeHint() const QWT_OVERRIDE;
    3434
    35 protected:
    36     virtual void paintEvent( QPaintEvent *event );
     35  protected:
     36    virtual void paintEvent( QPaintEvent*) QWT_OVERRIDE;
     37    virtual void keyPressEvent( QKeyEvent* ) QWT_OVERRIDE;
    3738
    38     virtual void drawButtonLabel( QPainter * );
    39     virtual void drawArrow( QPainter *,
    40         const QRect &, Qt::ArrowType ) const;
     39    virtual void drawButtonLabel( QPainter* );
     40    virtual void drawArrow( QPainter*,
     41        const QRect&, Qt::ArrowType ) const;
    4142    virtual QRect labelRect() const;
    4243    virtual QSize arrowSize( Qt::ArrowType,
    43         const QSize &boundingSize ) const;
     44        const QSize& boundingSize ) const;
    4445
    45     virtual void keyPressEvent( QKeyEvent * );
    46 
    47 private:
     46  private:
    4847    class PrivateData;
    49     PrivateData *d_data;
     48    PrivateData* m_data;
    5049};
    5150
Note: See TracChangeset for help on using the changeset viewer.