src/gui/widgets/qabstractspinbox_p.h
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
    96     QAbstractSpinBoxPrivate();
    96     QAbstractSpinBoxPrivate();
    97     ~QAbstractSpinBoxPrivate();
    97     ~QAbstractSpinBoxPrivate();
    98 
    98 
    99     void init();
    99     void init();
   100     void reset();
   100     void reset();
   101     void updateState(bool up);
   101     void updateState(bool up, bool fromKeyboard = false);
   102     QString stripped(const QString &text, int *pos = 0) const;
   102     QString stripped(const QString &text, int *pos = 0) const;
   103     bool specialValue() const;
   103     bool specialValue() const;
   104     virtual QVariant getZeroVariant() const;
   104     virtual QVariant getZeroVariant() const;
   105     virtual void setRange(const QVariant &min, const QVariant &max);
   105     virtual void setRange(const QVariant &min, const QVariant &max);
   106     void setValue(const QVariant &val, EmitPolicy ep, bool updateEdit = true);
   106     void setValue(const QVariant &val, EmitPolicy ep, bool updateEdit = true);
   127     QLineEdit *edit;
   127     QLineEdit *edit;
   128     QString prefix, suffix, specialValueText;
   128     QString prefix, suffix, specialValueText;
   129     QVariant value, minimum, maximum, singleStep;
   129     QVariant value, minimum, maximum, singleStep;
   130     QVariant::Type type;
   130     QVariant::Type type;
   131     int spinClickTimerId, spinClickTimerInterval, spinClickThresholdTimerId, spinClickThresholdTimerInterval;
   131     int spinClickTimerId, spinClickTimerInterval, spinClickThresholdTimerId, spinClickThresholdTimerInterval;
       
   132     int effectiveSpinRepeatRate;
   132     uint buttonState;
   133     uint buttonState;
   133     mutable QString cachedText;
   134     mutable QString cachedText;
   134     mutable QVariant cachedValue;
   135     mutable QVariant cachedValue;
   135     mutable QValidator::State cachedState;
   136     mutable QValidator::State cachedState;
   136     mutable QSize cachedSizeHint, cachedMinimumSizeHint;
   137     mutable QSize cachedSizeHint, cachedMinimumSizeHint;