|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Enum
com.trolltech.qt.core.QTextStream.NumberFlag
public static final class QTextStream.NumberFlag
This enum specifies various flags that can be set to affect the output of integers, floats, and doubles.
setNumberFlags()
.
Field Summary | |
---|---|
static QTextStream.NumberFlag |
ForcePoint
Always put the decimal separator in numbers, even if there are no decimals. |
static QTextStream.NumberFlag |
ForceSign
Always put the sign in numbers, even for positive numbers. |
static QTextStream.NumberFlag |
ShowBase
Show the base as a prefix if the base is 16 ("0x"), 8 ("0"), or 2 ("0b"). |
static QTextStream.NumberFlag |
UppercaseBase
Use uppercase versions of base prefixes ("0X", "0B"). |
static QTextStream.NumberFlag |
UppercaseDigits
Use uppercase letters for expressing digits 10 to 35 instead of lowercase. |
Method Summary | |
---|---|
static QTextStream.NumberFlags |
createQFlags(QTextStream.NumberFlag[] values)
|
static QTextStream.NumberFlag |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QTextStream.NumberFlag |
valueOf(java.lang.String name)
|
static QTextStream.NumberFlag[] |
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 QTextStream.NumberFlag ShowBase
public static final QTextStream.NumberFlag ForcePoint
public static final QTextStream.NumberFlag ForceSign
public static final QTextStream.NumberFlag UppercaseBase
public static final QTextStream.NumberFlag UppercaseDigits
Method Detail |
---|
public static QTextStream.NumberFlag[] values()
public static QTextStream.NumberFlag valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QTextStream.NumberFlags createQFlags(QTextStream.NumberFlag[] values)
public static QTextStream.NumberFlag resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |