Compatibility Members for QSpinBox

The following members of class QSpinBoxare part of the Qt compatibility layer. We advise against using them in new code.

Public Functions

QSpinBox(QWidget * parent, const char * name)
QSpinBox(int minimum, int maximum, int step, QWidget * parent, const char * name = 0)
int maxValue() const
int minValue() const
void setLineStep(int step)
void setMaxValue(int value)
void setMinValue(int value)
  • 57 public functions inherited from QWidget
  • 8 public functions inherited from QObject
  • 8 public functions inherited from QPaintDevice

Member Function Documentation

QSpinBox::QSpinBox(QWidget * parent, const char * name)

Use one of the constructors that doesn't take the name argument and then use setObjectName() instead.

QSpinBox::QSpinBox(int minimum, int maximum, int step, QWidget * parent, const char * name = 0)

Use one of the constructors that doesn't take the name argument and then use setObjectName() instead.

int QSpinBox::maxValue() const

Use maximum() instead.

See also setMaxValue().

int QSpinBox::minValue() const

Use minimum() instead.

See also setMinValue().

void QSpinBox::setLineStep(int step)

Use setSingleStep() instead.

void QSpinBox::setMaxValue(int value)

Use setMaximum() instead.

See also maxValue().

void QSpinBox::setMinValue(int value)

Use setMinimum() instead.

See also minValue().

© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.