|
|||||||||
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.SizeMode
public static final class Qt.SizeMode
This enum is used by QPainter::drawRoundedRect()
and QPainterPath::addRoundedRect()
functions to specify the radii of rectangle corners with respect to the dimensions of the bounding rectangles specified.
Field Summary | |
---|---|
static Qt.SizeMode |
AbsoluteSize
Specifies the size using absolute measurements. |
static Qt.SizeMode |
RelativeSize
Specifies the size relative to the bounding rectangle, typically using percentage measurements. |
Method Summary | |
---|---|
static Qt.SizeMode |
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.SizeMode |
valueOf(java.lang.String name)
|
static Qt.SizeMode[] |
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.SizeMode AbsoluteSize
public static final Qt.SizeMode RelativeSize
Method Detail |
---|
public static Qt.SizeMode[] values()
public static Qt.SizeMode valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static Qt.SizeMode resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |