[][src]Struct qt_widgets::q_widget::RenderFlag

#[repr(transparent)]
pub struct RenderFlag(_);

This enum describes how to render the widget when calling QWidget::render().

C++ enum: QWidget::RenderFlag.

C++ documentation:

This enum describes how to render the widget when calling QWidget::render().

This enum was introduced or modified in Qt 4.3.

The RenderFlags type is a typedef for QFlags<RenderFlag>. It stores an OR combination of RenderFlag values.

Methods

impl RenderFlag[src]

pub fn to_int(&self) -> c_int[src]

impl RenderFlag[src]

pub const DrawWindowBackground: RenderFlag[src]

If you enable this option, the widget's background is rendered into the target even if autoFillBackground is not set. By default, this option is enabled. (C++ enum variant: DrawWindowBackground = 1)

pub const DrawChildren: RenderFlag[src]

If you enable this option, the widget's children are rendered recursively into the target. By default, this option is enabled. (C++ enum variant: DrawChildren = 2)

pub const IgnoreMask: RenderFlag[src]

If you enable this option, the widget's QWidget::mask() is ignored when rendering into the target. By default, this option is disabled. (C++ enum variant: IgnoreMask = 4)

Trait Implementations

impl<T: Into<QFlags<RenderFlag>>> BitOr<T> for RenderFlag[src]

type Output = QFlags<RenderFlag>

The resulting type after applying the | operator.

impl Clone for RenderFlag[src]

impl Copy for RenderFlag[src]

impl Debug for RenderFlag[src]

impl Eq for RenderFlag[src]

impl From<RenderFlag> for c_int[src]

impl From<RenderFlag> for QFlags<RenderFlag>[src]

impl From<i32> for RenderFlag[src]

impl PartialEq<RenderFlag> for RenderFlag[src]

impl StructuralEq for RenderFlag[src]

impl StructuralPartialEq for RenderFlag[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.