Changeset 8127 in ntrip for trunk/BNC/qwt/qwt_magnifier.h


Ignore:
Timestamp:
May 10, 2017, 3:20:54 PM (7 years ago)
Author:
stoecker
Message:

update qwt and qwtpolar, many QT5 fixes (unfinished)

File:
1 edited

Legend:

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

    r4271 r8127  
    4343    double mouseFactor() const;
    4444
    45     void setMouseButton( int button, int buttonState = Qt::NoButton );
    46     void getMouseButton( int &button, int &buttonState ) const;
     45    void setMouseButton( Qt::MouseButton, Qt::KeyboardModifiers = Qt::NoModifier );
     46    void getMouseButton( Qt::MouseButton &, Qt::KeyboardModifiers & ) const;
    4747
    4848    // mouse wheel
     
    5050    double wheelFactor() const;
    5151
    52     void setWheelButtonState( int buttonState );
    53     int wheelButtonState() const;
     52    void setWheelModifiers( Qt::KeyboardModifiers );
     53    Qt::KeyboardModifiers wheelModifiers() const;
    5454
    5555    // keyboard
     
    5757    double keyFactor() const;
    5858
    59     void setZoomInKey( int key, int modifiers );
    60     void getZoomInKey( int &key, int &modifiers ) const;
     59    void setZoomInKey( int key, Qt::KeyboardModifiers = Qt::NoModifier );
     60    void getZoomInKey( int &key, Qt::KeyboardModifiers & ) const;
    6161
    62     void setZoomOutKey( int key, int modifiers );
    63     void getZoomOutKey( int &key, int &modifiers ) const;
     62    void setZoomOutKey( int key, Qt::KeyboardModifiers = Qt::NoModifier );
     63    void getZoomOutKey( int &key, Qt::KeyboardModifiers & ) const;
    6464
    6565    virtual bool eventFilter( QObject *, QEvent * );
Note: See TracChangeset for help on using the changeset viewer.