|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QTextCharFormat.UnderlineStyle>
com.trolltech.qt.gui.QTextCharFormat.UnderlineStyle
public static enum QTextCharFormat.UnderlineStyle
This enum describes the different ways drawing underlined text.
Enum Constant Summary | |
---|---|
DashDotDotLine
Underlines draw drawn using Qt::DashDotDotLine. |
|
DashDotLine
Dashs and dots are drawn using Qt::DashDotLine. |
|
DashUnderline
Dashes are drawn using Qt::DashLine. |
|
DotLine
Dots are drawn using Qt::DotLine; |
|
NoUnderline
Text is draw without any underlining decoration. |
|
SingleUnderline
A line is drawn using Qt::SolidLine. |
|
SpellCheckUnderline
The underline is drawn depending on the QStyle::SH_SpellCeckUnderlineStyle style hint of the QApplication style. |
|
WaveUnderline
The text is underlined using a wave shaped line. |
Method Summary | |
---|---|
static QTextCharFormat.UnderlineStyle |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QTextCharFormat.UnderlineStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QTextCharFormat.UnderlineStyle[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final QTextCharFormat.UnderlineStyle NoUnderline
Text is draw without any underlining decoration.
public static final QTextCharFormat.UnderlineStyle SingleUnderline
A line is drawn using Qt::SolidLine.
public static final QTextCharFormat.UnderlineStyle DashUnderline
Dashes are drawn using Qt::DashLine.
public static final QTextCharFormat.UnderlineStyle DotLine
Dots are drawn using Qt::DotLine;
public static final QTextCharFormat.UnderlineStyle DashDotLine
Dashs and dots are drawn using Qt::DashDotLine.
public static final QTextCharFormat.UnderlineStyle DashDotDotLine
Underlines draw drawn using Qt::DashDotDotLine.
public static final QTextCharFormat.UnderlineStyle WaveUnderline
The text is underlined using a wave shaped line.
public static final QTextCharFormat.UnderlineStyle SpellCheckUnderline
The underline is drawn depending on the QStyle::SH_SpellCeckUnderlineStyle style hint of the QApplication style. By default this is mapped to WaveUnderline, on Mac OS X it is mapped to DashDotLine.
Method Detail |
---|
public static final QTextCharFormat.UnderlineStyle[] values()
for(QTextCharFormat.UnderlineStyle c : QTextCharFormat.UnderlineStyle.values()) System.out.println(c);
public static QTextCharFormat.UnderlineStyle valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic int value()
QtEnumerator
value
in interface QtEnumerator
public static QTextCharFormat.UnderlineStyle resolve(int value)
|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |