|
|||||||||
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.QGraphicsScene.SceneLayer
public static final class QGraphicsScene.SceneLayer
This enum describes the rendering layers in a QGraphicsScene
. When QGraphicsScene
draws the scene contents, it renders each of these layers separately, in order.
Each layer represents a flag that can be OR'ed together when calling functions such as invalidate()
or QGraphicsView::invalidateScene()
.
invalidate()
, and QGraphicsView::invalidateScene()
.
Field Summary | |
---|---|
static QGraphicsScene.SceneLayer |
AllLayers
All layers; this value represents a combination of all three layers. |
static QGraphicsScene.SceneLayer |
BackgroundLayer
The background layer. |
static QGraphicsScene.SceneLayer |
ForegroundLayer
The foreground layer. |
static QGraphicsScene.SceneLayer |
ItemLayer
The item layer. |
Method Summary | |
---|---|
static QGraphicsScene.SceneLayers |
createQFlags(QGraphicsScene.SceneLayer[] values)
|
static QGraphicsScene.SceneLayer |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QGraphicsScene.SceneLayer |
valueOf(java.lang.String name)
|
static QGraphicsScene.SceneLayer[] |
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 QGraphicsScene.SceneLayer ItemLayer
QGraphicsScene
renders all items are in this layer by calling the virtual function drawItems()
. The item layer is drawn after the background layer, but before the foreground layer.
public static final QGraphicsScene.SceneLayer BackgroundLayer
QGraphicsScene
renders the scene's background in this layer by calling the virtual function drawBackground()
. The background layer is drawn first of all layers.
public static final QGraphicsScene.SceneLayer ForegroundLayer
QGraphicsScene
renders the scene's foreground in this layer by calling the virtual function drawForeground()
. The foreground layer is drawn last of all layers.
public static final QGraphicsScene.SceneLayer AllLayers
Method Detail |
---|
public static QGraphicsScene.SceneLayer[] values()
public static QGraphicsScene.SceneLayer valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QGraphicsScene.SceneLayers createQFlags(QGraphicsScene.SceneLayer[] values)
public static QGraphicsScene.SceneLayer resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |