Changeset 9383 in ntrip for trunk/BNC/qwt/qwt_knob.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_knob.h

    r8127 r9383  
    2626  The layout of the knob depends on the knobWidth().
    2727
    28   - width > 0 
     28  - width > 0
    2929    The diameter of the knob is fixed and the knob is aligned
    30     according to the alignment() flags inside of the contentsRect(). 
     30    according to the alignment() flags inside of the contentsRect().
    3131
    3232  - width <= 0
     
    3636  Setting a fixed knobWidth() is helpful to align several knobs with different
    3737  scale labels.
    38  
     38
    3939  \image html knob.png
    4040*/
     
    5656
    5757public:
    58     /*! 
     58    /*!
    5959       \brief Style of the knob surface
    6060
     
    7272        Raised,
    7373
    74         /*! 
     74        /*!
    7575          Build a gradient from QPalette::Midlight, QPalette::Button
    7676          and QPalette::Midlight
     
    7878        Sunken,
    7979
    80         /*! 
     80        /*!
    8181          Build a radial gradient from QPalette::Button
    8282          like it is used for QDial in various Qt styles.
     
    8787    /*!
    8888        \brief Marker type
    89  
     89
    9090        The marker indicates the current value on the knob
    9191        The default setting is a Notch marker.
     
    9393        \sa setMarkerStyle(), setMarkerSize()
    9494    */
    95     enum MarkerStyle 
    96     { 
     95    enum MarkerStyle
     96    {
    9797        //! Don't paint any marker
    9898        NoMarker = -1,
    9999
    100100        //! Paint a single tick in QPalette::ButtonText color
    101         Tick, 
     101        Tick,
    102102
    103103        //! Paint a triangle in QPalette::ButtonText color
    104         Triangle, 
     104        Triangle,
    105105
    106106        //! Paint a circle in QPalette::ButtonText color
    107         Dot, 
     107        Dot,
    108108
    109         /*! 
     109        /*!
    110110          Draw a raised ellipse with a gradient build from
    111111          QPalette::Light and QPalette::Mid
    112          */ 
    113         Nub, 
     112         */
     113        Nub,
    114114
    115         /*! 
     115        /*!
    116116          Draw a sunken ellipse with a gradient build from
    117117          QPalette::Light and QPalette::Mid
    118          */ 
    119         Notch 
     118         */
     119        Notch
    120120    };
    121121
     
    138138    KnobStyle knobStyle() const;
    139139
    140     void setBorderWidth( int bw );
     140    void setBorderWidth( int );
    141141    int borderWidth() const;
    142142
     
    165165    virtual void drawFocusIndicator( QPainter * ) const;
    166166
    167     virtual void drawMarker( QPainter *, 
    168         const QRectF &, double arc ) const;
     167    virtual void drawMarker( QPainter *,
     168        const QRectF &, double angle ) const;
    169169
    170170    virtual double scrolledTo( const QPoint & ) const;
Note: See TracChangeset for help on using the changeset viewer.