com.trolltech.qt.gui
Class QTextOption.Flag

java.lang.Object
  extended by java.lang.Enum
      extended by com.trolltech.qt.gui.QTextOption.Flag
All Implemented Interfaces:
QtEnumerator, java.io.Serializable, java.lang.Comparable
Enclosing class:
QTextOption

public static final class QTextOption.Flag
extends java.lang.Enum
implements QtEnumerator

See Also:
Serialized Form

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)
          This function creates a com.trolltech.qt.gui.QTextOption$Flags with the specified com.trolltech.qt.gui.QTextOption$Flag[] QTextOption$Flag values set.
static QTextOption.Flag resolve(int value)
          Returns the QTextOption$Flag constant with the specified int.
 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

ShowTabsAndSpaces

public static final QTextOption.Flag ShowTabsAndSpaces
Visualize spaces with little dots, and tabs with little arrows.


ShowLineAndParagraphSeparators

public static final QTextOption.Flag ShowLineAndParagraphSeparators
Visualize line and paragraph separators with appropriate symbol characters.


AddSpaceForLineAndParagraphSeparators

public static final QTextOption.Flag AddSpaceForLineAndParagraphSeparators
While determining the line-break positions take into account the space added for drawing a separator character.


SuppressColors

public static final QTextOption.Flag SuppressColors
Suppress all color changes in the character formats (except the main selection).


IncludeTrailingSpaces

public static final 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.

Method Detail

values

public static QTextOption.Flag[] values()

valueOf

public static QTextOption.Flag valueOf(java.lang.String name)

value

public int value()
This function should return an integer value for the enum values of the enumeration that implements this interface.

Specified by:
value in interface QtEnumerator

createQFlags

public static QTextOption.Flags createQFlags(QTextOption.Flag[] values)
This function creates a com.trolltech.qt.gui.QTextOption$Flags with the specified com.trolltech.qt.gui.QTextOption$Flag[] QTextOption$Flag values set.


resolve

public static QTextOption.Flag resolve(int value)
Returns the QTextOption$Flag constant with the specified int.