|
|||||||||
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.QRubberBand.Shape
public static final class QRubberBand.Shape
This enum specifies what shape a QRubberBand
should have. This is a drawing hint that is passed down to the style system, and can be interpreted by each QStyle
.
Field Summary | |
---|---|
static QRubberBand.Shape |
Line
A QRubberBand can represent a vertical or horizontal line. |
static QRubberBand.Shape |
Rectangle
A QRubberBand can represent a rectangle. |
Method Summary | |
---|---|
static QRubberBand.Shape |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QRubberBand.Shape |
valueOf(java.lang.String name)
|
static QRubberBand.Shape[] |
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 QRubberBand.Shape Line
QRubberBand
can represent a vertical or horizontal line. Geometry is still given in rect() and the line will fill the given geometry on most styles.
public static final QRubberBand.Shape Rectangle
QRubberBand
can represent a rectangle. Some styles will interpret this as a filled (often semi-transparent) rectangle, or a rectangular outline.
Method Detail |
---|
public static QRubberBand.Shape[] values()
public static QRubberBand.Shape valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QRubberBand.Shape resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |