|
|||||||||
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.QGraphicsView.ViewportAnchor
public static final class QGraphicsView.ViewportAnchor
This enums describe the possible anchors that QGraphicsView
can use when the user resizes the view or when the view is transformed.
resizeAnchor
, and transformationAnchor
.
Field Summary | |
---|---|
static QGraphicsView.ViewportAnchor |
AnchorUnderMouse
The point under the mouse is used as the anchor. |
static QGraphicsView.ViewportAnchor |
AnchorViewCenter
The scene point at the center of the view is used as the anchor. |
static QGraphicsView.ViewportAnchor |
NoAnchor
No anchor, i.e. |
Method Summary | |
---|---|
static QGraphicsView.ViewportAnchor |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QGraphicsView.ViewportAnchor |
valueOf(java.lang.String name)
|
static QGraphicsView.ViewportAnchor[] |
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 QGraphicsView.ViewportAnchor NoAnchor
public static final QGraphicsView.ViewportAnchor AnchorViewCenter
public static final QGraphicsView.ViewportAnchor AnchorUnderMouse
Method Detail |
---|
public static QGraphicsView.ViewportAnchor[] values()
public static QGraphicsView.ViewportAnchor valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QGraphicsView.ViewportAnchor resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |