|
|||||||||
| 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.Qt.TextElideMode
public static final class Qt.TextElideMode
This enum specifies where the ellipsis should appear when displaying texts that don't fit. Qt::ElideMiddle is normally the most appropriate choice for URLs (e.g., "http://www.troll...ovingto/beijing/"), whereas Qt::ElideRight is appropriate for other strings (e.g., "Deploying Applications on Ma...").
QAbstractItemView::textElideMode, QFontMetrics::elidedText(), AlignmentFlag , and QTabBar::elideMode.
| Field Summary | |
|---|---|
static Qt.TextElideMode |
ElideLeft
The ellipsis should appear at the beginning of the text. |
static Qt.TextElideMode |
ElideMiddle
The ellipsis should appear in the middle of the text. |
static Qt.TextElideMode |
ElideNone
Ellipsis should NOT appear in the text. |
static Qt.TextElideMode |
ElideRight
The ellipsis should appear at the end of the text. |
| Method Summary | |
|---|---|
static Qt.TextElideMode |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static Qt.TextElideMode |
valueOf(java.lang.String name)
|
static Qt.TextElideMode[] |
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 Qt.TextElideMode ElideLeft
public static final Qt.TextElideMode ElideRight
public static final Qt.TextElideMode ElideMiddle
public static final Qt.TextElideMode ElideNone
| Method Detail |
|---|
public static Qt.TextElideMode[] values()
public static Qt.TextElideMode valueOf(java.lang.String name)
public int value()
value in interface QtEnumeratorpublic static Qt.TextElideMode resolve(int value)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||