itom 2.2.1
itomQDoubleSpinBox Class Reference

List of all members.

Public Types

typedef QDoubleSpinBox Superclass

Public Member Functions

 itomQDoubleSpinBox (DoubleSpinBoxPrivate *pimpl, QWidget *widget)
void setInvertedControls (bool invertedControls)
bool invertedControls () const
virtual void stepBy (int steps)
virtual QLineEdit * lineEdit () const
virtual double valueFromText (const QString &text) const
virtual QString textFromValue (double value) const
virtual int decimalsFromText (const QString &text) const
virtual QValidator::State validate (QString &input, int &pos) const
void initStyleOptionSpinBox (QStyleOptionSpinBox *option)
 Expose publicly QAbstractSpinBox::initStyleOption()

Protected Member Functions

void focusOutEvent (QFocusEvent *event)
virtual StepEnabled stepEnabled () const

Protected Attributes

DoubleSpinBoxPrivate *const d_ptr
bool InvertedControls

Properties

bool invertedControls

Private Member Functions

 Q_DECLARE_PRIVATE (DoubleSpinBox)
 Q_DISABLE_COPY (itomQDoubleSpinBox)

Member Function Documentation

QLineEdit * itomQDoubleSpinBox::lineEdit ( ) const [virtual]

Expose lineEdit() publicly.

See also:
QAbstractSpinBox::lineEdit()
void itomQDoubleSpinBox::stepBy ( int  steps) [virtual]

Overrides QDoubleSpinBox::stepBy(int) and negates the step number if the invertedControls property is true.

QAbstractSpinBox::StepEnabled itomQDoubleSpinBox::stepEnabled ( ) const [protected, virtual]

If the invertedControls property is false (by default) then this function behavesLike QDoubleSpinBox::stepEnabled(). If the property is true then stepping down is allowed if the value is less then the maximum, and stepping up is allowed if the value is greater then the minimum.


Property Documentation

bool itomQDoubleSpinBox::invertedControls [read, write]

This property controls whether decreasing the value by the mouse button or mouse wheel increases the value of the widget, and inverts the control similarly in the other way round or not. The property is switched off by default.

See also:
invertedControls(), setInvertedControls()

The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Friends