|
|||||||||
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.QTextOption.Flag
public static final class QTextOption.Flag
Field Summary | |
---|---|
static QTextOption.Flag |
AddSpaceForLineAndParagraphSeparators
While determining the line-break positions take into account the space added for drawing a separator character. |
static QTextOption.Flag |
IncludeTrailingSpaces
When this option is set, QTextLine::naturalTextWidth() and naturalTextRect() will return a value that includes the width of trailing spaces in the text; otherwise this width is excluded. |
static QTextOption.Flag |
ShowLineAndParagraphSeparators
Visualize line and paragraph separators with appropriate symbol characters. |
static QTextOption.Flag |
ShowTabsAndSpaces
Visualize spaces with little dots, and tabs with little arrows. |
static QTextOption.Flag |
SuppressColors
Suppress all color changes in the character formats (except the main selection). |
Method Summary | |
---|---|
static QTextOption.Flags |
createQFlags(QTextOption.Flag[] values)
|
static QTextOption.Flag |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QTextOption.Flag |
valueOf(java.lang.String name)
|
static QTextOption.Flag[] |
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 QTextOption.Flag ShowTabsAndSpaces
public static final QTextOption.Flag ShowLineAndParagraphSeparators
public static final QTextOption.Flag AddSpaceForLineAndParagraphSeparators
public static final QTextOption.Flag SuppressColors
public static final QTextOption.Flag IncludeTrailingSpaces
QTextLine::naturalTextWidth()
and naturalTextRect() will return a value that includes the width of trailing spaces in the text; otherwise this width is excluded.
Method Detail |
---|
public static QTextOption.Flag[] values()
public static QTextOption.Flag valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QTextOption.Flags createQFlags(QTextOption.Flag[] values)
public static QTextOption.Flag resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |