|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Enum
com.trolltech.qt.gui.QAbstractSpinBox.CorrectionMode
public static final class QAbstractSpinBox.CorrectionMode
This enum type describes the mode the spinbox will use to correct an Intermediate
value if editing finishes.
correctionMode
.
Field Summary | |
---|---|
static QAbstractSpinBox.CorrectionMode |
CorrectToNearestValue
The spinbox will revert to the nearest valid value. |
static QAbstractSpinBox.CorrectionMode |
CorrectToPreviousValue
The spinbox will revert to the last valid value. |
Method Summary | |
---|---|
static QAbstractSpinBox.CorrectionMode |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QAbstractSpinBox.CorrectionMode |
valueOf(java.lang.String name)
|
static QAbstractSpinBox.CorrectionMode[] |
values()
|
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final QAbstractSpinBox.CorrectionMode CorrectToPreviousValue
public static final QAbstractSpinBox.CorrectionMode CorrectToNearestValue
Method Detail |
---|
public static QAbstractSpinBox.CorrectionMode[] values()
public static QAbstractSpinBox.CorrectionMode valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QAbstractSpinBox.CorrectionMode resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |