[−][src]Struct qt_widgets::q_graphics_scene::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.
C++ enum: 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().
This enum was introduced or modified in Qt 4.3.
The SceneLayers type is a typedef for QFlags<SceneLayer>. It stores an OR combination of SceneLayer values.
See also invalidate() and QGraphicsView::invalidateScene().
Methods
impl SceneLayer
[src]
impl SceneLayer
[src]
pub const ItemLayer: SceneLayer
[src]
The item layer. 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. (C++ enum variant: ItemLayer = 1
)
pub const BackgroundLayer: SceneLayer
[src]
The background layer. QGraphicsScene renders the scene's background in this layer by calling the virtual function drawBackground(). The background layer is drawn first of all layers. (C++ enum variant: BackgroundLayer = 2
)
pub const ForegroundLayer: SceneLayer
[src]
The foreground layer. QGraphicsScene renders the scene's foreground in this layer by calling the virtual function drawForeground(). The foreground layer is drawn last of all layers. (C++ enum variant: ForegroundLayer = 4
)
pub const AllLayers: SceneLayer
[src]
All layers; this value represents a combination of all three layers. (C++ enum variant: AllLayers = 65535
)
Trait Implementations
impl<T: Into<QFlags<SceneLayer>>> BitOr<T> for SceneLayer
[src]
type Output = QFlags<SceneLayer>
The resulting type after applying the |
operator.
fn bitor(self, rhs: T) -> QFlags<SceneLayer>
[src]
impl Clone for SceneLayer
[src]
fn clone(&self) -> SceneLayer
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SceneLayer
[src]
impl Debug for SceneLayer
[src]
impl Eq for SceneLayer
[src]
impl From<SceneLayer> for c_int
[src]
fn from(value: SceneLayer) -> Self
[src]
impl From<SceneLayer> for QFlags<SceneLayer>
[src]
fn from(value: SceneLayer) -> Self
[src]
impl From<i32> for SceneLayer
[src]
impl PartialEq<SceneLayer> for SceneLayer
[src]
fn eq(&self, other: &SceneLayer) -> bool
[src]
fn ne(&self, other: &SceneLayer) -> bool
[src]
impl StructuralEq for SceneLayer
[src]
impl StructuralPartialEq for SceneLayer
[src]
Auto Trait Implementations
impl RefUnwindSafe for SceneLayer
impl Send for SceneLayer
impl Sync for SceneLayer
impl Unpin for SceneLayer
impl UnwindSafe for SceneLayer
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,