47    if ( qobject_cast<QgsSpinBox *>( sipCpp ) )
 
   48      sipType = sipType_QgsSpinBox;
 
   55    Q_PROPERTY( 
bool showClearButton READ showClearButton WRITE setShowClearButton )
 
   56    Q_PROPERTY( 
bool clearValue READ clearValue WRITE setClearValue )
 
   57    Q_PROPERTY( 
bool expressionsEnabled READ expressionsEnabled WRITE setExpressionsEnabled )
 
   80    void setShowClearButton( 
bool showClearButton );
 
   93    void setExpressionsEnabled( 
bool enabled );
 
  103    void clear() 
override;
 
  111    void setClearValue( 
int customValue, 
const QString &clearValueText = QString() );
 
  118    void setClearValueMode( ClearValueMode mode, 
const QString &clearValueText = QString() );
 
  124    int clearValue() 
const;
 
  130    void setLineEditAlignment( Qt::Alignment alignment );
 
  137    void setSpecialValueText( 
const QString &txt );
 
  139    int valueFromText( 
const QString &text ) 
const override;
 
  140    QValidator::State validate( QString &input, 
int &pos ) 
const override;
 
  141    void stepBy( 
int steps ) 
override;
 
  151    int editingTimeoutInterval() 
const;
 
  164    void setEditingTimeoutInterval( 
int timeout );
 
  196    void changeEvent( QEvent *event ) 
override;
 
  197    void paintEvent( QPaintEvent *event ) 
override;
 
  198    void wheelEvent( QWheelEvent *event ) 
override;
 
  202    void timerEvent( QTimerEvent *event ) 
override;
 
  203    void focusOutEvent( QFocusEvent *event ) 
override;
 
  206    void changed( 
int value );
 
  207    void onLastEditTimeout();
 
  210    int frameWidth() 
const;
 
  211    bool shouldShowClearForValue( 
int value ) 
const;
 
  213    QgsSpinBoxLineEdit *mLineEdit = 
nullptr;
 
  215    bool mShowClearButton = 
true;
 
  217    int mCustomClearValue = 0;
 
  219    bool mExpressionsEnabled = 
true;
 
  221    QTimer *mLastEditTimer = 
nullptr;
 
  222    bool mHasEmittedEditTimeout = 
false;
 
  223    int mLastEditTimeoutValue = 0;
 
  225    QString stripped( 
const QString &originalText ) 
const;
 
  227    friend class TestQgsRangeWidgetWrapper;